Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cristiand391/ts-language-service-plugin-poc
https://github.com/cristiand391/ts-language-service-plugin-poc
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cristiand391/ts-language-service-plugin-poc
- Owner: cristiand391
- Created: 2024-09-18T15:23:20.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-20T18:40:32.000Z (4 months ago)
- Last Synced: 2024-12-08T19:15:32.374Z (about 1 month ago)
- Language: TypeScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ts-language-service-plugin-poc
A TS service language plugin to resolve's sfdx-core's messages from code.
See: https://github.com/microsoft/TypeScript/wiki/Writing-a-Language-Service-PluginThis was done for my team's dev-choice week in 2 days, code needs some polish 😛
### Hover/quick info
https://github.com/user-attachments/assets/7fb26e94-dabf-4155-b481-2dd7e75ec49d
### Go to definition
https://github.com/user-attachments/assets/b46a12d5-b4e9-4c79-b936-a60b5c6ee921
### Testing
1. Clone this repo and install deps (`npm install`)
2. Clone any of our plugin repos like https://github.com/salesforcecli/plugin-org/
2. `cd` in to the repo and install the TS lang plugin: `yarn add --dev file:/path/to/ts-language-service-plugin-poc`
3. Add it in the `plugins` array in the plugin's tsconfig:
```json
"plugins": [{
"name": "@cristiand391/ts-language-service-plugin-poc",
}]
```
See: https://www.typescriptlang.org/tsconfig/#plugins5. enjoy :shipit: