mirror of
https://github.com/godotengine/godot-vscode-plugin.git
synced 2025-12-31 13:48:24 +03:00
release 0.1.3
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user