https://github.com/tjx666/neo-vue-helper
some tools for vue project
https://github.com/tjx666/neo-vue-helper
vue
Last synced: 27 days ago
JSON representation
some tools for vue project
- Host: GitHub
- URL: https://github.com/tjx666/neo-vue-helper
- Owner: tjx666
- License: other
- Created: 2022-11-15T16:26:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-16T18:58:30.000Z (over 2 years ago)
- Last Synced: 2025-03-29T22:34:45.907Z (28 days ago)
- Topics: vue
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=YuTengjing.neo-vue-helper
- Size: 723 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Neo Vue Helper
 [](http://makeapullrequest.com) [](https://snyk.io/test/github/tjx666/neo-vue-helper?targetFile=package.json) [](http://isitmaintained.com/project/tjx666/neo-vue-helper) [](https://github.com/996icu/996.ICU/blob/master/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:
```javascript
// 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.

By default, this feature is disabled, you need manually enable it:
```json
{
"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](https://github.com/tjx666/open-in-external-app)
- [VSCode FE Helper](https://github.com/tjx666/vscode-fe-helper)
- [VSCode archive](https://github.com/tjx666/vscode-archive)
- [Modify File Warning](https://github.com/tjx666/modify-file-warning)Check all here: [publishers/YuTengjing](https://marketplace.visualstudio.com/publishers/YuTengjing)