Skip to content

Commit 8ea9ebc

Browse files
Merge remote-tracking branch 'Parent/main' into Current
2 parents 16c4714 + f58f4df commit 8ea9ebc

File tree

325 files changed

+60611
-175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

325 files changed

+60611
-175
lines changed

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
lib
3+
!.tsconfigrc.js

.eslintrc.base.json

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"parserOptions": {
4+
"ecmaVersion": 6,
5+
"sourceType": "module"
6+
},
7+
"plugins": [
8+
"@typescript-eslint"
9+
],
10+
"env": {
11+
"node": true
12+
},
13+
"rules": {
14+
"semi": "off",
15+
"@typescript-eslint/semi": "error",
16+
"@typescript-eslint/member-delimiter-style": ["error" ,{
17+
"multiline": {
18+
"delimiter": "semi",
19+
"requireLast": true
20+
},
21+
"singleline": {
22+
"delimiter": "semi",
23+
"requireLast": false
24+
},
25+
"multilineDetection": "brackets"
26+
}],
27+
"indent": "off",
28+
"@typescript-eslint/indent": ["warn", "tab", { "SwitchCase": 1 } ],
29+
"@typescript-eslint/no-floating-promises": "error",
30+
"no-extra-semi": "warn",
31+
"curly": "warn",
32+
"quotes": ["error", "single", { "allowTemplateLiterals": true } ],
33+
"eqeqeq": "error",
34+
"constructor-super": "warn",
35+
"prefer-const": [
36+
"warn",
37+
{
38+
"destructuring": "all"
39+
}
40+
],
41+
"no-buffer-constructor": "warn",
42+
"no-caller": "warn",
43+
"no-case-declarations": "warn",
44+
"no-debugger": "warn",
45+
"no-duplicate-case": "warn",
46+
"no-duplicate-imports": "warn",
47+
"no-eval": "warn",
48+
"no-async-promise-executor": "warn",
49+
"no-new-wrappers": "warn",
50+
"no-redeclare": "off",
51+
"no-sparse-arrays": "warn",
52+
"no-throw-literal": "warn",
53+
"no-unsafe-finally": "warn",
54+
"no-unused-labels": "warn",
55+
"no-restricted-globals": [
56+
"warn",
57+
"name",
58+
"length",
59+
"event",
60+
"closed",
61+
"external",
62+
"status",
63+
"origin",
64+
"orientation",
65+
"context"
66+
],
67+
"no-var": "warn",
68+
"@typescript-eslint/naming-convention": [
69+
"warn",
70+
{
71+
"selector": "class",
72+
"format": [
73+
"PascalCase"
74+
],
75+
"leadingUnderscore": "allow"
76+
}
77+
]
78+
}
79+
}

.eslintrc.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parserOptions": {
3+
"ecmaVersion": 2020
4+
},
5+
6+
"env": {
7+
"commonjs": true,
8+
"es6": true
9+
},
10+
"rules": {
11+
"semi": "error",
12+
"no-extra-semi": "warn",
13+
"curly": "warn",
14+
"quotes": ["error", "single", { "allowTemplateLiterals": true } ],
15+
"eqeqeq": "error",
16+
"indent": ["warn", "tab", { "SwitchCase": 1 } ]
17+
}
18+
}

