Closed dingrui37 closed 5 years ago
@dingrui37 what problems are you having? The instructions and the error message says to press ctrl+., ctrl+x. Did you press that key binding?
I am using Sublime build 3167, Can not find the GoSublime
pacakge.
@lifangmoler Installation instructions are here https://github.com/DisposaBoy/GoSublime#installation--support
@DisposaBoy Code completion function can not be used.
@dingrui37
Did you read the extension example file https://margo.sh/s/extension-example ?
The final step (and the error message in the status bar) says to press ctrl+.,ctrl+x. Did you press it?
@DisposaBoy I followed the instruction. i did not see the final step and no status bar shown up after i restarted the Sublime.
I do not have GoSublime
installed ( it is not available to find via install package)
I cloned GoSublime
into this folder: /Applications/Sublime Text.app/Contents/MacOS/Packages
And then restarted the Sublime.
Anything wrong?
@lifangmoler Package Control is not supported. You need to install GoSublime with git clone (as you did).
That path looks incorrect. The editable packages directory is somewhere inside your home directory like /Users/<username>/Library...
. You can find it via the Sublime Text menu Preferences > Browse Packages.
@DisposaBoy But I did not see the final step with the error messages. But GoSublime
looks working. Thanks
@lifangmoler If you're sure it's working, maybe you installed this branch some time in the past?
GoSublime
was working before. I got the error plugin_host has exited unexpectedly, plugin functionality won't be available until Sublime Text has been restarted
. Then I tried to install the latest version Sublime
and found the GoSublime
is not available to Package Control
to install anymore. I googled the issues online and tried to figure it out by myself before leaving messages here. So I may have installed the branch yesterday
@lifangmoler the plugin_host crash is probably related to this issue https://github.com/SublimeTextIssues/Core/issues/2327#issuecomment-425767504. It should be fixed now, but only in the paid/dev
version of Sublime Text.
@DisposaBoy I need to press 'ctrl + .' twice, what should I do next?
@dingrui37
From that command palette you can type Edit Margo Extension
which will open the margo.go
file. You then need to read everything in the file and change whatever settings you need, then save the file.
BTW: The correct thing to press was ctrl+.,ctrl+x
Thanks @DisposaBoy
Hi,all, I am want to use sublime text3 + gosublime for golang developing, but I have encontred some problems, but I have encountered some problems, can you give me help?
1)Install sublime text3 2 ) Install package control according to https://packagecontrol.io/installation#st3 3 ) Install gosublime, but it doesn't support now, so I follow the instructions below.
Read the extension example and make sure you understand its contents. File an issue if you have any concerns. //
I don't know what should I need to do?
Uninstall GoSublime //
Not installed before
Run the command git clone https://margo.sh/GoSublime to install GoSublime from the development branch. //
clone to C:\Users\xxx\AppData\Roaming\Sublime Text 3\Packages
Restart Sublime Text. The status bar should instruct you to press ctrl+.,ctrl+x or cmd+.,cmd+x which creates the margo extension file. Please read all comments in the file. //
If you've already switched to the new margo implementation, it might help to check the extension example for changes as there are some API breakages.