Moataz-Aldawood commented on code in PR #33:
URL: https://github.com/apache/netbeans-vscode/pull/33#discussion_r3750197307
##########
vscode/package.json:
##########
@@ -284,6 +284,23 @@
"show types of `var`
variables"
]
}
+ },
+ "netbeans.autoScanWorkspace": {
+ "type": "boolean",
+ "default": false,
+ "description": "Automatically scan the
entire workspace for diagnostics (warnings/errors) upon load"
+ },
+ "netbeans.scanExclude": {
+ "type": "array",
+ "default": [
+ "**/node_modules/**",
Review Comment:
another option is to use the standard vscode files.exclude setting in
.code-workspace or settings.json. but even this is not recommended. why? In VS
Code, files.exclude strictly means "Hide this from the file explorer". If we
tied the scanner to that setting, a user who simply wants to declutter their
file tree (by hiding generated sources, for example) would accidentally break
their Java diagnostics because the scanner would silently skip those hidden
files.
So, my final recommendation is to create a dedicated exclusion setting as it
already implemented.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
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