.github/commands.yml

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
{
2+
perform: true,
3+
commands: [
4+
{
5+
type: 'comment',
6+
name: 'question',
7+
allowUsers: ['cleidigh', 'usernamehw', 'gjsjohnmurray', 'IllusionMH'],
8+
action: 'updateLabels',
9+
addLabel: '*question'
10+
},
11+
{
12+
type: 'label',
13+
name: '*question',
14+
allowTriggerByBot: true,
15+
action: 'close',
16+
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!"
17+
},
18+
{
19+
type: 'label',
20+
name: '*dev-question',
21+
allowTriggerByBot: true,
22+
action: 'close',
23+
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!"
24+
},
25+
{
26+
type: 'label',
27+
name: '*extension-candidate',
28+
allowTriggerByBot: true,
29+
action: 'close',
30+
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!"
31+
},
32+
{
33+
type: 'label',
34+
name: '*not-reproducible',
35+
allowTriggerByBot: true,
36+
action: 'close',
37+
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!"
38+
},
39+
{
40+
type: 'label',
41+
name: '*out-of-scope',
42+
allowTriggerByBot: true,
43+
action: 'close',
44+
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!"
45+
},
46+
{
47+
type: 'comment',
48+
name: 'causedByExtension',
49+
allowUsers: ['cleidigh', 'usernamehw', 'gjsjohnmurray', 'IllusionMH'],
50+
action: 'updateLabels',
51+
addLabel: '*caused-by-extension'
52+
},
53+
{
54+
type: 'label',
55+
name: '*caused-by-extension',
56+
allowTriggerByBot: true,
57+
action: 'close',
58+
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!"
59+
},
60+
{
61+
type: 'label',
62+
name: '*as-designed',
63+
allowTriggerByBot: true,
64+
action: 'close',
65+
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!"
66+
},
67+
{
68+
type: 'label',
69+
name: '*english-please',
70+
allowTriggerByBot: true,
71+
action: 'close',
72+
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."
73+
},
74+
{
75+
type: 'comment',
76+
name: 'duplicate',
77+
allowUsers: ['cleidigh', 'usernamehw', 'gjsjohnmurray', 'IllusionMH'],
78+
action: 'updateLabels',
79+
addLabel: '*duplicate'
80+
},
81+
{
82+
type: 'label',
83+
name: '*duplicate',
84+
allowTriggerByBot: true,
85+
action: 'close',
86+
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!"
87+
},
88+
{
89+
type: 'comment',
90+
name: 'confirm',
91+
allowUsers: ['cleidigh', 'usernamehw', 'gjsjohnmurray', 'IllusionMH'],
92+
action: 'updateLabels',
93+
addLabel: 'confirmed',
94+
removeLabel: 'confirmation-pending'
95+
},
96+
{
97+
type: 'comment',
98+
name: 'confirmationPending',
99+
allowUsers: ['cleidigh', 'usernamehw'],
100+
action: 'updateLabels',
101+
addLabel: 'confirmation-pending',
102+
removeLabel: 'confirmed'
103+
},
104+
{
105+
type: 'comment',
106+
name: 'findDuplicates',
107+
allowUsers: ['cleidigh', 'usernamehw', 'gjsjohnmurray', 'IllusionMH'],
108+
action: 'comment',
109+
comment: "Potential duplicates:\n${potentialDuplicates}"
110+
},
111+
{
112+
type: 'comment',
113+
name: 'needsMoreInfo',
114+
allowUsers: ['cleidigh', 'usernamehw', 'gjsjohnmurray', 'IllusionMH'],
115+
action: 'updateLabels',
116+
addLabel: 'needs more info',
117+
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!"
118+
},
119+
{
120+
type: 'comment',
121+
name: 'a11ymas',
122+
allowUsers: ['AccessibilityTestingTeam-TCS', 'dixitsonali95', 'Mohini78', 'ChitrarupaSharma', 'mspatil110', 'umasarath52', 'v-umnaik'],
123+
action: 'updateLabels',
124+
addLabel: 'a11ymas'
125+
},
126+
]
127+
}

.github/locker.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
daysAfterClose: 45,
3+
daysSinceLastUpdate: 3,
4+
ignoredLabels: ['*out-of-scope'],
5+
perform: true
6+
}

.github/needs_more_info.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
daysUntilClose: 7,
3+
needsMoreInfoLabel: 'needs more info',
4+
perform: true,
5+
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!"
6+
}

