Skip to content

Commit e54c6dd

Browse files
authored
Initial commit
0 parents  commit e54c6dd

Some content is hidden

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

50 files changed

+11674
-0
lines changed

.eslintrc.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"parserOptions": {
5+
"ecmaVersion": 6,
6+
"sourceType": "module"
7+
},
8+
"plugins": [
9+
"@typescript-eslint"
10+
],
11+
"rules": {
12+
"@typescript-eslint/naming-convention": "warn",
13+
"@typescript-eslint/semi": "warn",
14+
"curly": "warn",
15+
"eqeqeq": "warn",
16+
"no-throw-literal": "warn",
17+
"semi": "off"
18+
},
19+
"ignorePatterns": [
20+
"out",
21+
"dist",
22+
"**/*.d.ts"
23+
]
24+
}

.github/dependabot.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: 'github-actions'
4+
directory: /
5+
schedule:
6+
interval: monthly
7+
labels:
8+
- 'no-changelog'
9+
10+
- package-ecosystem: 'pip'
11+
directory: /src/test/python_tests
12+
schedule:
13+
interval: daily
14+
labels:
15+
- 'no-changelog'
16+
17+
- package-ecosystem: 'pip'
18+
directory: /
19+
schedule:
20+
interval: daily
21+
labels:
22+
- 'debt'
23+
commit-message:
24+
include: 'scope'
25+
prefix: 'pip'
26+
27+
- package-ecosystem: 'npm'
28+
directory: /
29+
schedule:
30+
interval: monthly
31+
labels:
32+
- 'no-changelog'
33+
ignore:
34+
- dependency-name: '@types/vscode'
35+
- dependency-name: '@types/node'
36+
- dependency-name: 'vscode-languageclient'

.github/release.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- 'no-changelog'
5+
6+
categories:
7+
- title: Enhancements
8+
labels:
9+
- 'feature-request'
10+
11+
- title: Bug Fixes
12+
labels:
13+
- 'bug'
14+
15+
- title: Code Health
16+
labels:
17+
- 'debt'

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
out
2+
dist
3+
node_modules
4+
.vscode-test/
5+
*.vsix
6+
.venv/
7+
.vs/
8+
.nox/
9+
bundled/libs/
10+
**/__pycache__
11+
**/.pytest_cache
12+
**/.vs

.prettierrc.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module.exports = {
2+
singleQuote: true,
3+
printWidth: 120,
4+
tabWidth: 4,
5+
endOfLine: 'auto',
6+
trailingComma: 'all',
7+
overrides: [
8+
{
9+
files: ['*.yml', '*.yaml'],
10+
options: {
11+
tabWidth: 2
12+
}
13+
}
14+
]
15+
};

.vscode/extensions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": ["dbaeumer.vscode-eslint", "amodio.tsl-problem-matcher", "esbenp.prettier-vscode"]
5+
}

