Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Neo Vue HelperNew to Visual Studio Code? Get it now.

Neo Vue Helper

Preview

YuTengjing

|
77 installs
| (0) | Free
provide some useful tools for vue project
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Neo Vue Helper

test PRs Welcome Known Vulnerabilities Percentage of issues still open LICENSE

Features

Go to Definition support for .vue sfc file

This is mainly for vue2 and vetur users. Vetur doesn't support jump to a .vue file which ignore the .vue extension in module path. For example:

// complete module path is ./components/button/index.vue
import Button from './components/button';

// complete module path is ./comp.vue
import Comp from './comp';

This extension also fix the vetur another issue: In monorepo project, you can't use Go to Definition for a package which is installed in root but not current workspace.

Go to Definition

By default, this feature is disabled, you need manually enable it:

{
  "neoVueHelper.moduleDefinition.enable": true
}

Every time you change the above setting, you need to reload vscode to take effect.

TODOs

  • [x] go to definition support for vue sfc module without .vue extension and directory index.vue

My other works

  • Open in External App
  • VSCode FE Helper
  • VSCode archive
  • Modify File Warning

Check all here: publishers/YuTengjing

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft