Add keybings to rename the file and organize imports in typescript
This commit is contained in:
parent
2d7737cd3e
commit
c68c526fd6
|
@ -143,7 +143,9 @@ You have to install the following dependencies with npm.
|
||||||
| ~SPC m g t~ | jump to entity’s type definition |
|
| ~SPC m g t~ | jump to entity’s type definition |
|
||||||
| ~SPC m g u~ | references |
|
| ~SPC m g u~ | references |
|
||||||
| ~SPC m h h~ | documentation at point |
|
| ~SPC m h h~ | documentation at point |
|
||||||
|
| ~SPC m r i~ | organize imports
|
||||||
| ~SPC m r r~ | rename symbol |
|
| ~SPC m r r~ | rename symbol |
|
||||||
|
| ~SPC m r f~ | rename file |
|
||||||
| ~SPC m s p~ | send selected region or current buffer to the web playground |
|
| ~SPC m s p~ | send selected region or current buffer to the web playground |
|
||||||
| ~SPC m s r~ | restart server |
|
| ~SPC m s r~ | restart server |
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,9 @@
|
||||||
"gt" spacemacs/typescript-jump-to-type-def
|
"gt" spacemacs/typescript-jump-to-type-def
|
||||||
"gu" tide-references
|
"gu" tide-references
|
||||||
"hh" tide-documentation-at-point
|
"hh" tide-documentation-at-point
|
||||||
|
"ri" 'tide-organize-imports
|
||||||
"rr" tide-rename-symbol
|
"rr" tide-rename-symbol
|
||||||
|
"rf" 'tide-rename-file
|
||||||
"sr" tide-restart-server)
|
"sr" tide-restart-server)
|
||||||
typescriptList (cons 'typescript-mode keybindingList)
|
typescriptList (cons 'typescript-mode keybindingList)
|
||||||
typescriptTsxList (cons 'typescript-tsx-mode
|
typescriptTsxList (cons 'typescript-tsx-mode
|
||||||
|
|
Loading…
Reference in a new issue