.vscode/launch.json

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
// A launch configuration that compiles the extension and then opens it inside a new window
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
{
6+
"version": "0.2.0",
7+
"configurations": [
8+
{
9+
"name": "Debug Extension Only",
10+
"type": "extensionHost",
11+
"request": "launch",
12+
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
13+
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
14+
"preLaunchTask": "npm: watch",
15+
"presentation": {
16+
"hidden": false,
17+
"group": "",
18+
"order": 2
19+
}
20+
},
21+
{
22+
"name": "Python Attach",
23+
"type": "python",
24+
"request": "attach",
25+
"processId": "${command:pickProcess}",
26+
"justMyCode": false,
27+
"presentation": {
28+
"hidden": false,
29+
"group": "",
30+
"order": 3
31+
}
32+
},
33+
{
34+
"name": "Python Config for test explorer (hidden)",
35+
"type": "python",
36+
"request": "launch",
37+
"console": "integratedTerminal",
38+
"purpose": ["debug-test"],
39+
"justMyCode": true,
40+
"presentation": {
41+
"hidden": true,
42+
"group": "",
43+
"order": 4
44+
}
45+
},
46+
{
47+
"name": "Debug Extension (hidden)",
48+
"type": "extensionHost",
49+
"request": "launch",
50+
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
51+
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
52+
"env": {
53+
"USE_DEBUGPY": "True"
54+
},
55+
"presentation": {
56+
"hidden": true,
57+
"group": "",
58+
"order": 4
59+
}
60+
},
61+
{
62+
"name": "Python debug server (hidden)",
63+
"type": "python",
64+
"request": "attach",
65+
"listen": { "host": "localhost", "port": 5678 },
66+
"justMyCode": true,
67+
"presentation": {
68+
"hidden": true,
69+
"group": "",
70+
"order": 4
71+
}
72+
}
73+
],
74+
"compounds": [
75+
{
76+
"name": "Debug Extension and Python",
77+
"configurations": ["Python debug server (hidden)", "Debug Extension (hidden)"],
78+
"stopAll": true,
79+
"preLaunchTask": "npm: watch",
80+
"presentation": {
81+
"hidden": false,
82+
"group": "",
83+
"order": 1
84+
}
85+
}
86+
]
87+
}

.vscode/settings.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// Place your settings in this file to overwrite default and user settings.
2+
{
3+
"files.exclude": {
4+
"out": false, // set this to true to hide the "out" folder with the compiled JS files
5+
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
6+
},
7+
"search.exclude": {
8+
"out": true, // set this to false to include "out" folder in search results
9+
"dist": true // set this to false to include "dist" folder in search results
10+
},
11+
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
12+
"typescript.tsc.autoDetect": "off",
13+
"python.testing.pytestArgs": ["src/test/python_tests"],
14+
"python.testing.unittestEnabled": false,
15+
"python.testing.pytestEnabled": true,
16+
"python.testing.cwd": "${workspaceFolder}",
17+
"python.analysis.extraPaths": ["bundled/libs"],
18+
"[typescript]": {
19+
"editor.defaultFormatter": "esbenp.prettier-vscode",
20+
"editor.formatOnSave": true
21+
},
22+
}

.vscode/tasks.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// See https://go.microsoft.com/fwlink/?LinkId=733558
2+
// for the documentation about the tasks.json format
3+
{
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "watch",
9+
"problemMatcher": ["$ts-webpack-watch", "$tslint-webpack-watch"],
10+
"isBackground": true,
11+
"presentation": {
12+
"reveal": "never",
13+
"group": "watchers"
14+
},
15+
"group": {
16+
"kind": "build",
17+
"isDefault": true
18+
}
19+
},
20+
{
21+
"type": "npm",
22+
"script": "watch-tests",
23+
"problemMatcher": "$tsc-watch",
24+
"isBackground": true,
25+
"presentation": {
26+
"reveal": "never",
27+
"group": "watchers"
28+
},
29+
"group": "build"
30+
},
31+
{
32+
"label": "tasks: watch-tests",
33+
"dependsOn": ["npm: watch", "npm: watch-tests"],
34+
"problemMatcher": []
35+
}
36+
]
37+
}

.vscodeignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
.vscode/**
2+
.vscode-test/**
3+
out/**
4+
node_modules/**
5+
src/**
6+
.gitignore
7+
.yarnrc
8+
webpack.config.js
9+
vsc-extension-quickstart.md
10+
**/tsconfig.json
11+
**/.eslintrc.json
12+
**/*.ts
13+
.venv/**
14+
.nox/**
15+
.github/
16+
**/__pycache__/**
17+
**/*.pyc
18+
bundled/libs/bin/**
19+
bundled/libs/*.dist-info/**
20+
noxfile.py
21+
.pytest_cache/**
22+
.pylintrc
23+
**/requirements.txt
24+
**/requirements.in
25+
**/tool/_debug_server.py

0 commit comments

Comments
 (0)