Skip to content

Commit

Permalink
v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wizza-smile committed Feb 14, 2015
1 parent 7ad0f62 commit ce13639
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CodeComplice.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
}
"""

VERSION = "1.0.6"
VERSION = "1.1.0"

import os
import re
Expand Down
2 changes: 1 addition & 1 deletion CodeComplice.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
},
"Go": {
"env": {
"GOPATH": "~/gocode"
"GOPATH": "$GOPATH"
},
"go": "/usr/local/go/bin/go",
"gocode": "~/gocode/bin/gocode",
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions libs/codeintel2/lang_go.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"1.1.0": "messages/1.1.0.txt"
}
12 changes: 12 additions & 0 deletions messages/1.1.0.txt
Original file line number Diff line number Diff line change
@@ -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
12 changes: 6 additions & 6 deletions packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
Expand Down

0 comments on commit ce13639

Please sign in to comment.