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

Go to file doesn't work when I use alias import module #36

Closed
vinibispo opened this issue May 31, 2020 · 3 comments
Closed

Go to file doesn't work when I use alias import module #36

vinibispo opened this issue May 31, 2020 · 3 comments

Comments

@vinibispo
Copy link


When I use go to file in vue file with alias import module, that doesn't work


Example

import Home from '@/pages/Home'

That returns

E447: Can't find file "/pages/Home" in path

This is my jsconfig.json

{
    "compilerOptions": {
      "baseUrl": ".",
      "paths": {
        "@/*": [
          "src/*"
        ]   
      }   
    }
  }
@pr0xyMity
Copy link

Same problem :(

@vinibispo
Copy link
Author

My solution for that was to use go to definition instead of go to file, because go to file isn't working

@chemzqm
Copy link
Member

chemzqm commented Sep 21, 2020

Issue of vim, not coc.nvim related.

@chemzqm chemzqm closed this as completed Sep 21, 2020
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

3 participants