In this video we'll explore setting up Vim with a Language Server Protocol Client (LSP) and vim-go to make a fully functional Go IDE in 2019+. blog: octetz.com/pos...
Пікірлер: 66
@feignenthusiasm5 жыл бұрын
This was a seriously awesome tutorial, thanks so much!
@bejaminhofmann41442 жыл бұрын
This is so awesome. It allows me to now use vim as my main editor. I just couldn't remember all the commands for the different languages I use. Now they're the same for all of them.
@chillbro2275 Жыл бұрын
Really a terrific video, Josh! I got a lot of what i needed, plus plenty of bonuses.
@viertekco8 ай бұрын
This is a great video tech tutorial is sound and he does great at keeping pace. Especially like that it's just a plain video...no hollywoodtube😊effects. Well done
@jorgealarconalvarez Жыл бұрын
Thank you! Very clear and easy to follow tutorial!
@PompaTG3 жыл бұрын
Very nice! Will be using Go for a class that start in a couple of weeks, so I'll be setting up Vim beforehand :)
@karansingh-kp3xg4 жыл бұрын
I just use SpaceVim for any language, and i find it very productive. you get everything on one space command.
@AlanOliveira-tb5ku2 жыл бұрын
That was a lifechange my friend ! Thank you very much
@daltonyon2 жыл бұрын
Thank u man, help me a lot!
@azzalos5 жыл бұрын
Thanks man! This was awesome! I'm setting it up now!
@jaytirth4 жыл бұрын
Wonderful explanation! Thank You.
@d4veg4 жыл бұрын
Very useful set of tooling.
@hsrkfzycfod85 жыл бұрын
You're my God now. That's exactly what I was looking for!! Thanks!
@MrHivongxanh4 жыл бұрын
Really really helpful for me. Thank you very much for your sharing.
@PeterPetrakis3 жыл бұрын
You killed it. Thank you!
@IsaAnsharullah2 жыл бұрын
I have used vim-go for quite sometime but I missed the autocomplete functionality. Thanks!
@patrickmwangi79183 жыл бұрын
This is very useful. Thanks.
@Velobetty4 жыл бұрын
Should also mention govim which is vim-go but implemented in Go! :)
@rek2hispagatos4984 жыл бұрын
do you have a link? I am trying to avoid having more python on my system im so tired of it thanks
@rek2hispagatos4984 жыл бұрын
nevermind I switched the terms of my search and got it I think github.com/govim/govim
@Velobetty4 жыл бұрын
@@rek2hispagatos498 yes, that's it! 😊
@ZenMonkIlya3 жыл бұрын
Fantastic explanation, thanks!
@saalimkhan41334 жыл бұрын
Beautifully taught
@sshr44925 жыл бұрын
Awesome, exited to see you debugging go code in next video :)
@SupreetSinghsuppi3 жыл бұрын
Great video my dude.
@eamirgh4 жыл бұрын
Thanks man! You are beyond levels of awesomeness. *_*
@merlynwang56834 жыл бұрын
lots of help , thank you so much man
@herrwolken4 жыл бұрын
You are very good at this. Consider doing more tutorials and how-tos. I will subscribe. Do you talk on tech conferences? You sound loke you do.
@krige8 ай бұрын
Are you still using vim-go as your go editor? Feels like too much hassle to setup and maintain if compared to VsCode
@jonathanmatthews89284 жыл бұрын
Great intro - TVVM!
@user-tf3km2qz9j4 жыл бұрын
helpful for me.感謝 thanks
@neblocben33074 жыл бұрын
Super useful! Thanks!
@StephaneArcher Жыл бұрын
Why did you choose to come back to vim after trying VSCode and realizing it was simpler there? What is the thing that makes you use vim?
@joshrosso Жыл бұрын
It's a great question and I don't a bunch of passion around my editor or IDE to justify its usage. At a high-level, I really enjoy plugging into the language servers directly and having a level of a customization and transparency. I'll also mention that neovim has done a LOT to make it a viable development environment. For example, building the language server protocol in, so that you don't need CoC at all. VSCode, Intellij, (n)vim are all great. Use what brings you joy. Suffice to say, a lot has changed this this video was made 3 years ago 🙂.
@SeanWingert5 жыл бұрын
Nicely done! Thank you!
@aaronyang12844 жыл бұрын
May I ask that have you shared your dotfiles in github? Want more info about your colorscheme, font ..and so on.
@hamed7754 жыл бұрын
Awesome👏👏👏
@alihammadshah5 жыл бұрын
I have a similar setup and get coc errors sometimes. Searching on the web i find there seems to be some conflict b/w go-vim and coc. i happened rarely but is annoying. Has anything similar happened to you?
@scriptworld3 жыл бұрын
got one question: i think that this setup (i got the same) lacks on syntax highlighting for example function names etc... do you go with the default one (which is like nothing) or have you another extension / setting making the code a little bit more colorish ?
@user-on1br5qc2g2 жыл бұрын
install theme, then :set syntax on
@reddyabeltintayaconde56572 жыл бұрын
I'm new using vim
@pevenphoon73594 жыл бұрын
It will start two gopls processes, one for coc and one for vim-go.
@scott85933 жыл бұрын
Nice video
@deeeeeds5 жыл бұрын
Have you had weird side effects when writing other languages without a language server installed? Do you know if CoC just falls back on standard "gd" behavior if it doesn't have a configured language server?
@deeeeeds5 жыл бұрын
@@joshrosso I gave it a whirl and spent last night refactoring my entire Vimrc, and it's paid off in spades today. The language server is appreciably faster than using gocode and vim-go. It feels good to close VSCode and go back to the terminal. Thanks for the vid/article!
@failuminati51345 жыл бұрын
Which font are you using in vim?
@Showmannzzz5 жыл бұрын
Hi there, Thanks for the tutorial! I am having small issues with the errcheck at the moment. Ccurrently if I cause an error (typing akjdfjakjsdfh) and write, ther will be no quickfix menu that pops up to show my error. I have had the rare occasion the box comes up, but i cant reproduce it. The error is indeed there as my git-gutter shows it as red and when i put my cursor over it, it will show the error the same place as where it shows the parameters of the function in the bottom. It seems to show the error, then it soon gets overriden by the parameter description on the bottom. Any ideas?
@hsrkfzycfod85 жыл бұрын
For me it's the other way around, I can't see the function parameters at the bottom at all D:
@boh419 Жыл бұрын
blog link is down
@stuckinforloop4 жыл бұрын
How to do the LSP section with vim 8.2
@YoungMesrine3 жыл бұрын
Please sir , can you make a video to connect go with vscode on Ubuntu?
@nathanhyland3 жыл бұрын
Any idea why my autocomplete and info shows up twice if I put in my Coc go config?
@nathanhyland3 жыл бұрын
ah I had coc-go installed as well as the coc config golang settings
@ruhnet4 жыл бұрын
Fantastic video! Thank you! My only gripe is that the proper pronunciation of JSON is "Jason" (like the name), not "jay-sawn." :-D
@imetatroll37454 жыл бұрын
You should use $HOME.
@Oswee5 жыл бұрын
Really great tut. But i didnt get it... is it possible to install VS Code extensions? That would be crazy awesome. I need some to work with LitElements.*.ts. :) Must dig deeper into this. :)
@danielorodriguez16894 жыл бұрын
Yes, coc allows to install vscode extensions. I use some snippet collections. Not sure if it will work for more advanced ones
@otoritech4 жыл бұрын
when i type ".", result is : source languageserver.golang timeout after 5000ms. how to fix this one?
@arthur13382 жыл бұрын
What about neovim ?
@joshrosso2 жыл бұрын
I actually use neovim and its integrated LSP client now. I'll need to update this video at some point.
@meuko2 жыл бұрын
@@joshrosso What a coincidence, came back to this video after a few years to check for the most recent comments on neovim and this is what I see. Anyways, not sure if you encounter this too, but have you by any chance ever ran into the issue of declaring new language objects(a struct for example) in different files, and current open buffers not being aware of said language objects? I have to close all buffers and reopen for the integrated lsp client to offer autocomplete -_-
@user-bz7gt4zi7r Жыл бұрын
Not very portable:/
@xiaodonghuan22855 жыл бұрын
your video lost lots of features of coc and vim-go..and neovim