GithubHelp home page GithubHelp logo

komodo-go's People

Contributors

defman21 avatar mitchell-as avatar naatan avatar shuhaowu avatar th3coop avatar tmc avatar trentm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

komodo-go's Issues

Go paths not saving on Komodo Edit 9 OS X

Open Preferences -> Languages -> Go
"Default Go location" fields are empty.
Fill them with the correct paths.
"Apply" and "OK"

Open Preferences -> Languages -> Go again.
"Default Go location" fields are empty again.

pystderr.log file reports the following:

ERROR:xpcom:Creation of class '<class 'component:koGoLanguage.KoGolangLinter'>' failed!
Exception details follow

ERROR:xpcom:Unhandled exception calling 'int8 * createInstance(in nsISomething, in nsIID &, out retval InterfaceIs *);'
Traceback (most recent call last):
  File "/Applications/Komodo Edit 9.app/Contents/Resources/python/xpcom/server/policy.py", line 300, in _CallMethod_
    return 0, func(*params)
  File "/Applications/Komodo Edit 9.app/Contents/Resources/python/xpcom/server/factory.py", line 57, in createInstance
    return self.klass()
  File "/Users/leo/Library/Application Support/KomodoEdit/9.0/XRE/extensions/[email protected]/components/koGoLanguage.py", line 174, in __init__
    getService(components.interfaces.koIAppInfoEx)
  File "/Applications/Komodo Edit 9.app/Contents/Resources/python/xpcom/components.py", line 195, in getService
    return serviceManager.getServiceByContractID(self.contractid, _get_good_iid(iid))
  File "<XPCOMObject method 'getServiceByContractID'>", line 3, in getServiceByContractID
Exception: 2147746132 (NS_ERROR_FACTORY_NOT_REGISTERED)
[2015-03-27 11:40:11,658] [ERROR] lint: 
-- EXCEPTION START --
[Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [koILintService.addRequest]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://komodo/content/lint/lint.js :: this.lintBuffer.prototype._issueRequest :: line 477"  data: no]
+ toString (function) 3 lines
+ message (string) 'Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [koILintService.addRequest]'
+ result (number) 2147549183
+ name (string) 'NS_ERROR_UNEXPECTED'
+ filename (string) 'chrome://komodo/content/lint/lint.js'
+ lineNumber (number) 477
+ columnNumber (number) 0
+ inner (object) null
| + data (object) null
| + stack (string) 'this.lintBuffer.prototype._issueRequest@chrome://komodo/content/lint/lint.js:477:12
this.lintBuffer.prototype._continueRequest@chrome://komodo/content/lint/lint.js:421:8
'
+ location (object) JS frame :: chrome://komodo/content/lint/lint.js :: this.lintBuffer.prototype._issueRequest :: line 477
| + QueryInterface (function) 3 lines
| + language (number) 2
| + languageName (string) 'JavaScript'
| + filename (string) 'chrome://komodo/content/lint/lint.js'
| + name (string) 'this.lintBuffer.prototype._issueRequest'
| + lineNumber (number) 477
| + columnNumber (number) 12
| + sourceLine (string) ''
| + caller (object) JS frame :: chrome://komodo/content/lint/lint.js :: this.lintBuffer.prototype._continueRequest :: line 421
| + formattedStack (string) 'this.lintBuffer.prototype._issueRequest@chrome://komodo/content/lint/lint.js:477:12
this.lintBuffer.prototype._continueRequest@chrome://komodo/content/lint/lint.js:421:8
'
| + stack
    this.lintBuffer.prototype._issueRequest@chrome://komodo/content/lint/lint.js:477:12
    this.lintBuffer.prototype._continueRequest@chrome://komodo/content/lint/lint.js:421:8
-- EXCEPTION END --

Highlighting builtins

Is it possible to highlight builtins such as len like Komodo does in Python?

I can't figure this out myself.

XML Parsing Error: undefined entity

After installing Komodo and the plugin I open preferences -> languages -> Go and see the following:

XML Parsing Error: undefined entity
Location: chrome://golang/content/pref/pref-golang.xul
Line Number 40, Column 13:

can not open golang preference dialog

can not open golang preference dialog.

error messsage:

XML Parsing Error: undefined entity
Location: chrome://golang/content/pref/pref-golang.xul
Line Number 40, Column 13:            <caption label="&defaultGolangLocation.label;"/>
------------^

Failed to Load Python Module

I get the following error when trying to use the plug-in.

System Info:
OS: Linux Mint 17
Komodo Version: Komodo Edit, version 8.5.4, build 14424, platform linux-x86_64.
Komodo-Go: 1.3.1

Failed to load the Python module: '/home/jason/.komodoedit/8.5/XRE/extensions/[email protected]/components/koGoLanguage.py'

Traceback (most recent call last):
  File "/home/jason/Komodo-Edit-8/lib/mozilla/python/xpcom/server/loader.py", line 134, in loadModule
    return self._getCOMModuleForLocation(aLocalFile)
  File "/home/jason/Komodo-Edit-8/lib/mozilla/python/xpcom/server/loader.py", line 158, in _getCOMModuleForLocation
    py_mod = loader.load_module( module_name_in_sys, stuff )
   File "/home/jason/Komodo-Edit-8/lib/python/lib/python2.7/ihooks.py", line 272, in load_module
m = self.hooks.load_source(name, filename, file)
  File "/home/jason/Komodo-Edit-8/lib/python/lib/python2.7/ihooks.py", line 170, in load_source
    return imp.load_source(name, filename, file)
  File "/home/jason/.komodoedit/8.5/XRE/extensions/[email protected]/components/koGoLanguage.py", line 27, in <module>
    class koGoLanguage(KoLanguageBase, KoLanguageBaseDedentMixin):
  File "/home/jason/.komodoedit/8.5/XRE/extensions/[email protected]/components/koGoLanguage.py", line 35, in koGoLanguage
[components.interfaces.koIInterpolationCallback]
  File "/home/jason/Komodo-Edit-8/lib/mozilla/python/xpcom/components.py", line 103, in __getattr__
    return self._get_one(attr)
  File "/home/jason/Komodo-Edit-8/lib/mozilla/python/xpcom/components.py", line 153, in _get_one
    raise xpcom.COMException(nsError.NS_ERROR_NO_INTERFACE, "The interface '%s' does not exist" % name,))
