-
-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add or remove braces to arrow function #309
Labels
Comments
What's your coc-tsserver version? I'm using 1.8.6. |
Check log of your tsserver https://github.com/neoclide/coc-tsserver#troubleshooting |
coc-codeaction-cursor is recommended |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I cant get this feature to work (or maybe it needs implementation in coc-tsserver?) It should be available in typescript: microsoft/TypeScript#23423
The only option i get is to create a function statement. I want to be able to quickly add braces around an arrow function, e.g. if i have something like:
Then i want to be able to quickly convert that arrow function to a block as such:
vim version: NVIM v0.5.0
node version: v14.17.2
coc.nvim version: 0.0.80-3086844413
coc.nvim directory: /home/linde/.vim/plugged/coc.nvim
term: alacritty
platform: linux
The text was updated successfully, but these errors were encountered: