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
Both options will enable logging from the NetBeans server in the VS Code Output Channel.
126
+
127
+
### Cleaning the Extension
71
128
72
129
Often it is also important to properly clean everything. Use:
73
130
74
131
```bash
75
-
ant clean-vscode-ext
76
-
cd netbeans/
77
-
netbeans$ ant clean
132
+
$ ant clean-vscode-ext
133
+
$ cd netbeans/
134
+
$ ant clean
78
135
```
79
136
80
-
### Testing
137
+
### Testing the Extension
81
138
82
139
The `java.lsp.server` module has classical (as other NetBeans modules) tests.
83
140
The most important one is [ServerTest](https://github.com/apache/netbeans/blob/master/java/java.lsp.server/test/unit/src/org/netbeans/modules/java/lsp/server/protocol/ServerTest.java)
@@ -99,15 +156,20 @@ $ npm_config_https_proxy=http://your.proxy.com:port ant test-vscode-ext
99
156
when executing the tests for the first time. That shall overcome the proxy
100
157
and download an instance of `code` to execute the tests with.
101
158
102
-
## Working with submodules
159
+
## Working with git submodules
160
+
103
161
This project uses [git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) . In particular netbeans and netbeans-l10n are submodules pointing to specific commits in their respective repositories .
162
+
104
163
### Switching Branches
164
+
105
165
Add the --recurse-submodules flag to the git checkout command to update the submodules during the checkout.
106
166
```bash
107
167
git checkout --recurse-submodules <branch_name>
108
168
```
109
169
Note:- Merging branches with submodules pointing to different commits can be tricky. Refer the [git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) for more details on the same.
170
+
110
171
### Changing submodules versions
172
+
111
173
```bash
112
174
# Fetching changes from remote submodule repositories
0 commit comments