vscode-java icon indicating copy to clipboard operation
vscode-java copied to clipboard

Enhance Hints and Suggestions

Open FelipeKobra opened this issue 1 year ago • 1 comments

I was using the extension for VSCode, and while it provides some helpful hints, I noticed that it lacks several features available in IntelliJ IDEA and other IDEs. One such feature is the suggestion to refactor traditional switch statements into enhanced switch expressions:

        switch (expression) {
            case 1:
                System.out.println("case 1");
                break;
            case 2:
                System.out.println("case 2");
                break;
            default:
                System.out.println("case 3");
                break;
        }

The extension doesn't suggest refactoring it into the enhanced switch expression, which is a useful feature in many modern IDEs. There are other suggestions that even adding SolarQube it doesn't gets so good as some other IDEs suggestions.

I believe adding support for this kinds of features would significantly improve the developer experience in VSCode when using this extension.

FelipeKobra avatar Dec 10 '24 12:12 FelipeKobra