add binding for all the awesome tide refactorings (#15836)

* add binding for all the awesome tide refactorings

I just discovered that with tide and tsserver we have access to many more refactorings than simple rename, like extract constant/function, convert lambda to function, just to name a couple... Let's add a keybinding so everybody can use them easily!

* Update CHANGELOG
This commit is contained in:
Roberto Previdi 2022-12-01 23:25:22 +01:00 committed by GitHub
parent be9b1c89bc
commit bbbea08db2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -130,6 +130,8 @@ the [[file:CHANGELOG.org][CHANGELOG.org]] file.
in Emacs 24.3 to ~timeclock-mode-line-display~ (thanks to Zach Pearson)
- Added =vim-style-enable-undo-region= style variables to enable undo-region
in Vim editing style; disabled by default. (thanks to Benedict HW)
- Added ~SPC m r R~ to show tide refactorings submenu (thanks to Roberto
Previdi)
- Other:
- Support for multiple cursors using =evil-mc= is now encapsulated in the
=multiple-cursors= layer (thanks to Codruț Constantin Gușoi)

View File

@ -40,6 +40,7 @@
"ri" #'tide-organize-imports
"rr" #'tide-rename-symbol
"rf" #'tide-rename-file
"rR" #'tide-refactor
"S" "server"
"Sr" #'tide-restart-server
"Sj" #'spacemacs//tide-create-jsconfig-file))