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
When the code completion is used, classes are not automatically imported in the Debug Console:
Set.of(1, 2)
Cannot evaluate because of compilation error(s): Set cannot be resolved.
Environment
Operating System: linux
JDK version: 19.0.1
Visual Studio Code version: 1.72.2
Java extension version: 0.25.3
Java Debugger extension version: 0.45.0
Steps To Reproduce
Create a breakpoint in a Java class;
When the execution is suspended, open the Debug Console and try to create a Set (e.g. Set.of(1, 2)), using the code completion feature. The aforementioned error is shown.
Current Result
Set.of(1, 2)
Cannot evaluate because of compilation error(s): Set cannot be resolved.
When the code completion is used, classes are not automatically imported in the Debug Console:
Environment
Steps To Reproduce
Create a breakpoint in a Java class;
When the execution is suspended, open the Debug Console and try to create a Set (e.g.
Set.of(1, 2)
), using the code completion feature. The aforementioned error is shown.Current Result
Expected Result
Additional Informations
This functionality works out-of-the-box in IntelliJ IDEA. It would be nice to have it also in Visual Studio Code.
The text was updated successfully, but these errors were encountered: