-
Notifications
You must be signed in to change notification settings - Fork 2
Expanding to Include Warnings and Common Error Checking #1
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
base: main
Are you sure you want to change the base?
Changes from all commits
c1c54e4
f5067c5
7805011
5b69d12
25bb953
ad94184
9c8361e
0712ea8
858bfcc
fa1a01f
3d400d2
56dffb4
020d6a1
6d66991
2a2ae27
117d1a6
ed23836
f6e53fe
57166c0
298a7b9
229ca0b
f4ab031
39782b4
d46ae15
d903b31
71d9460
55efd7a
079198a
d0b13c2
e9fa758
7182719
15853e8
03aec19
b0eeec0
73621ed
3ca1d95
8a4f0c8
94fde5f
ee5db49
10df701
8911cef
20db55c
b62524d
244cf9e
4cbf8a9
9ea22c6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,4 +2,5 @@ server/out | |
| out/ | ||
| node_modules/ | ||
| *.tsbuildinfo | ||
| package-lock.json | ||
| package-lock.json | ||
| *.vsix | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,8 @@ | ||
| { | ||
| "editor.tabSize": 4, | ||
| "editor.insertSpaces": true, | ||
| "editor.detectIndentation": false | ||
| "editor.detectIndentation": false, | ||
| "files.associations": { | ||
| "*.c": "enscript" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # Exclude development files from the packaged extension | ||
| .git/ | ||
| .vscode/ | ||
| src/ | ||
| server/src/ | ||
| test/ | ||
| *.ts | ||
| *.map | ||
| tsconfig*.json | ||
| jest.config.js | ||
| .gitignore | ||
|
|
||
| # Include compiled output (override .gitignore) | ||
| !out/ | ||
| !server/out/ | ||
|
|
||
| # Exclude unnecessary node_modules files | ||
| node_modules/.bin/ | ||
| node_modules/**/test/ | ||
| node_modules/**/*.md | ||
| node_modules/**/*.ts | ||
| node_modules/**/.github/ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| { | ||
| "comments": { | ||
| "lineComment": "//", | ||
| "blockComment": [ | ||
| "/*", | ||
| "*/" | ||
| ] | ||
| }, | ||
| "brackets": [ | ||
| [ | ||
| "{", | ||
| "}" | ||
| ], | ||
| [ | ||
| "[", | ||
| "]" | ||
| ], | ||
| [ | ||
| "(", | ||
| ")" | ||
| ] | ||
| ], | ||
| "autoClosingPairs": [ | ||
| { | ||
| "open": "{", | ||
| "close": "}" | ||
| }, | ||
| { | ||
| "open": "[", | ||
| "close": "]" | ||
| }, | ||
| { | ||
| "open": "(", | ||
| "close": ")" | ||
| }, | ||
| { | ||
| "open": "\"", | ||
| "close": "\"" | ||
| } | ||
| ], | ||
| "surroundingPairs": [ | ||
| [ | ||
| "{", | ||
| "}" | ||
| ], | ||
| [ | ||
| "[", | ||
| "]" | ||
| ], | ||
| [ | ||
| "(", | ||
| ")" | ||
| ], | ||
| [ | ||
| "\"", | ||
| "\"" | ||
| ] | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -29,13 +29,29 @@ | |||||||||
| ".cproj" | ||||||||||
| ], | ||||||||||
| "configuration": "./language-configuration.json" | ||||||||||
| }, | ||||||||||
| { | ||||||||||
| "id": "dayzcpp", | ||||||||||
| "aliases": [ | ||||||||||
| "DayZ Config Cpp", | ||||||||||
| "dayzcpp" | ||||||||||
| ], | ||||||||||
| "filenames": [ | ||||||||||
| "config.cpp" | ||||||||||
| ], | ||||||||||
| "configuration": "./language-configuration-dayzcpp.json" | ||||||||||
| } | ||||||||||
| ], | ||||||||||
| "grammars": [ | ||||||||||
| { | ||||||||||
| "language": "enscript", | ||||||||||
| "scopeName": "source.enscript", | ||||||||||
| "path": "./syntaxes/enscript.tmLanguage.json" | ||||||||||
| }, | ||||||||||
| { | ||||||||||
| "language": "dayzcpp", | ||||||||||
| "scopeName": "source.dayzcpp", | ||||||||||
| "path": "./syntaxes/dayzcpp.tmLanguage.json" | ||||||||||
| } | ||||||||||
| ], | ||||||||||
| "commands": [ | ||||||||||
|
|
@@ -46,18 +62,30 @@ | |||||||||
| { | ||||||||||
| "command": "enscript.dumpDiagnostics", | ||||||||||
| "title": "Enscript: Dump Diagnostics" | ||||||||||
| }, | ||||||||||
| { | ||||||||||
| "command": "enscript.checkWorkspace", | ||||||||||
| "title": "Enscript: Check All Workspace Files" | ||||||||||
| } | ||||||||||
| ], | ||||||||||
| "configuration": { | ||||||||||
| "title": "Enfusion Script", | ||||||||||
| "properties": { | ||||||||||
| "enscript.includePaths": { | ||||||||||
| "type": "array", | ||||||||||
| "default": [], | ||||||||||
| "default": ["P:\\scripts"], | ||||||||||
| "description": "List of paths to index for base game data (e.g. P:\\scripts\\ folder)", | ||||||||||
|
Comment on lines
+76
to
77
|
||||||||||
| "default": ["P:\\scripts"], | |
| "description": "List of paths to index for base game data (e.g. P:\\scripts\\ folder)", | |
| "default": [], | |
| "description": "List of paths to index for base game data (for example, on Windows: P:\\scripts\\ folder)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
README and the diagnostic message mention
mod.cpp, but the dayzcpp language contribution only auto-associatesconfig.cpp. If mod.cpp should be supported, add it to this filenames list; otherwise update the docs/message to avoid misleading users.