This is an automated email from the ASF dual-hosted git repository.
mbalin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new f7c87baf1f VSNetBeans 14.0.301 documentation changes (#4362)
f7c87baf1f is described below
commit f7c87baf1fe30070bd7a0f6397632b57d4709118
Author: Martin BalĂn <[email protected]>
AuthorDate: Tue Jul 12 09:18:19 2022 +0200
VSNetBeans 14.0.301 documentation changes (#4362)
* VSNetBeans 14.0.301 documentation changes
* Formatting fixed
---
java/java.lsp.server/vscode/CHANGELOG.md | 10 +++++++++-
java/java.lsp.server/vscode/README.md | 12 +++++++++++-
.../vscode/images/SourceCodeFormatter.png | Bin 0 -> 24531 bytes
java/java.lsp.server/vscode/images/javadoc.png | Bin 0 -> 26411 bytes
4 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/java/java.lsp.server/vscode/CHANGELOG.md
b/java/java.lsp.server/vscode/CHANGELOG.md
index 242621ea9b..a41c38359c 100644
--- a/java/java.lsp.server/vscode/CHANGELOG.md
+++ b/java/java.lsp.server/vscode/CHANGELOG.md
@@ -21,7 +21,15 @@
-->
## Version 14.0.301
-* Format Document and Format Selection added.
+* Settings: `NetBeans:UserDir` is set to `Local` as default value. This means
each instance of VSCode runs own VSNetBeans LS
+* Format Document and Format Selection added
+* External formatters using Eclipse, Google and Spring added.
+* JavaDoc completion added
+* Groovy Go To Symbol added
+* Several refactorings added
+* Settings are Remote-SSH aware
+* Native Image debugging provided by GraalVM works now for GraalVM CE and EE
+* Number of bug fixes and improvements in Java, projects and databases support
## Version 14.0
* Workaround for VSCode 1.67 error which breaks Projects explorer icon
diff --git a/java/java.lsp.server/vscode/README.md
b/java/java.lsp.server/vscode/README.md
index 974590303a..718caa6d3e 100644
--- a/java/java.lsp.server/vscode/README.md
+++ b/java/java.lsp.server/vscode/README.md
@@ -120,6 +120,8 @@ Move members refactoring provides dedicated form as well.
* try-catch refactoring
* switch() statement
* while() cycle
+* Inline redundant variable
+* Constructor and method argument refactoring
## Organize Imports
Out of the box support for organizing imports in Java sources is available. It
removes unused imports, groups imports by packages and updates your imports
whenever a file is saved. In addition to the defaults, there is a rich set of
configuration options.
@@ -130,6 +132,14 @@ Go to VSCode `Preferences | Settings` and search for
_NetBeans_ to set `Netbean
* `Groups` - Groups of import statements (specified by their package prefixes)
and their sorting order. Import statements within a group are ordered
alphabetically
And `Netbeans > Java > On Save: Organize Imports` - Enable organize imports
action on a document save
+
+## JavaDoc smart editing
+When adding JavaDoc to code NetBeans assists by suggesting to insert
preformatted and prepopulated JavaDoc comment. Type `/**` above method
signature and IDE offers to complete the JavaDoc. The action creates JavaDoc
comment with all arguments prepared.
+
+
+## Source Code formatting
+Formatting source code is possible using also other styles than NetBeans.
Eclipse, Google and Spring formatters can be used. For Eclipse formatter simply
export settings from Eclipse IDE into standard file and then set `Netbeans >
Format: Settings Path:` in VSCode Settings.
+
## Test Explorer
NetBeans Language Server provides Test Explorer view which allows to run all
tests in a project, examine the results, go to source code and run particular
test.

@@ -137,7 +147,7 @@ NetBeans Language Server provides Test Explorer view which
allows to run all tes
## Native Image Debugger
-NetBeans Language Server allows Java like debugging of native images produced
by GraalVM EE native-image tool. It is provided using GDB and via new Run
configuration named __Launch Native Image__. This experimental feature works
__now__ only on Linux with certain version of GDB, see above. GraalVM
Enterprise Edition is needed as it produces full debug information for native
images, at this time.
+NetBeans Language Server allows Java like debugging of native images produced
by GraalVM native-image tool. It is provided using GDB and via new Run
configuration named __Launch Native Image__. This experimental feature works
__now__ only on Linux with certain version of GDB, see above.
In order to debug native image applications it is necessary to build such
native image with debug information available. It can be done by providing
following switches for native-image tool:
- `-g -O0` or
diff --git a/java/java.lsp.server/vscode/images/SourceCodeFormatter.png
b/java/java.lsp.server/vscode/images/SourceCodeFormatter.png
new file mode 100644
index 0000000000..af4e0d1c57
Binary files /dev/null and
b/java/java.lsp.server/vscode/images/SourceCodeFormatter.png differ
diff --git a/java/java.lsp.server/vscode/images/javadoc.png
b/java/java.lsp.server/vscode/images/javadoc.png
new file mode 100644
index 0000000000..8ebc49a8c8
Binary files /dev/null and b/java/java.lsp.server/vscode/images/javadoc.png
differ
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists