[
https://issues.apache.org/jira/browse/NETBEANS-5856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Lenz updated NETBEANS-5856:
-------------------------------------
Environment:
Product Version: Apache NetBeans IDE 12.4
Java: 14; OpenJDK 64-Bit Server VM 14+36-1461
Runtime: OpenJDK Runtime Environment 14+36-1461
System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.4
Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.4
> Rename dialog comes up everywhere in a TS file
> ----------------------------------------------
>
> Key: NETBEANS-5856
> URL: https://issues.apache.org/jira/browse/NETBEANS-5856
> Project: NetBeans
> Issue Type: Bug
> Components: editor - Refactoring
> Affects Versions: 12.4
> Environment: Product Version: Apache NetBeans IDE 12.4
> Java: 14; OpenJDK 64-Bit Server VM 14+36-1461
> Runtime: OpenJDK Runtime Environment 14+36-1461
> System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb)
> User directory: C:\Users\Chris\AppData\Roaming\Netbeans\12.4
> Cache directory: C:\Users\Chris\AppData\Local\NetBeans\Cache\12.4
> Reporter: Christian Lenz
> Priority: Major
>
> When I create a typescript file which is empty, I can call the rename dialog
> while hitting ctrl + r everytime. The file doesn't need to be empty, I can
> call it on every column and if the context is not correct, the rename dialog
> is empty.
> Steps to reproduce:
> * Open a clean instance of NetBeans 12.4
> * Create an HTML5 project
> * Right click on the Project -> New -> Other -> Other -> Empty file
> * Call it foo.ts
> * Empty TS File opens
> * Hit ctrl + r
> * Empty rename dialog opens
> What was expected
> In other filetypes when the context is not correct, when I try to hit the
> rename action for example on a new line which is empty, it says: You can't
> call this dialog in this context.
> So I expect this for the whole empty TS file too. It should only open the
> rename dialog, if the context is correct which could be variables, function
> names, classes, interfaces, etc.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists