release 0.1.3

This commit is contained in:
Geequlim
2016-12-30 22:40:52 +08:00
parent ffbf1ed783
commit 90687c8a9b
5 changed files with 15 additions and 5 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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"

View File

@@ -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
}

View File

@@ -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);