|
122 | 122 | "command": "sortLines.sortLines", |
123 | 123 | "when": "editorTextFocus && !editorReadonly", |
124 | 124 | "group": "sortLines@1" |
| 125 | + }, |
| 126 | + { |
| 127 | + "submenu": "sortLines", |
| 128 | + "when": "editorTextFocus && !editorReadonly", |
| 129 | + "group": "sortLines@2" |
| 130 | + } |
| 131 | + ], |
| 132 | + "sortLines": [ |
| 133 | + { |
| 134 | + "command": "sortLines.sortLines", |
| 135 | + "group": "2_sortLines@1" |
| 136 | + }, |
| 137 | + { |
| 138 | + "command": "sortLines.sortLinesCaseInsensitive", |
| 139 | + "group": "2_sortLines@2" |
| 140 | + }, |
| 141 | + { |
| 142 | + "command": "sortLines.sortLinesCaseInsensitiveUnique", |
| 143 | + "group": "2_sortLines@3" |
| 144 | + }, |
| 145 | + { |
| 146 | + "command": "sortLines.sortLinesReverse", |
| 147 | + "group": "2_sortLines@4" |
| 148 | + }, |
| 149 | + { |
| 150 | + "command": "sortLines.sortLinesLineLength", |
| 151 | + "group": "2_sortLines@5" |
| 152 | + }, |
| 153 | + { |
| 154 | + "command": "sortLines.sortLinesLineLengthReverse", |
| 155 | + "group": "2_sortLines@6" |
| 156 | + }, |
| 157 | + { |
| 158 | + "command": "sortLines.sortLinesVariableLength", |
| 159 | + "group": "2_sortLines@7" |
| 160 | + }, |
| 161 | + { |
| 162 | + "command": "sortLines.sortLinesVariableLengthReverse", |
| 163 | + "group": "2_sortLines@8" |
| 164 | + }, |
| 165 | + { |
| 166 | + "command": "sortLines.sortLinesNatural", |
| 167 | + "group": "2_sortLines@9" |
| 168 | + }, |
| 169 | + { |
| 170 | + "command": "sortLines.sortLinesUnique", |
| 171 | + "group": "2_sortLines@10" |
| 172 | + }, |
| 173 | + { |
| 174 | + "command": "sortLines.removeDuplicateLines", |
| 175 | + "group": "2_sortLines@11" |
| 176 | + }, |
| 177 | + { |
| 178 | + "command": "sortLines.keepOnlyDuplicateLines", |
| 179 | + "group": "2_sortLines@12" |
| 180 | + }, |
| 181 | + { |
| 182 | + "command": "sortLines.sortLinesShuffle", |
| 183 | + "group": "2_sortLines@13" |
125 | 184 | } |
126 | 185 | ] |
127 | | - } |
| 186 | + }, |
| 187 | + "submenus": [ |
| 188 | + { |
| 189 | + "id": "sortLines", |
| 190 | + "label": "Sort lines" |
| 191 | + } |
| 192 | + ] |
128 | 193 | }, |
129 | 194 | "devDependencies": { |
130 | 195 | "@types/glob": "^7.1.1", |
|
0 commit comments