JaroslavTulach commented on a change in pull request #3317:
URL: https://github.com/apache/netbeans/pull/3317#discussion_r748462022



##########
File path: java/java.lsp.server/vscode/package.json
##########
@@ -108,6 +108,34 @@
                                        "type": "integer",
                                        "default": 100,
                                        "description": "Timeout (in 
milliseconds) for loading Javadoc in code completion (-1 for unlimited)"
+                               },
+                               "netbeans.java.onSave.organizeImports": {
+                                       "type": "boolean",
+                                       "default": true,
+                                       "description": "Enable organize imports 
action on a document save"
+                               },
+                               "netbeans.java.imports.groups": {
+                                       "type": "array",
+                                       "description": "Groups of import 
statements (specified by their package prefixes) and their sorting order. 
Import statements within a group are ordered alphabetically",
+                                       "default": [
+                                               "java",
+                                               "javax",
+                                               "org",
+                                               "com",
+                                               ""
+                                       ]
+                               },
+                               
"netbeans.java.imports.countForUsingStarImport": {

Review comment:
       Do we need an option for wildcard imports at all? It is a bad practice 
to `import ....*` and I'd just not advertise it in settings at all.




-- 
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

Reply via email to