You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Christian Lenz (Jira)" <ji...@apache.org> on 2021/07/14 19:36:00 UTC

[jira] [Updated] (NETBEANS-5856) Rename dialog comes up everywhere in a TS file

     [ https://issues.apache.org/jira/browse/NETBEANS-5856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Lenz updated NETBEANS-5856:
-------------------------------------
    Summary: Rename dialog comes up everywhere in a TS file  (was: Rename dialog popups everywhere in a TS file)

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