Skip to content
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

Support organize imports in vue files with typescript #22

Open
trygveaa opened this issue Nov 23, 2019 · 1 comment
Open

Support organize imports in vue files with typescript #22

trygveaa opened this issue Nov 23, 2019 · 1 comment

Comments

@trygveaa
Copy link

Using organize imports in a .ts file with coc-tsserver is working great. However, if I try to use it in a .vue. file with a <script lang="ts"> section it's not working.

I have tried to run :CocCommand tsserver.organizeImports, but I either get the error [coc.nvim] Command: tsserver.organizeImports not found if I haven't had .ts file open previously, or if I have, nothing happens. If I try to run :CocCommand editor.action.organizeImport, I get the error [coc.nvim] Orgnize import action not found..

Could this be supported?

@chemzqm
Copy link
Member

chemzqm commented Nov 24, 2019

If vetur-vscode have this kind of support, we can support it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants