You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Mingun (JIRA)" <ji...@apache.org> on 2019/02/19 10:27:00 UTC

[jira] [Commented] (NETBEANS-722) Code Folding should respect mouse -click location

    [ https://issues.apache.org/jira/browse/NETBEANS-722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16771799#comment-16771799 ] 

Mingun commented on NETBEANS-722:
---------------------------------

When this can be fixed? Jumping editor to cursor location (which mostly far from expanded piece) and expand some folded code is very annoying...

> Code Folding should respect mouse -click location
> -------------------------------------------------
>
>                 Key: NETBEANS-722
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-722
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Code folding
>    Affects Versions: 9.0
>         Environment: Product Version: Apache NetBeans IDE Dev (Build incubator-netbeans-release-205-on-20180202)
> Java: 10; Java HotSpot(TM) 64-Bit Server VM 10+46
> Runtime: Java(TM) SE Runtime Environment 10+46
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_AU (nb)
> User directory: Z:\tmp\.other\user\netbeans\v09.00-beta\FourAbs
> Cache directory: Z:\tmp\.other\cache\netbeans\FourAbs-09
> Plugins:
>   * Netbeans Gradle plugin v1.4.3
>            Reporter: will mason
>            Priority: Major
>              Labels: Regression, cursor, cursor-location, edit-location
>
> h2. context
> *  Editing Java source code
> *  Most Java method signatures are _folded_ (with the code-folding feature) 
> *  Scroll back or forward from the current editing line (previous cursor position)
> *  The previous position has moved off the visible line of code
> h2. expected / desirable
> Based in Netbeans 8.2 behaviour
> *  Click on [*+*] icon to expand a method {code:java} [+] void abcd() { } {code}
> *  Expand method body to this  {code:java} [+]
>       void abcd() { 
>         // something something
>       } 
> {code}
> *  Cursor STAYS on the or near-by the {{abcd()}} method
> h2. actual
> *  Cursor appears to Jump rapidly to the last edit line "previous cursor position"
> *  this is extremely disconcerting every time.
> * It has become extremely annoying in a very short time :(
> * The place -- Line of code or  method -- the user is _actually_ interested in has vanished from the screen
> h2.  Impact
> *  I have not yet thrown my screen out the window
> * this requires NOT only going back to the place in the code you need.
> * You must also remember to click the mouse on that new position line someplace or
> **  You will lose your place again 
> * It may have taken several minutes to find the specific few lines or method you are seeking
> * One may need to scan 1,000-s of lines in collapsed code
> * All these effects are time wasting, unattractive, and off-putting
> * In addition time is money -- My bosses won't like Netbeans becoming less productive.
> Furthermore...
> *  At least in the current Netbeans 9, the ALT-LeftArrow and ALT-RightArrow don't alwasy jump to the context in the current file.  
> * They often skip about throudh recently edited files
> **  Which is Largely the function of the ALT-Tab _imho_.
> * In any case these arrow key functions don't look at were the mouse click for code-unfolding / code-folding happened.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists