From ce1363949561d623e4357ffa157a3f4da69c42f5 Mon Sep 17 00:00:00 2001 From: Jonas Karsten Date: Sat, 14 Feb 2015 14:29:51 +0100 Subject: [PATCH] v1.1.0 --- CodeComplice.py | 2 +- CodeComplice.sublime-settings | 2 +- README.md | 9 +++++++++ libs/codeintel2/lang_go.py | 4 ++-- messages.json | 3 +++ messages/1.1.0.txt | 12 ++++++++++++ packages.json | 12 ++++++------ 7 files changed, 34 insertions(+), 10 deletions(-) create mode 100644 messages.json create mode 100644 messages/1.1.0.txt diff --git a/CodeComplice.py b/CodeComplice.py index 2518b1d..742462f 100644 --- a/CodeComplice.py +++ b/CodeComplice.py @@ -62,7 +62,7 @@ } """ -VERSION = "1.0.6" +VERSION = "1.1.0" import os import re diff --git a/CodeComplice.sublime-settings b/CodeComplice.sublime-settings index 3f5fe67..de46a2f 100755 --- a/CodeComplice.sublime-settings +++ b/CodeComplice.sublime-settings @@ -126,7 +126,7 @@ }, "Go": { "env": { - "GOPATH": "~/gocode" + "GOPATH": "$GOPATH" }, "go": "/usr/local/go/bin/go", "gocode": "~/gocode/bin/gocode", diff --git a/README.md b/README.md index 33cf9fe..139eec9 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Based on the open-source Code intelligence from [Open Komodo Editor](http://www. Supported languages for Code Intelligence (CIX, CodeIntel2): + Go Python Python3 Django @@ -179,6 +180,14 @@ To force re-indexation of the code intelligence database you need to follow thes What's New ---------- +v1.1.0 (2015-02-15): + ++ added support for golang. ported from [komodo-go](https://github.com/Komodo/komodo-go) + ++ avoid unnecessary trigger evaluation + this will be a appreciable speedup on older systems + + v1.0.6 (2015-02-11): + [this](https://github.com/SublimeCodeIntel/SublimeCodeIntel/issues/477) is now working diff --git a/libs/codeintel2/lang_go.py b/libs/codeintel2/lang_go.py index 362ffc6..6a51305 100644 --- a/libs/codeintel2/lang_go.py +++ b/libs/codeintel2/lang_go.py @@ -373,7 +373,7 @@ def invoke_gocode(self, buf, trg, ctlr): def get_go_exe(self, env): golang_path = env.get_pref("go", "") - if golang_path and os.path.exists(os.path.expanduser(golang_path)): + if golang_path and os.path.exists(golang_path): return golang_path path = [d.strip() for d in env.get_envvar("PATH", "").split(os.pathsep) @@ -388,7 +388,7 @@ def _get_gotool(self, tool_name, env): # Then try which # Finally try relative to the golang executable tool_path = env.get_pref(tool_name, "") - if tool_path and os.path.exists(os.path.expanduser(tool_path)): + if tool_path and os.path.exists(tool_path): return tool_path path = [d.strip() for d in env.get_envvar("PATH", "").split(os.pathsep) diff --git a/messages.json b/messages.json new file mode 100644 index 0000000..fb37134 --- /dev/null +++ b/messages.json @@ -0,0 +1,3 @@ +{ + "1.1.0": "messages/1.1.0.txt" +} \ No newline at end of file diff --git a/messages/1.1.0.txt b/messages/1.1.0.txt new file mode 100644 index 0000000..59e9ffe --- /dev/null +++ b/messages/1.1.0.txt @@ -0,0 +1,12 @@ +CodeComplice v1.1.0 Release Notes +===================================== + + +CHANGES/FIXES +------------- +v1.1.0 (2015-02-15): + ++ added support for golang. ported from [komodo-go](https://github.com/Komodo/komodo-go) + ++ avoid unnecessary trigger evaluation + this will be a appreciable speedup on older systems \ No newline at end of file diff --git a/packages.json b/packages.json index 9e7e163..2a3abd4 100644 --- a/packages.json +++ b/packages.json @@ -7,15 +7,15 @@ "releases": [ { "sublime_text": "<3000", - "version": "1.0.6", - "url": "https://github.com/spectacles/CodeComplice/archive/v1.0.6+st2.zip", - "date": "2015-02-11 00:00:00" + "version": "1.1.0", + "url": "https://github.com/spectacles/CodeComplice/archive/v1.1.0+st2.zip", + "date": "2015-02-15 00:00:00" }, { "sublime_text": ">=3000", - "version": "1.0.6", - "url": "https://github.com/spectacles/CodeComplice/archive/v1.0.6.zip", - "date": "2015-02-11 00:00:00" + "version": "1.1.0", + "url": "https://github.com/spectacles/CodeComplice/archive/v1.1.0.zip", + "date": "2015-02-15 00:00:00" } ] }