mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2026-01-04 10:09:58 +03:00
* Fixed the typo in the folder name configrations Now the name is configurations. All the code referencing the folder has also been updated. * Updated deprecated variables * Demonstration of current diagnostics issues All the lines that get a complaint from diagnostics are marked with #in 0.2.2 and a short explanation whether the complaint is valid or not. * Enabled syntax highlighting for comments Now comments have a different colour compared to variables. Found it unclear which file controls syntax so edited both GDScript.full.tmLanguage.json and GDScript.tmLanguage.json. In addition renamed test_files directory to be clearer and started working on diagnostic.ts to fix false positives in syntax highglighting. * Fixed checking comments for syntax Now comments are not checked for syntax. This was achieved by excluding comments from being parsed. In addition made it so that syntax check no longer complains about empty lines having wrong indentation. * Wrong committer details on previous commits This commit should have the correct details. * Added a comment explaining how nextline is parsed * Reverted changes in symbolparser.ts Also made minor additions to test_files.
30 lines
1.0 KiB
JSON
30 lines
1.0 KiB
JSON
// Available variables which can be used inside of strings.
|
|
// ${workspaceRoot}: the root folder of the team
|
|
// ${file}: the current opened file
|
|
// ${fileBasename}: the current opened file's basename
|
|
// ${fileDirname}: the current opened file's dirname
|
|
// ${fileExtname}: the current opened file's extension
|
|
// ${cwd}: the current working directory of the spawned process
|
|
|
|
// A task runner that calls a custom npm script that compiles the extension.
|
|
{
|
|
"version": "0.1.0",
|
|
|
|
// we want to run npm
|
|
"command": "npm",
|
|
|
|
// the command is a shell script
|
|
"isShellCommand": true,
|
|
|
|
// show the output window only if unrecognized errors occur.
|
|
"showOutput": "silent",
|
|
|
|
// we run the custom script "compile" as defined in package.json
|
|
"args": ["run", "compile", "--loglevel", "silent"],
|
|
|
|
// The tsc compiler is started in watching mode
|
|
"isBackground": true,
|
|
|
|
// use the standard tsc in watch mode problem matcher to find compile problems in the output.
|
|
"problemMatcher": "$tsc-watch"
|
|
} |