Re: [go-nuts] go language sensitive editor?
On Thu, Nov 22, 2018 at 8:54 AM Bakul Shah wrote: > What would be helpful is if 'go doc' had an -n option to show > filename:linenumer next to the go definitions its shows so that I > can right click on it and see the source file with cursor on the > right line! I subscribe to that idea. -- Aram Hăvărneanu -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [go-nuts] go language sensitive editor?
On Nov 20, 2018, at 12:52 PM, Pat Farrell wrote: > > I know, this is both a FAQ and an unanswerable question. I'm an old > programmer who has used nearly every editor known to man. I am not a fan of > whole-universe IDEs, but can use them. I also speak vi/vim pretty fluently. > > What editors do folks use for go? I'd like something that can complete > function names, understand imports, and give some assistance. I use nvi or acme, with some help from go doc and a script "g" that uses grep -n or grep -rn. nvi when I am mostly just typing as its keystrokes are in my muscle memory. acme for editing, browsing, building. It uses multiple windows quite well so I can see N files open at once, arranged the way I want. In contrast, IDEs are much too regimental about how your screen real-estate should be used and end up using it rather inefficiently. I don't particularly care for syntax coloring or function name completion etc. What would be helpful is if 'go doc' had an -n option to show filename:linenumer next to the go definitions its shows so that I can right click on it and see the source file with cursor on the right line! -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [go-nuts] go language sensitive editor?
> > To add to the responses below, a Language Server Protocol (LSP - > > https://microsoft.github.io/language-server-protocol/) implementation > > is also in the works > > Is there a link to share wrt 'in the works'? Sorry, yes, that was needlessly vague. We get updates from the Go tooling team on the golang-tools update calls: https://github.com/golang/go/wiki/golang-tools WIP implementation at https://github.com/golang/tools/tree/master/internal/lsp -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [go-nuts] go language sensitive editor?
On Wed, Nov 21, 2018 at 11:58 AM Paul Jolly wrote: > To add to the responses below, a Language Server Protocol (LSP - > https://microsoft.github.io/language-server-protocol/) implementation > is also in the works Is there a link to share wrt 'in the works'? -- -j -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [go-nuts] go language sensitive editor?
To add to the responses below, a Language Server Protocol (LSP - https://microsoft.github.io/language-server-protocol/) implementation is also in the works that will help to "level the playing field" for language awareness between editors. It will also make it possible to easily integrate new tooling like vetters, linters etc, again in a way that is consistent (at least in terms of protocol) between editors.On Tue, 20 Nov 2018 at 20:52, Pat Farrell wrote: > > I know, this is both a FAQ and an unanswerable question. I'm an old > programmer who has used nearly every editor known to man. I am not a fan of > whole-universe IDEs, but can use them. I also speak vi/vim pretty fluently. > > What editors do folks use for go? I'd like something that can complete > function names, understand imports, and give some assistance. > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [go-nuts] go language sensitive editor?
We use GoLand at our company. I used vim with plugins, but Goland is far superior when it comes to refactoring. Le mar. 20 nov. 2018 à 21:52, Pat Farrell a écrit : > I know, this is both a FAQ and an unanswerable question. I'm an old > programmer who has used nearly every editor known to man. I am not a fan of > whole-universe IDEs, but can use them. I also speak vi/vim pretty fluently. > > What editors do folks use for go? I'd like something that can complete > function names, understand imports, and give some assistance. > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [go-nuts] go language sensitive editor?
On Tue, Nov 20, 2018 at 12:52 PM, Pat Farrell wrote: > > I know, this is both a FAQ and an unanswerable question. I'm an old > programmer who has used nearly every editor known to man. I am not a fan of > whole-universe IDEs, but can use them. I also speak vi/vim pretty fluently. > > What editors do folks use for go? I'd like something that can complete > function names, understand imports, and give some assistance. Over at https://blog.golang.org/survey2017-results you can see how people answered last year's survey question "My preferred code editor". I think that just about any editor can do what you ask, in conjunction with guru and goimports. That is, I think there are plugins available to use those tools with just about every editor. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [go-nuts] go language sensitive editor?
On Tue, Nov 20, 2018 at 9:52 PM Pat Farrell wrote: > I know, this is both a FAQ and an unanswerable question. I'm an old programmer who has used nearly every editor known to man. I am not a fan of whole-universe IDEs, but can use them. > I also speak vi/vim pretty fluently. (g)vim + vim-go: https://github.com/fatih/vim-go works really well here for another old programmer ;-) -- -j -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [go-nuts] go language sensitive editor?
I'm sure you'll get lots of opinions on this. VS Code is working great for me. On Tue, Nov 20, 2018 at 2:52 PM Pat Farrell wrote: > I know, this is both a FAQ and an unanswerable question. I'm an old > programmer who has used nearly every editor known to man. I am not a fan of > whole-universe IDEs, but can use them. I also speak vi/vim pretty fluently. > > What editors do folks use for go? I'd like something that can complete > function names, understand imports, and give some assistance. > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- R. Mark Volkmann Object Computing, Inc. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[go-nuts] go language sensitive editor?
I know, this is both a FAQ and an unanswerable question. I'm an old programmer who has used nearly every editor known to man. I am not a fan of whole-universe IDEs, but can use them. I also speak vi/vim pretty fluently. What editors do folks use for go? I'd like something that can complete function names, understand imports, and give some assistance. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.