Skip to content

Commit 393c44c

Browse files
committed
Document import order for static members.
- Fixes #711 - Make the default of "" & "#" explicit (change is no-op) so the behaviour is understood Signed-off-by: Roland Grunberg <[email protected]>
1 parent 0015d45 commit 393c44c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,12 +550,14 @@
550550
},
551551
"java.completion.importOrder": {
552552
"type": "array",
553-
"description": "Defines the sorting order of import statements. A package or type name prefix (e.g. 'org.eclipse') is a valid entry. An import is always added to the most specific group.",
553+
"description": "Defines the sorting order of import statements. A package or type name prefix (e.g. 'org.eclipse') is a valid entry. An import is always added to the most specific group. As a result, the empty string (e.g. '') can be used to group all other imports. Static imports are prefixed with a '#'",
554554
"default": [
555+
"#",
555556
"java",
556557
"javax",
557558
"org",
558-
"com"
559+
"com",
560+
""
559561
],
560562
"scope": "window"
561563
},

0 commit comments

Comments
 (0)