<class 'xpcom.Exception'>: 2147500034 (The interface 'koIInterpolationCallback' does not exist)

Thanks

Nice. Thanks for this.

codeintel cannot be started on windows

http://forum.komodoide.com/t/ide-9-golang-codeintel-failure/1563?u=diddledan (duplicated below):
referencing: http://forum.komodoide.com/t/komodo-ide-9-error-compiling-outline-unable-to-locate-go-executable/1405/11?u=diddledan

log lines:

[2015-05-12 20:40:24,644] [ERROR] process: process.py: can't execute None ("C:\Program Files (x86)\ActiveState Komodo IDE 9\lib\mozilla\extensions\[email protected]\golib\outline.exe" d:\daniel\documents\go\src\bang\cluster\cluster.go)
[2015-05-12 20:40:24,667] [ERROR] codeintel.go: Error executing '['C:\\Program Files (x86)\\ActiveState Komodo IDE 9\\lib\\mozilla\\extensions\\[email protected]\\golib\\outline.exe', u'd:\\daniel\\documents\\go\\src\\bang\\cluster\\cluster.go']': [Error 2] The system cannot find the file specified
[2015-05-12 20:40:24,727] [ERROR] codeintel.indexer: unexpected internal error in indexer: ignoring and continuing
Traceback (most recent call last):
  File "C:\Program Files (x86)\ActiveState Komodo IDE 9\lib\mozilla\python\komodo\codeintel2\indexer.py", line 516, in run
    self._iteration()
  File "C:\Program Files (x86)\ActiveState Komodo IDE 9\lib\mozilla\python\komodo\codeintel2\indexer.py", line 583, in _iteration
    buf.scan(mtime=request.mtime)
  File "C:\Program Files (x86)\ActiveState Komodo IDE 9\lib\mozilla\python\komodo\codeintel2\citadel.py", line 279, in scan
    scan_error = scan_tree[0].get("error")

This log suggests that the executable argument is empty in the _execute_child function in <komodo-root>/lib/mozilla/python/komodo/process.py. I've not figured-out where executable is specified yet, but I can see that it is external to the _execute_child function in process.py.

Do you have any ideas what I can do to get golang code intelligence to work based on the problems above? Is there any more information I can provide to help diagnosis?

Inbuilt support for running/debugging Go programs (e.g. Debug, Run without Debugging).

If I open up a Go program, and attempt to run it via Debug, Run without Debugging, I get:

screenshot 2015-09-07 06 26 16

This is quite unintuitive, as most people would expect the program to run if you went to Debug, Run =).

I know there's a workaround, by using Tools, Run Command to manually run things like go run %F (although the PATH for this is also weird), however, it'd be neat if there was integrated support for running Go programs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.