Skip to content

Commit 56357d7

Browse files
author
i582
committed
initial vs code plugin
1 parent 7dada32 commit 56357d7

Some content is hidden

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

41 files changed

+7930
-0
lines changed

editors/code/.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 4
7+
indent_style = tab
8+
max_line_length = 90
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
12+
[*.{yml,yaml}]
13+
indent_style = space
14+
indent_size = 2

editors/code/.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/
2+
out/
3+
scripts/

editors/code/.eslintrc.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"parserOptions": {
5+
"tsconfigRootDir": ".",
6+
"project": ["./tsconfig.json"]
7+
},
8+
"plugins": [
9+
"@typescript-eslint"
10+
],
11+
"extends": [
12+
"eslint:recommended",
13+
"plugin:@typescript-eslint/recommended",
14+
"plugin:@typescript-eslint/recommended-requiring-type-checking"
15+
],
16+
"rules": {
17+
"prefer-const": "error",
18+
"no-array-constructor": "error",
19+
"no-new-object": "error",
20+
"no-shadow": "error",
21+
"no-undef-init": "error",
22+
"no-var": "error",
23+
"object-shorthand": "error",
24+
"prefer-template": "error",
25+
// Stylisitc rules
26+
"array-bracket-spacing": "error",
27+
"brace-style": "error",
28+
"block-spacing": "error",
29+
"camelcase": "error",
30+
"comma-spacing": "error",
31+
"eol-last": "error",
32+
"func-call-spacing": "error",
33+
"quotes": ["error", "single"],
34+
"semi": "error"
35+
}
36+
}

editors/code/.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.vscode/ipch
2+
.idea/
3+
*.code-workspace
4+
node_modules/
5+
out/
6+
*.exe
7+
*.vsix
8+
*.tmp.json
9+
.DS_Store

editors/code/.vscodeignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.vscode/**
2+
.vscode-test/**
3+
node_modules/
4+
src/
5+
images/
6+
7+
**/tslint.json
8+
.gitignore
9+
.v
10+
.go
11+
tsconfig.json
12+
package-lock.json
13+
scripts/

editors/code/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Changelog

editors/code/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 V Open Source Community Association (VOSCA)
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

editors/code/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# spavn-analyzer support for Visual Studio Code
2+
3+
![Cover](./images/cover.png)

editors/code/icons/icon.png

11.6 KB
Loading

editors/code/images/cover.png

754 KB
Loading

0 commit comments

Comments
 (0)