Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/talltotal/vscode-resolve
vscode‘跳转至定义’插件
https://github.com/talltotal/vscode-resolve
go-to-definition vscode-extension
Last synced: about 4 hours ago
JSON representation
vscode‘跳转至定义’插件
- Host: GitHub
- URL: https://github.com/talltotal/vscode-resolve
- Owner: talltotal
- License: mit
- Created: 2019-08-09T03:20:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-24T11:54:01.000Z (over 2 years ago)
- Last Synced: 2023-02-28T23:05:31.707Z (over 1 year ago)
- Topics: go-to-definition, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=talltotal.definition-resolve
- Size: 172 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Definition Resolve
跳转至定义,通过配置,处理路径快速跳转。(同 webpack 配置的 resolve)
> 默认读取工程根目录的`.resolve.conf.js`文件![](./decs.jpg)
## Extension Settings
Include if your extension adds any VS Code settings through the `contributes.configuration` extension point.
For example:
This extension contributes the following settings:
* `DefinitionResolve.open`: true
> Whether to turn on Definition Resolve.
> 是否开启
* `DefinitionResolve.config.file.relative.path`: ".resolve.conf.js"
> Relative path of resolve config file.(support‘js’/‘json’)
> 配置文件的相对路径
* `DefinitionResolve.default.resolve`:
> Default resolve config.($root$ as workspace)
> 在没有配置文件的情况下,使用的默认配置,其中可用‘$root$’作为工程根目录的占位符
```json
{
"extensions": [".js", ".vue", ".json"],
"alias": {
"vue$": "vue/dist/vue.esm.js",
"@": "$root$/src"
}
}
```**Enjoy!**