Questions tagged [gosublime]

GoSublime is a Golang plugin collection for the text editor SublimeText 2 providing code completion and other IDE-like features.

GoSublime is a Golang plugin collection for the text editor SublimeText 2 providing code completion and other IDE-like features.

13 questions
4
votes
1 answer

GoSublime/GoLint caching Import Packages?

Does SublimeText 3 / GoSublime have some type of caching of Go import packages? If so, how do I clear it on demand? I ask because while writing a custom package that is under Github source control, it works until I refactor a func or struct. Then,…
eduncan911
  • 17,165
  • 13
  • 68
  • 104
3
votes
0 answers

Certain packages cannot be found in Sublime Package Control

I'm trying to install a package in Sublime on my Mac. I installed Package Control without a problem. When I activated Package Control, a list of packages showed up, but it only included packages from 1337 Color Scheme to Copy Relative Path in…
James
  • 43
  • 5
2
votes
1 answer

Sublime Text: "MarGo: Missing required environment variables: GOPATH"

In order to program with Golang in a more productive way, I just installed GoSublime for Sublime Text 2, as explained on their official GitHub repository: Installation Sublime Package Control allows you to easily install or remove GoSublime (and…
Thibaud Clement
  • 6,607
  • 10
  • 50
  • 103
2
votes
1 answer

GoSublime's GoLint / GoType not working (no duplicate)

Having a problem getting GoSublime + Linters enabled/detected on Debian Testing in Sublime 3. I've done this a half a dozen times on OSX and Windows machines without fail. The ST console says: SublimeLinter: debug mode: off SublimeLinter:…
eduncan911
  • 17,165
  • 13
  • 68
  • 104
1
vote
0 answers

Gosublime doesn't accept standard input from console

I just downloaded lastest sublime yesterday, a new user to sublime. I am using gosublime:go to implement some basic command. Problem came out when I tried to run the following code: package main import ( "fmt" ) func main() { …
KKIRIRI
  • 11
  • 1
1
vote
1 answer

How to make Sublime text build execute on numpad enter?

I use GoSublime inside sublime text for Golang development. Pressing Ctrl + B gives me the build pane, then I need to type a command e.g., go run main.go and press Enter. When I want to execute a command using numpad Enter it doesn't work. How to…
Cute Tom
  • 111
  • 3
  • 9
1
vote
1 answer

Prevent .bat file closing when I run Go script via drop down

I have this little Hello World program written in Go: package main import "fmt" func main() { fmt.Printf("hello, world\n") } I use Sublime Text 3 with GoSublime. Something misconfigured, because Tools -> Build command not working, just only…
Lanti
  • 2,299
  • 2
  • 36
  • 69
0
votes
1 answer

"go run" is going in infinite loop using sublime text 3

I am trying to run go code in sublime text 3. package main import ( "fmt" ) func main() { fmt.Println("Hello, playground") } However, when I go under Tools -> Build I see that the program goes in infinite loop. GoSublime r17.03.05-1 9o:…
me24hour
  • 629
  • 3
  • 8
  • 15
0
votes
0 answers

Gosublime indent not working (might be there is an issue with gofmt in gosublime)

I have pasted two images here Here you can see proper indentation in Gedit text editor Now, in Sublime3 it is not proper I'm using GoSublime and my settings are: { "env": { "GOROOT": "/usr/local/go", "GOPATH":"$HOME/go-work" …
rsudip90
  • 799
  • 1
  • 7
  • 24
0
votes
1 answer

Overlay the function signature in goSublime

I am using GoSublime with Sublime Text 3. Often times in a large project I'd like to see the (function) caller's return arg types and while GoSublime enables me to "Go to" the declaration, that's still sub-optimal, compared to having an overlay…
7hacker
  • 1,928
  • 3
  • 19
  • 32
0
votes
0 answers

Unable to install GoSublime plugin

I have tried to install GoSublime plugin in Ubuntu-12.04 machine. Following the below URL instruction, http://tarsis.org/?p=108 When I tried to execute the below command in Sublime Console, i getting error. Trying Command, import urllib2,os;…
sprabhakaran
  • 1,615
  • 5
  • 20
  • 36
0
votes
1 answer

Why isn't GoToMyPC as useful for remote access of android devices?

Example of GoToMyPC. This application includes Alt, Ctrl, Tab and F1-F12, among others. Using these keys, you can use shortcuts like Ctrl + C to Copy, and you can send Ctrl-Alt-Del by tapping those keys on the mobile keyboard toolbar one after the…
Google
  • 80
  • 13
-2
votes
1 answer

Gosublime:How does it can show me the function's params informations when it works

It can work good with sublime text 2,now i want to know the function's params count and type,it only show me the function's return type. The plugin can't do the thing,is there any methods can solve the problem ? or we can modify the code to reach it
allen
  • 250
  • 4
  • 13