Normally, in vscode, I can put my cursor over a string literal showing a SonarLint error/problem and right click -> refactor, I only get the option to move it, which doesn’t work. However, if I go to a string literal that DOES NOT have a squiggly underneath it, highlighting and selecting refactor displays the normal java refactoring options.
Hello, welcome to the community!
I managed to reproduce this behavior, probably due to a weird interaction between the Language Servers from SonarLint and from the Java language support extension.
I created a ticket to investigate deeper.
Thank you for reporting this!