Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to using LSP #41

Draft
wants to merge 23 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ dist
node_modules
.vscode-test/
*.vsix
vale-ls
vale_bin
.DS_Store
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v22.11.0
3,823 changes: 2,432 additions & 1,391 deletions package-lock.json

Large diffs are not rendered by default.

74 changes: 53 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@
"sponsor": {
"url": "https://github.com/sponsors/ChrisChinchilla"
},
"version": "0.19.0",
"version": "0.23.5",
"engines": {
"vscode": "^1.88.0"
"vscode": "^1.95.0",
"node": ">=20 <=22.11"
},
"categories": [
"Linters"
Expand All @@ -34,12 +35,47 @@
"type": "object",
"title": "Vale",
"properties": {
"vale.valeCLI.config": {
"vale.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
},
"vale.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
},
"vale.valeCLI.configPath": {
"scope": "resource",
"type": "string",
"default": null,
"description": "Absolute path to a Vale config file. If not specified, the default search process will be used (relative to the current file)."
},
"vale.valeCLI.syncOnStartup": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Runs `vale sync` upon starting the language server"
},
"vale.valeCLI.filter": {
"scope": "resource",
"type": "string",
"default": null,
"description": "An output filter to apply when calling Vale."
},
"vale.valeCLI.installVale": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Automatically install and update Vale. If false, the vale executable needs to be available on the user’s $PATH."
},
"vale.valeCLI.path": {
"scope": "resource",
"type": "string",
Expand Down Expand Up @@ -103,29 +139,25 @@
"test-compile": "tsc -p ./"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "^20.12.5",
"@types/nspell": "^2.1.6",
"@types/vscode": "^1.88.0",
"@types/which": "^3.0.3",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"copy-webpack-plugin": "^12.0.2",
"eslint": "^8.57.0",
"glob": "^10.3.12",
"mocha": "^10.4.0",
"rxjs": "^7.8.1",
"@aws-sdk/client-s3": "^3.699.0",
"@types/mocha": "^10.0.10",
"@types/node": "^22.9.3",
"@types/unzipper": "^0.10.10",
"@types/vscode": "^1.95.0",
"@types/which": "^3.0.4",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"eslint": "^9.15.0",
"mocha": "^10.8.2",
"ts-loader": "^9.5.1",
"tslint": "^6.1.3",
"typescript": "^5.4.4",
"typescript": "^5.7.2",
"unzipper": "~0.12.3",
"vscode-test": "^1.6.1",
"webpack": "^5.91.0",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"fs": "0.0.1-security",
"nspell": "^2.1.5",
"which": "^4.0.0",
"dictionary-en": "^4.0.0"
"vscode-languageclient": "^9.0.1"
}
}
8 changes: 0 additions & 8 deletions src/extension.ts

This file was deleted.

Loading