
In our latest Extension Pack for Java, we have started to support this feature. To improve this scenario, the Debug Adapter Protocol has supported the “Step Into Target” feature that displays UI for directly stepping into the function you are interested in.
Debugging – Step Into Targetĭebugging into a statement with many nested function calls can be painful because you might have to step through functions you are not really interested into. Feel free to leave your feedback or comments there. We are continuing to add more improvements around “organize import” scenarios and you can find all our future plans in this GitHub issue. Here’s a demo for all features mentioned above
Add all missing imports from source action menuĪnother way to add all missing imports to right click to pull out the context menu, then select “Source Action”, you will see “Add all missing imports” there as well. If there is an unresolved class, you can also use QuickFix to add all missing imports and pick the classes from the dropdown
We have added this option to the QuickFix (the lightbulb icon) so you can remove all the unused imports all at the same time.
Remove all unused imports from QuickFix. We have made several optimizations regarding this scenario. Organize import is one of the most common actions for Java developers during code editing. We plan to continue adding more postfix shortcuts so stay tuned. The postfix shortcuts we currently support are the following: shortcut keyĬreates a for statement which iterates over an array in reverse orderĬreates an if statement and checks if the expression does not resolve to nullĬreates an if statement which checks if expression resolves to null Through some investigation and changes to the upstream, postfix completion is now available in our latest release. It’s a popular feature in JetBrain products and the community have requested this feature for our extensions as well. Postfix completion lets you add code snippets around an expression you’ve just typed and boosts your productivity. Lastly, we made some visual enhancements to the Spring components, so let’s get into it. In addition, debugger gets a nice update as we support a new feature called “Step Into Target”. Hi everyone, we are excited to share that now there are over two million Java developers on Visual Studio Code, this wouldn’t be possible without all the support from the community and our users, so thank you!įor November update, we are bringing you new code editing feature such as postfix completion, optimized organize import.