You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (JIRA)" <ji...@apache.org> on 2018/04/22 18:02:00 UTC

[jira] [Commented] (NETBEANS-699) Refactoring Tools Servely Disabled for Un-saved Java Code

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

Laszlo Kishalmi commented on NETBEANS-699:
------------------------------------------

It might be Gradle plugin specific. Cannot be reproduced using a Maven/Ant project at the moment.

> Refactoring Tools Servely Disabled for Un-saved Java Code
> ---------------------------------------------------------
>
>                 Key: NETBEANS-699
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-699
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Navigation, editor - Refactoring, java - Navigation, java - Refactoring
>    Affects Versions: 9.0
>         Environment: * gradle clean
> * Purged all Gradle caches
> * Empty cache directory
> 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
>            Reporter: will mason
>            Priority: Critical
>              Labels: CTRL-B, CTRL/Left-Click, Regression, editing, find-usages, navigation, refactoring, searching
>             Fix For: 9.0
>
>         Attachments: image-2018-04-19-12-58-53-652.png, messages.log
>
>
> h2. context
>  * Editing Java code
>  * Wanted to find all usages of a method
> h2. expected / desirable
>  * Select method name
>  * Press *ALT / F7* 
>  * See Usages pop-up
>  * Press *OK*
>  * Review list of uses found.
>  * There is ONE as identified using {{grep}}
>  * I expect Navigation and Refactoring tools to work on ALL files and Open/Active buffers.
>  * Netbeans 8 does not force me to save or save and reopen files to rename a method, or find all usages, etc.
> h2. actual
>  * Pressing *ALT / F7* resulted in the following error:
> {panel:title=ALT / F7 error}
> !image-2018-04-19-12-58-53-652.png!
> {panel}
>  * The method immediately above this line and the method below are both private
>  * I can press *ALT / F7* for those methods, no problem.
>  * In addition navigation isn't working e.g. *CTRL / Left-Mouse-Click* - Jump to source code fails.
>  * But only for that One method.
> _Furthermore_ ...
>  * These operations started / resumed working on the {{isNullSelectedNote()}} method after *Save-*ing the file.
>  * In a great many cases now Navigation and Refactoring operations have Failed.
>  * And later worked / Resumed working later
>  * There is NO CONSISTENT pattern - However most of the time saving the file or All Files eventually the task seems to work (_again_)
>  * On the other hand, sometimes navigation, refactoring operations work fine without forcing me to save a file. 
>  * It is unpredictable - That can be worse than broken  sometimes!
>  * 
> h2. Impact
>  * Had to go to a command line and run grep
>  * That is not helpful for a Public method used across many projects
> h2. supporting information
>  * messages.log
>  * screenshot



--
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