diff --git a/CHANGELOG.md b/CHANGELOG.md index 48e44e3..3c200ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +### 0.1.3 + +* Better syntax highlight for GDScript +* Add mouse hover information support +* Add definition provider for GDScript + ### 0.1.2 * Multiline string and `StringName` highlight support * Builtin classes, properties, functions and constants highlight support diff --git a/README.md b/README.md index 876dfd2..c59432b 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,8 @@ The plugin make it is possible to code GDScript with Visual Studio Code feel lik * Code completion * Static code validating * Run project or opened scene +* Hover to show documentations, definition and so on +* Go to difinitions with Ctrl+Click or show all definition in workspace ## Commands @@ -43,6 +45,12 @@ Please feel free to open issues and pull requirests on github about the [Godot-T ## Release Notes +### 0.1.3 + +* Better syntax highlight for GDScript +* Add mouse hover information support +* Add definition provider for GDScript + ### 0.1.2 * Multiline string and `StringName` highlight support * Builtin classes, properties, functions and constants highlight support diff --git a/package.json b/package.json index 16b8ca7..bf317bd 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "Godot Tools", "icon": "icon.png", "description": "\"Tools for game development with godot game engine\"", - "version": "0.1.2", + "version": "0.1.3", "publisher": "geequlim", "engines": { "vscode": "^1.5.0" diff --git a/src/gdscript/definitionprovider.ts b/src/gdscript/definitionprovider.ts index 7feb091..4b1e88b 100644 --- a/src/gdscript/definitionprovider.ts +++ b/src/gdscript/definitionprovider.ts @@ -65,7 +65,6 @@ class GDScriptDefinitionProivder implements DefinitionProvider { if(isStr(selStr)) { selStr = getStrContent(selStr); let fpath = path.join(path.dirname(document.uri.fsPath), selStr) - console.log(fpath); if(fs.existsSync(fpath) && fs.statSync(fpath).isFile()) selStr = fpath } diff --git a/src/tool_manager.ts b/src/tool_manager.ts index eebc1e5..01b35ed 100644 --- a/src/tool_manager.ts +++ b/src/tool_manager.ts @@ -153,11 +153,8 @@ class ToolManager { let scenePath = null if(vscode.window.activeTextEditor) scenePath = vscode.workspace.asRelativePath(vscode.window.activeTextEditor.document.uri); - console.log("======================", scenePath); - console.log(Object.keys(config.scriptSceneMap).toString()); if(scenePath.endsWith(".gd")) scenePath = config.scriptSceneMap[config.normalizePath(scenePath)]; - console.log("======================", scenePath); if(scenePath && (scenePath.endsWith(".tscn") || scenePath.endsWith(".scn"))) { scenePath = ` res://${scenePath} `; this.openWorkspaceWithEditor(scenePath);