Add keybings to rename the file and organize imports in typescript

This commit is contained in:
Stéphane Bisinger 2018-10-13 11:41:06 +02:00 committed by Boris Buliga
parent 2d7737cd3e
commit c68c526fd6
No known key found for this signature in database
GPG Key ID: 027328150F064FA8
2 changed files with 4 additions and 0 deletions

View File

@ -143,7 +143,9 @@ You have to install the following dependencies with npm.
| ~SPC m g t~ | jump to entitys type definition |
| ~SPC m g u~ | references |
| ~SPC m h h~ | documentation at point |
| ~SPC m r i~ | organize imports
| ~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 r~ | restart server |

View File

@ -84,7 +84,9 @@
"gt" spacemacs/typescript-jump-to-type-def
"gu" tide-references
"hh" tide-documentation-at-point
"ri" 'tide-organize-imports
"rr" tide-rename-symbol
"rf" 'tide-rename-file
"sr" tide-restart-server)
typescriptList (cons 'typescript-mode keybindingList)
typescriptTsxList (cons 'typescript-tsx-mode