mbien commented on code in PR #6974:
URL: https://github.com/apache/netbeans/pull/6974#discussion_r1457857082
##########
java/java.file.launcher/src/org/netbeans/modules/java/file/launcher/queries/MultiSourceRootProvider.java:
##########
@@ -67,9 +67,12 @@
@ServiceProvider(service=ClassPathProvider.class, position=9_999),
@ServiceProvider(service=MultiSourceRootProvider.class)
})
+@Messages({
+ "SETTING_EnableMultiSourceRoot=false"
+})
public class MultiSourceRootProvider implements ClassPathProvider {
- public static boolean DISABLE_MULTI_SOURCE_ROOT = false;
+ public static boolean DISABLE_MULTI_SOURCE_ROOT =
!"true".equals(Bundle.SETTING_EnableMultiSourceRoot());
Review Comment:
@matthiasblaesing this is the NB default which is inverted false -> disable
is set to true.
the property is the branding for the LSP server which I suppose is for the
VSCode use case (which enables it by default).
this is how I understand this at least - I could be wrong.
--
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