.vscode/launch.json

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"request": "launch",
6+
"type": "node",
7+
"name": "test:types",
8+
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
9+
"stopOnEntry": false,
10+
"args": ["--timeout", "999999"],
11+
"cwd": "${workspaceRoot}/types",
12+
"runtimeExecutable": null,
13+
"runtimeArgs": [],
14+
"env": { },
15+
"sourceMaps": true,
16+
"outFiles": ["${workspaceRoot}/types/lib/umd/**/*.js"],
17+
"preLaunchTask": "npm: watch"
18+
},
19+
{
20+
"request": "launch",
21+
"type": "node",
22+
"name": "test:textDocument",
23+
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
24+
"stopOnEntry": false,
25+
"args": ["--timeout", "999999"],
26+
"cwd": "${workspaceRoot}/textDocument",
27+
"runtimeExecutable": null,
28+
"runtimeArgs": [],
29+
"env": { },
30+
"sourceMaps": true,
31+
"outFiles": ["${workspaceRoot}/textDocument/lib/umd/**/*.js"],
32+
"preLaunchTask": "npm: watch"
33+
},
34+
{
35+
"request": "launch",
36+
"type": "node",
37+
"name": "test:jsonrpc",
38+
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
39+
"stopOnEntry": false,
40+
"args": ["--timeout", "999999"],
41+
"cwd": "${workspaceRoot}/jsonrpc",
42+
"runtimeExecutable": null,
43+
"runtimeArgs": [],
44+
"env": { },
45+
"sourceMaps": true,
46+
"outFiles": ["${workspaceRoot}/jsonrpc/lib/**/*.js"],
47+
"preLaunchTask": "npm: watch"
48+
},
49+
{
50+
"request": "launch",
51+
"type": "node",
52+
"name": "test:protocol",
53+
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
54+
"stopOnEntry": false,
55+
"args": ["--timeout", "999999"],
56+
"cwd": "${workspaceRoot}/protocol",
57+
"runtimeExecutable": null,
58+
"runtimeArgs": [],
59+
"env": { },
60+
"sourceMaps": true,
61+
"outFiles": ["${workspaceRoot}/protocol/lib/**/*.js"],
62+
"preLaunchTask": "npm: watch"
63+
},
64+
{
65+
"request": "launch",
66+
"type": "node",
67+
"name": "test:server",
68+
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
69+
"stopOnEntry": false,
70+
"args": ["--timeout", "999999"],
71+
"cwd": "${workspaceRoot}/server",
72+
"runtimeExecutable": null,
73+
"runtimeArgs": ["--preserve-symlinks"],
74+
"env": { },
75+
"sourceMaps": true,
76+
"outFiles": ["${workspaceRoot}/server/lib/**/*.js"],
77+
"preLaunchTask": "npm: watch"
78+
},
79+
{
80+
"type": "extensionHost",
81+
"request": "launch",
82+
"name": "test:client",
83+
"runtimeExecutable": "${execPath}",
84+
"autoAttachChildProcesses": true,
85+
"args": [
86+
"--extensionDevelopmentPath=${workspaceFolder}/client-node-tests",
87+
"--extensionTestsPath=${workspaceFolder}/client-node-tests/lib"
88+
],
89+
"sourceMaps": true,
90+
"outFiles": [
91+
"${workspaceRoot}/client-node-tests/lib/**/*.js"
92+
],
93+
"preLaunchTask": "npm: watch"
94+
},
95+
{
96+
"type": "extensionHost",
97+
"request": "launch",
98+
"name": "Launch TestBed Client",
99+
"runtimeExecutable": "${execPath}",
100+
"args": ["--extensionDevelopmentPath=${workspaceRoot}/testbed"],
101+
"outFiles": [
102+
"${workspaceRoot}/testbed/server/out/**/*.js",
103+
"${workspaceRoot}/testbed/client/out/**/*.js"
104+
],
105+
"autoAttachChildProcesses": true,
106+
"sourceMaps": true
107+
},
108+
{
109+
"type": "node",
110+
"request": "launch",
111+
"name": "Meta Model",
112+
"cwd": "${workspaceRoot}",
113+
"program": "${workspaceFolder}/tools/lib/main.js",
114+
"args": [
115+
"-p", "./protocol/src/common/tsconfig.json",
116+
],
117+
"sourceMaps": true,
118+
"outFiles": ["${workspaceRoot}/tools/lib/**/*.js"],
119+
"preLaunchTask": "npm: watch"
120+
}
121+
]
122+
}

0 commit comments

Comments
 (0)