These are chat archives for joefitzgerald/go-plus

14th
Jul 2015
Craig Peterson
@captncraig
Jul 14 2015 14:51
Thank's Joe for all of the great work on go-plus.
One feature I miss from liteide is package auto-completion.
It is quite nice.
So I suppose +1 to joefitzgerald/go-plus#226 but not sure if that is the entirety of it.
I can type fmt. anywhere in my code and then press enter to add the import statement.
Joe Fitzgerald
@joefitzgerald
Jul 14 2015 14:54
goimports adds / removes import statements automatically
so yeah, it’s nice to have but most of the time i just type the package i need in the first usage of it and it shows up
but this could just be a special-purpose autocomplete provider that only runs when you’re inside the import ( ) block
Craig Peterson
@captncraig
Jul 14 2015 14:55
goimports frustrates me because often my workflow is
  1. Type the package in the import block.
  2. Save to let fmt run because habit.
  3. Import disappears.
An option to put package names in the general autocomplete would be more what I am looking for.
Joe Fitzgerald
@joefitzgerald
Jul 14 2015 14:57
yes, it requires a change in workflow
  1. Write statement needing a missing import.
  2. Save, formatting and fixing the import.
acknowledged
Craig Peterson
@captncraig
Jul 14 2015 14:58
Problem is I have to spontaneously write a valid usage. But I depend on autocomplete to help me know what a package provides.
If I don't know what functions are availible in package foo is is hard to type foo.DoSomethingCrazy()
Joe Fitzgerald
@joefitzgerald
Jul 14 2015 14:59
yep
i frequently have that issue also
like i said, i acknowledged it would be nicer to have package autocompletion also
and it’s doable
it’s just not highest on my list of priorities right now
#1 is integrate with linter so i can remove a bunch of code
#2 is add debugger support
Craig Peterson
@captncraig
Jul 14 2015 15:01
that's fair
Joe Fitzgerald
@joefitzgerald
Jul 14 2015 15:02
oh and support vendoring and gb, and godeps and the litany of other things out there in the build/vendoring/pinning space
in a way that means i don’t need to build them all but it’s possible to extend the mechanisms for those
Craig Peterson
@captncraig
Jul 14 2015 15:04
delve seems really cool, but I am too addicted to clicky debugging from .net world
excited for that integration more than anything else
Joe Fitzgerald
@joefitzgerald
Jul 14 2015 15:04
imagine if delve or godebug were integrated with chrome’s debugger
that’s what i’m shooting for
and i have a template for it: that’s what nuclide does
in atom
for iOS code
it’s kind of insane
Craig Peterson
@captncraig
Jul 14 2015 15:05
interesting
Joe Fitzgerald
@joefitzgerald
Jul 14 2015 15:05
so the net effect is we don’t need to build any debugger UI
nuclide’s implementation is coupled to hhvm
Craig Peterson
@captncraig
Jul 14 2015 15:06
Is there a general purpose debugger plugin already?
Joe Fitzgerald
@joefitzgerald
Jul 14 2015 15:06
i just need to unwind it
i’m building the general purpose debugger plugin so that i can then bind delve or godebug to it
Craig Peterson
@captncraig
Jul 14 2015 15:06
I see
that’s a skeleton of a project right now
we just need a shim between the UI and the debugger
but it’s my next area of focus
a dependency for all of this is adding something called “package sets” so i can decompose go-plus into a collection of collaborating packages
atom/apm#385
so i have a dependency graph which is a little deeper than i would prefer right now and i’m trying to make it more shallow
by getting some core atom functionality changed to support the direction i’m heading in
related: atom/apm#387
and atom/atom#7638
Craig Peterson
@captncraig
Jul 14 2015 15:13
are atom devs fairly responsive to that kind of thing?
Joe Fitzgerald
@joefitzgerald
Jul 14 2015 16:34
yup
i was just on the phone with @nathansobo
they are a super responsive team :)