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
Copy file name to clipboardExpand all lines: release-notes/v0.5.0.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,49 +27,49 @@ As always, feel free to [tweet us your feedback](https://twitter.com/intent/twee
27
27
28
28
When a symbol is renamed, the correponding source file is also renamed along with all the references.
29
29
30
-

30
+

31
31
32
32
### IntelliCode
33
33
34
34
With the latest update of Visual Studio IntelliCode, you see recommendations (items starts with a star) on top of the default member list. Those members are recommended by looking at the current type info and the code context around it. Try the AI-assisted coding experience by installing [Visual Studio IntelliCode](https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode).
35
35
36
-

36
+

37
37
38
38
### Attach missing sources
39
39
40
40
When you navigate to a class in some library without source code, you can attach the missing source zip/jar using the context menu “Attach Source”.
Logpoints allow you to send output to debug console without editing code. They are different from breakpoints because they do not stop the execution flow of your applications. Check out this blog post for more details on [VS Code logpoints](https://code.visualstudio.com/blogs/2018/07/12/introducing-logpoints-and-auto-attach#_introducing-logpoints) feature.
Don't wanna bother editing `launch.json`? This was made easy by the debugger extension. Now you can click the codelens on top of the `main` function to run or debug your application.
55
55
56
-

56
+

57
57
58
58
## Testing
59
59
60
60
### TestNG
61
61
62
62
TestNG support was added to the newest version of [Java Test Runner](https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-test). Now you can work with TestNG in VS Code.
@@ -79,13 +79,13 @@ In the original implementation of Java Test Runner, the test case info is fully
79
79
80
80
The long anticipated [Java Dependency Viewer](https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-dependency) was released. Now you have a dedicated view of all the packages, classes, and other resources at your fingertip. [Try it now](https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-dependency) if you haven't yet. Have fun!
Copy file name to clipboardExpand all lines: release-notes/v0.6.0.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ IntelliCode works well with popular Java libraries and frameworks like Java SE a
30
30
31
31
In the sample below, some of the completion lists have items marked with ★. These items are the recommendations provided by IntelliCode according to the current code context.
@@ -50,21 +50,21 @@ We improved the support for standalone Java files. If you want to work with Java
50
50
51
51
The solution is folder based, so all you need to do is open a folder, and all the Java files inside will be properly compiled. Then you are free to run or debug them.
What if you have multiple sub-folders that have source code inside and want to go freestyle? We've got you covered too. Just add these folders to source path, then all the code inside will be correctly compiled.
After opening a project folder, some extra files are generated inside the folder. These are the temporary files generated by Java Language Server, which relies on the existence of those files to work properly.
64
64
65
65
Now it's your choice to hide those files in VS Code. When opening a project folder, Java Language Server asks how you want handle those files. You can hide them globally or just within the current workspace, or leave them as-is.
@@ -92,13 +92,13 @@ Please update the extensions to the newest version, and you'll get this improvem
92
92
93
93
Maven extension now provides code snippet to quickly add new dependencies to `pom.xml` files. You also get auto-completion when further completing the dependency info.
Copy file name to clipboardExpand all lines: release-notes/v0.7.0.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,13 +49,13 @@ With the latest release of [Language Server for Java by Red Hat](https://marketp
49
49
50
50
To deal with ambiguous imports, you now have a dropdown list to pick the right one. The code line with the unresolved type is also presented to you to help you decide.
@@ -66,25 +66,25 @@ There are two options for you to customize the generated code:
66
66
- If you use Java 7+, you can set `java.codeGeneration.hashCodeEquals.useJava7Objects` to `true` to generate shorter code which calls `Objects.hash` and `Objects.equals`.
67
67
- You can also set `java.codeGeneration.hashCodeEquals.useInstanceof` to `true` to use `instanceOf` operator to check the object types instead of calling `Object.getClass()`.
@@ -94,19 +94,19 @@ The debugger is now showing the logical structure of lists and maps, instead of
94
94
95
95
If you prefer the physical layout view, you can go back by setting `java.debug.settings.showLogicalStructure` to `false`.
96
96
97
-

97
+

98
98
99
99
### Highlight Exceptions in Editor
100
100
101
101
Exceptions are now highlighted with extra info in the editor window. Before that, you need to hover on the exception to see details. Now the most important info is presented to you right at where it occurs.
102
102
103
-

103
+

104
104
105
105
### Go to Definition by Clicking Stack Trace in Debug Console
106
106
107
107
When there's an exception, you can click on the stack trace to see the definition of the function calls.
108
108
109
-

109
+

110
110
111
111
## Maven
112
112
@@ -116,21 +116,21 @@ Maven extensions released some interesting features and improvements to improve
116
116
117
117
To debug Maven goals, just right click on a goal and start debugging. The Maven extension will call the Java debugger with the right parameters. This is handy and super time-saving.
Maven extension released a new command `Maven: Add a Dependency` (or `maven.project.addDependency`) to help add a new dependency to `pom.xml`. The process is interactive.
If you are experiencing the problem of setting up the JDK, we've got you covered. The JDK Acquisition Guide follows the same logic used by the Java language server to check for a JDK installation on your machine. When the check fails, the guide will automatically show and recommend a JDK distribution that is compatible with your OS and CPU architecture.
0 commit comments