Language Service ✨
The Clawject Language Service provides code editors (VSCode, WebStorm, etc.) with a way to get compile-time errors, suggestions about Beans, Configurations, Imports, etc. It will help you to write code faster and with fewer errors.
tip
Hover on underlined code to see diagnostics
Installation
- npm
- yarn
npm install @clawject/language-service --save-dev
yarn add @clawject/language-service --dev
After adding @clawject/language-service
to your project, you need to configure your editor to use it.
Let's start with adding plugin entry to your tsconfig.json:
{
"compilerOptions": {
"plugins": [
{ "name": "@clawject/language-service" }
]
}
}
Then you need to restart your code-editor or typescript language service,
and it should start using @clawject/language-service
.
If it's not worked for you - you can try to configure your editor manually to use typescript language service: