forked from microsoft/vscode-languageserver-node
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'Parent/main' into Current
- Loading branch information
Showing
325 changed files
with
60,611 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules | ||
lib | ||
!.tsconfigrc.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"@typescript-eslint" | ||
], | ||
"env": { | ||
"node": true | ||
}, | ||
"rules": { | ||
"semi": "off", | ||
"@typescript-eslint/semi": "error", | ||
"@typescript-eslint/member-delimiter-style": ["error" ,{ | ||
"multiline": { | ||
"delimiter": "semi", | ||
"requireLast": true | ||
}, | ||
"singleline": { | ||
"delimiter": "semi", | ||
"requireLast": false | ||
}, | ||
"multilineDetection": "brackets" | ||
}], | ||
"indent": "off", | ||
"@typescript-eslint/indent": ["warn", "tab", { "SwitchCase": 1 } ], | ||
"@typescript-eslint/no-floating-promises": "error", | ||
"no-extra-semi": "warn", | ||
"curly": "warn", | ||
"quotes": ["error", "single", { "allowTemplateLiterals": true } ], | ||
"eqeqeq": "error", | ||
"constructor-super": "warn", | ||
"prefer-const": [ | ||
"warn", | ||
{ | ||
"destructuring": "all" | ||
} | ||
], | ||
"no-buffer-constructor": "warn", | ||
"no-caller": "warn", | ||
"no-case-declarations": "warn", | ||
"no-debugger": "warn", | ||
"no-duplicate-case": "warn", | ||
"no-duplicate-imports": "warn", | ||
"no-eval": "warn", | ||
"no-async-promise-executor": "warn", | ||
"no-new-wrappers": "warn", | ||
"no-redeclare": "off", | ||
"no-sparse-arrays": "warn", | ||
"no-throw-literal": "warn", | ||
"no-unsafe-finally": "warn", | ||
"no-unused-labels": "warn", | ||
"no-restricted-globals": [ | ||
"warn", | ||
"name", | ||
"length", | ||
"event", | ||
"closed", | ||
"external", | ||
"status", | ||
"origin", | ||
"orientation", | ||
"context" | ||
], | ||
"no-var": "warn", | ||
"@typescript-eslint/naming-convention": [ | ||
"warn", | ||
{ | ||
"selector": "class", | ||
"format": [ | ||
"PascalCase" | ||
], | ||
"leadingUnderscore": "allow" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"parserOptions": { | ||
"ecmaVersion": 2020 | ||
}, | ||
|
||
"env": { | ||
"commonjs": true, | ||
"es6": true | ||
}, | ||
"rules": { | ||
"semi": "error", | ||
"no-extra-semi": "warn", | ||
"curly": "warn", | ||
"quotes": ["error", "single", { "allowTemplateLiterals": true } ], | ||
"eqeqeq": "error", | ||
"indent": ["warn", "tab", { "SwitchCase": 1 } ] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
{ | ||
perform: true, | ||
commands: [ | ||
{ | ||
type: 'comment', | ||
name: 'question', | ||
allowUsers: ['cleidigh', 'usernamehw', 'gjsjohnmurray', 'IllusionMH'], | ||
action: 'updateLabels', | ||
addLabel: '*question' | ||
}, | ||
{ | ||
type: 'label', | ||
name: '*question', | ||
allowTriggerByBot: true, | ||
action: 'close', | ||
comment: "Please ask your question on [StackOverflow](https://aka.ms/vscodestackoverflow). We have a great community over [there](https://aka.ms/vscodestackoverflow). They have already answered thousands of questions and are happy to answer yours as well. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!" | ||
}, | ||
{ | ||
type: 'label', | ||
name: '*dev-question', | ||
allowTriggerByBot: true, | ||
action: 'close', | ||
comment: "We have a great developer community [over on slack](https://aka.ms/vscode-dev-community) where extension authors help each other. This is a great place for you to ask questions and find support.\n\nHappy Coding!" | ||
}, | ||
{ | ||
type: 'label', | ||
name: '*extension-candidate', | ||
allowTriggerByBot: true, | ||
action: 'close', | ||
comment: "We try to keep VS Code lean and we think the functionality you're asking for is great for a VS Code extension. Maybe you can already find one that suits you in the [VS Code Marketplace](https://aka.ms/vscodemarketplace). Just in case, in a few simple steps you can get started [writing your own extension](https://aka.ms/vscodewritingextensions). See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!" | ||
}, | ||
{ | ||
type: 'label', | ||
name: '*not-reproducible', | ||
allowTriggerByBot: true, | ||
action: 'close', | ||
comment: "We closed this issue because we are unable to reproduce the problem with the steps you describe. Chances are we've already fixed your problem in a recent version of VS Code. If not, please ask us to reopen the issue and provide us with more detail. Our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines might help you with that.\n\nHappy Coding!" | ||
}, | ||
{ | ||
type: 'label', | ||
name: '*out-of-scope', | ||
allowTriggerByBot: true, | ||
action: 'close', | ||
comment: "We closed this issue because we don't plan to address it in the foreseeable future. You can find more detailed information about our decision-making process [here](https://aka.ms/vscode-out-of-scope). If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.\n\nIf you wonder what we are up to, please see our [roadmap](https://aka.ms/vscoderoadmap) and [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nThanks for your understanding and happy coding!" | ||
}, | ||
{ | ||
type: 'comment', | ||
name: 'causedByExtension', | ||
allowUsers: ['cleidigh', 'usernamehw', 'gjsjohnmurray', 'IllusionMH'], | ||
action: 'updateLabels', | ||
addLabel: '*caused-by-extension' | ||
}, | ||
{ | ||
type: 'label', | ||
name: '*caused-by-extension', | ||
allowTriggerByBot: true, | ||
action: 'close', | ||
comment: "This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the [marketplace](https://aka.ms/vscodemarketplace) for VS Code. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!" | ||
}, | ||
{ | ||
type: 'label', | ||
name: '*as-designed', | ||
allowTriggerByBot: true, | ||
action: 'close', | ||
comment: "The described behavior is how it is expected to work. If you disagree, please explain what is expected and what is not in more detail. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!" | ||
}, | ||
{ | ||
type: 'label', | ||
name: '*english-please', | ||
allowTriggerByBot: true, | ||
action: 'close', | ||
comment: "This issue is being closed because its description is not in English, that makes it hard for us to work on it. Please open a new issue with an English description. You might find [Bing Translator](https://www.bing.com/translator) useful." | ||
}, | ||
{ | ||
type: 'comment', | ||
name: 'duplicate', | ||
allowUsers: ['cleidigh', 'usernamehw', 'gjsjohnmurray', 'IllusionMH'], | ||
action: 'updateLabels', | ||
addLabel: '*duplicate' | ||
}, | ||
{ | ||
type: 'label', | ||
name: '*duplicate', | ||
allowTriggerByBot: true, | ||
action: 'close', | ||
comment: "Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues [here](https://aka.ms/vscodeissuesearch). See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!" | ||
}, | ||
{ | ||
type: 'comment', | ||
name: 'confirm', | ||
allowUsers: ['cleidigh', 'usernamehw', 'gjsjohnmurray', 'IllusionMH'], | ||
action: 'updateLabels', | ||
addLabel: 'confirmed', | ||
removeLabel: 'confirmation-pending' | ||
}, | ||
{ | ||
type: 'comment', | ||
name: 'confirmationPending', | ||
allowUsers: ['cleidigh', 'usernamehw'], | ||
action: 'updateLabels', | ||
addLabel: 'confirmation-pending', | ||
removeLabel: 'confirmed' | ||
}, | ||
{ | ||
type: 'comment', | ||
name: 'findDuplicates', | ||
allowUsers: ['cleidigh', 'usernamehw', 'gjsjohnmurray', 'IllusionMH'], | ||
action: 'comment', | ||
comment: "Potential duplicates:\n${potentialDuplicates}" | ||
}, | ||
{ | ||
type: 'comment', | ||
name: 'needsMoreInfo', | ||
allowUsers: ['cleidigh', 'usernamehw', 'gjsjohnmurray', 'IllusionMH'], | ||
action: 'updateLabels', | ||
addLabel: 'needs more info', | ||
comment: "Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines. Please take the time to review these and update the issue.\n\nHappy Coding!" | ||
}, | ||
{ | ||
type: 'comment', | ||
name: 'a11ymas', | ||
allowUsers: ['AccessibilityTestingTeam-TCS', 'dixitsonali95', 'Mohini78', 'ChitrarupaSharma', 'mspatil110', 'umasarath52', 'v-umnaik'], | ||
action: 'updateLabels', | ||
addLabel: 'a11ymas' | ||
}, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
daysAfterClose: 45, | ||
daysSinceLastUpdate: 3, | ||
ignoredLabels: ['*out-of-scope'], | ||
perform: true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
daysUntilClose: 7, | ||
needsMoreInfoLabel: 'needs more info', | ||
perform: true, | ||
closeComment: "This issue has been closed automatically because it needs more information and has not had recent activity. See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"request": "launch", | ||
"type": "node", | ||
"name": "test:types", | ||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | ||
"stopOnEntry": false, | ||
"args": ["--timeout", "999999"], | ||
"cwd": "${workspaceRoot}/types", | ||
"runtimeExecutable": null, | ||
"runtimeArgs": [], | ||
"env": { }, | ||
"sourceMaps": true, | ||
"outFiles": ["${workspaceRoot}/types/lib/umd/**/*.js"], | ||
"preLaunchTask": "npm: watch" | ||
}, | ||
{ | ||
"request": "launch", | ||
"type": "node", | ||
"name": "test:textDocument", | ||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | ||
"stopOnEntry": false, | ||
"args": ["--timeout", "999999"], | ||
"cwd": "${workspaceRoot}/textDocument", | ||
"runtimeExecutable": null, | ||
"runtimeArgs": [], | ||
"env": { }, | ||
"sourceMaps": true, | ||
"outFiles": ["${workspaceRoot}/textDocument/lib/umd/**/*.js"], | ||
"preLaunchTask": "npm: watch" | ||
}, | ||
{ | ||
"request": "launch", | ||
"type": "node", | ||
"name": "test:jsonrpc", | ||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | ||
"stopOnEntry": false, | ||
"args": ["--timeout", "999999"], | ||
"cwd": "${workspaceRoot}/jsonrpc", | ||
"runtimeExecutable": null, | ||
"runtimeArgs": [], | ||
"env": { }, | ||
"sourceMaps": true, | ||
"outFiles": ["${workspaceRoot}/jsonrpc/lib/**/*.js"], | ||
"preLaunchTask": "npm: watch" | ||
}, | ||
{ | ||
"request": "launch", | ||
"type": "node", | ||
"name": "test:protocol", | ||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | ||
"stopOnEntry": false, | ||
"args": ["--timeout", "999999"], | ||
"cwd": "${workspaceRoot}/protocol", | ||
"runtimeExecutable": null, | ||
"runtimeArgs": [], | ||
"env": { }, | ||
"sourceMaps": true, | ||
"outFiles": ["${workspaceRoot}/protocol/lib/**/*.js"], | ||
"preLaunchTask": "npm: watch" | ||
}, | ||
{ | ||
"request": "launch", | ||
"type": "node", | ||
"name": "test:server", | ||
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | ||
"stopOnEntry": false, | ||
"args": ["--timeout", "999999"], | ||
"cwd": "${workspaceRoot}/server", | ||
"runtimeExecutable": null, | ||
"runtimeArgs": ["--preserve-symlinks"], | ||
"env": { }, | ||
"sourceMaps": true, | ||
"outFiles": ["${workspaceRoot}/server/lib/**/*.js"], | ||
"preLaunchTask": "npm: watch" | ||
}, | ||
{ | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"name": "test:client", | ||
"runtimeExecutable": "${execPath}", | ||
"autoAttachChildProcesses": true, | ||
"args": [ | ||
"--extensionDevelopmentPath=${workspaceFolder}/client-node-tests", | ||
"--extensionTestsPath=${workspaceFolder}/client-node-tests/lib" | ||
], | ||
"sourceMaps": true, | ||
"outFiles": [ | ||
"${workspaceRoot}/client-node-tests/lib/**/*.js" | ||
], | ||
"preLaunchTask": "npm: watch" | ||
}, | ||
{ | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"name": "Launch TestBed Client", | ||
"runtimeExecutable": "${execPath}", | ||
"args": ["--extensionDevelopmentPath=${workspaceRoot}/testbed"], | ||
"outFiles": [ | ||
"${workspaceRoot}/testbed/server/out/**/*.js", | ||
"${workspaceRoot}/testbed/client/out/**/*.js" | ||
], | ||
"autoAttachChildProcesses": true, | ||
"sourceMaps": true | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Meta Model", | ||
"cwd": "${workspaceRoot}", | ||
"program": "${workspaceFolder}/tools/lib/main.js", | ||
"args": [ | ||
"-p", "./protocol/src/common/tsconfig.json", | ||
], | ||
"sourceMaps": true, | ||
"outFiles": ["${workspaceRoot}/tools/lib/**/*.js"], | ||
"preLaunchTask": "npm: watch" | ||
} | ||
] | ||
} |
Oops, something went wrong.