These are chat archives for nelsam/vidar

12th
Feb 2017
Kvaz1r
@Kvaz1r
Feb 12 2017 16:31
Yes, I looked. Guess now show suggestions also go-only.
Samuel Nelson
@nelsam
Feb 12 2017 21:14
I was planning to leave "show suggestions" as generic, but update the different suggestion engines to be plugins
so you would always use the same key binding to show suggestions, but the process you would hit would be dependent on the registered plugins
at least for now
Kvaz1r
@Kvaz1r
Feb 12 2017 21:24
sounds reasonable. Btw, need add support for replace tabs to spaces and backward.
Samuel Nelson
@nelsam
Feb 12 2017 21:27
eh, I think I'd rather encourage people to use a formatting tool
gofmt will fix all of that
for go, anyway
and there are similar tools for most languages
even for the languages where a tool like that doesn't exist, the correct thing to do is write a quick tool that the team uses to apply format fixes
elm has elm-format, python has several pep-8 tools, etc
and I'd rather provide good support for running something like that on save, rather than allowing programmers to alter the style manually
Kvaz1r
@Kvaz1r
Feb 12 2017 21:31
right, gofmt, right. For me almost midnight so...a little sleepy. Usually write on C++ maybe know tool for it?
Samuel Nelson
@nelsam
Feb 12 2017 21:32
did a quick google, this seems like it'd work: http://astyle.sourceforge.net/
I need to add a hooks framework to make that work, though
Kvaz1r
@Kvaz1r
Feb 12 2017 21:33
thanks, download