You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-1Lines changed: 25 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,9 @@ Open the configuration file using the Command Palette `Preferences: LSP-typescri
18
18
To sort or remove unused imports you can trigger the `LSP-typescript: Organize Imports` command from the Command Palette or create a key binding. For example:
19
19
20
20
```json
21
-
{ "keys": ["ctrl+k"], "command": "lsp_execute",
21
+
{
22
+
"keys": ["ctrl+k"],
23
+
"command": "lsp_execute",
22
24
"args": {
23
25
"session_name": "LSP-typescript",
24
26
"command_name": "_typescript.organizeImports",
@@ -27,6 +29,28 @@ To sort or remove unused imports you can trigger the `LSP-typescript: Organize I
27
29
},
28
30
```
29
31
32
+
Optionally you can provide the "mode" option that specifies what type of organization should be performed:
0 commit comments