Closed hackwaly closed 5 years ago
https://bitbucket.org/jatone/gilo will give you this. follow the instructions.
There are instructions in the readme for the project to create the shim for the atom editor. once you've created the shim you can just go to your project directory and execute the following commands:
# only need to touch .gopath the first time.
touch .gopath
atom
only caveat is you can have only 1 project open at a time (atom attaches to the currently running process which means whatever go environment you first opened is the one you will work in)
This seems like a problem with potentially numerous solutions, each of which may be determined by the user's preferences or the state of the current package. This suits itself well to a pluggable approach which can be extended by other packages.
I plan to:
@joefitzgerald I'll be happy to do a proof of concept integration with gilo (which supports requests for directory/filepath look ups already) for this when you have the groundwork laid out for the package depedencies.
https://github.com/DisposaBoy/GoSublime/blob/master/USAGE.md#per-project-settings--project-based-gopath It's useful if you want to put your projects outside of $GOPATH.