You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems all file creation related refactorings probably have this issue.
For example, it can also be reproduced with "extract interface". The reason is that the client file event listener will inject duplicated snippet when the file is created by a WorkspaceEdit.
#2938 is a different bug, where the server side searching code generated duplicated results.
Environment
Steps To Reproduce
File f = new File("demo.txt");
in a main method > Code Actions > SelectCreate class xxx
, orCreate interface xxx
, orCreate enum xxx
Current Result
Show the code repeatedly in the new java file.
Expected Result
Only show the code one time
The text was updated successfully, but these errors were encountered: