Neovim Tutorial - Java + Lombok

  Рет қаралды 21,661

Ivan Byte TV

Ivan Byte TV

Күн бұрын

At the end of this video, you will get Java configured in Neovim.
Java Development Tools Language Server (JDTLS) provides many modern tools to manage Java codebases, such as organizing imports, searching for implementation, completion and etc.
--
Chapters:
0:00 Intro
0:18 References
0:30 Plan
0:46 JDTLS
1:04 Installation
1:41 Mason
2:32 Configuration
6:02 Problem
6:41 Lombok Setup
7:13 Demo
7:43 End
--
Links:
Config from the video: github.com/Nawy/nvim-config-e...
Plugins:
mason.nvim: github.com/williamboman/mason...
nvim-jdtls: github.com/mfussenegger/nvim-...
#vim #neovim #cmp #setup #config #language #server #protocol #programming #coding #tutorial #well #explained #java #jdtls #eclipse #editor #vi #editor #code #completion #rock #metal

Пікірлер: 43
@NullboyCode
@NullboyCode Жыл бұрын
Awesome bro i was frustated with java and nvim but this is a good start point
@_zh3ro_
@_zh3ro_ 6 ай бұрын
Thank you very much for sharing your experience. One thing that I had to find out and might be helpful to others is the list of environment names for each java version: enum ExecutionEnvironment { J2SE_1_5 = 'J2SE-1.5', JavaSE_1_6 = 'JavaSE-1.6', JavaSE_1_7 = 'JavaSE-1.7', JavaSE_1_8 = 'JavaSE-1.8', JavaSE_9 = 'JavaSE-9', JavaSE_10 = 'JavaSE-10', JavaSE_11 = 'JavaSE-11', JavaSE_12 = 'JavaSE-12', JavaSE_13 = 'JavaSE-13', JavaSE_14 = 'JavaSE-14', JavaSE_15 = 'JavaSE-15', JavaSE_16 = 'JavaSE-16', JavaSE_17 = 'JavaSE-17', JavaSE_18 = 'JavaSE-18', JAVASE_19 = 'JavaSE-19' }
@IvanByteTV
@IvanByteTV 6 ай бұрын
Wow! Thanks, it's helpful!
@sozy9168
@sozy9168 Жыл бұрын
awesome, this tutorial is absolute legends!!👍👍👍👍😊😊😊😊
@PhanTanThangTH
@PhanTanThangTH Жыл бұрын
Thank you so much, I really really appreciate that :)
@specthanatos
@specthanatos Жыл бұрын
Fantastic demo!
@IvanByteTV
@IvanByteTV Жыл бұрын
Glad you like it!
@urax5341
@urax5341 Жыл бұрын
Nice one, I will try it soon.
@THeMin1000
@THeMin1000 9 ай бұрын
Hi jdtls is working great, however, lsp specific keymaps such as go to def, go to impl that are already setup for other languages are not working for some reason. What could be the reason?
@amit12000
@amit12000 Жыл бұрын
great video learn java configuration on nevvim work flawlessly as said
@879548
@879548 9 ай бұрын
Nice video, you're the best) but, can you tell me what diagnostics in your nvim? I'm using null_ls with checkstyle and cmp for autocomplete. With your guide I have autocomplete for Lombok generated methods and app builds well, but diagnostics show me that these methods're error
@longtranhoang3622
@longtranhoang3622 11 ай бұрын
Hi. Thank you for sharing. I setup successfully, but whenever I first open the project, it keeps asking to "Press ENTER or type command to continue" when downloading dependencies. How can I make it downloading in background without asking?
@nitsugaorom1091
@nitsugaorom1091 Жыл бұрын
Hi! Thank you for all the effort you put in this videos. I'd like to ask you something, do you know by chance why after configuring everything and opening a Java file, everytime I hit Ctrl+C to get out of Insert Mode my nvim crashes? It just happens in Java files. Thank you in advance!
@f8cool
@f8cool 10 ай бұрын
What?
@f8cool
@f8cool 10 ай бұрын
Ctrl c stop programs in linux. How you don't know it? Use esc for exit insert mode
@lok191
@lok191 10 ай бұрын
my colorscheme was kind of conflicting with my vim on windows and was exiting on . And I started making a bit differently, after that problem was gone. I don't know if it helps but try to set this remap: vim.keymap.set("n", "," "")
@elbromas12459
@elbromas12459 Жыл бұрын
Lombok with @getter and @setter will work for you. ? I'm using Lombok but no function when I want getters and setter
@_qaroom
@_qaroom Жыл бұрын
Hello thank you for the video, could you help me with more detailed for this configure? I can't apply this for my configure
@ggwepq604
@ggwepq604 Жыл бұрын
Hello, Im getting a Client n quit with exit code 1 and signal 0 error when i source java.lua.
@fedeanastasis7040
@fedeanastasis7040 Жыл бұрын
I don't know why but lombok still doesn't want to work even though everything the same as your configuration
@k43dz3
@k43dz3 Жыл бұрын
cool video ❤‍🔥
@IvanByteTV
@IvanByteTV Жыл бұрын
Thanks 🔥
@TwinkeJam
@TwinkeJam Жыл бұрын
Awesome
@RahulKumar-mh4bk
@RahulKumar-mh4bk Жыл бұрын
how to setup with different package manager i.e. Lazy.nvim?
@TheDutchm4n
@TheDutchm4n 11 ай бұрын
I am having trouble with some of my imports not being resolved. Some do, some don't. Not sure why. I am not using Gradle or Maven, and I am stuck with Java 1.8 for now... It was working for a while and suddenly stopped. I am not sure what's going on but I am going to follow your video and compare with my own configuration to see if there are any glaring differences. Thank you!
@rzinbrabo
@rzinbrabo 10 ай бұрын
also having problems with imports... especially with jakarta.validation
@catoflado4977
@catoflado4977 5 ай бұрын
How to create java projects in neovim?
@aleski8838
@aleski8838 Жыл бұрын
Hello, just making my configuration for Java and faced an issue “go to implementation” doesn’t work. Do you have the same problem?
@IvanByteTV
@IvanByteTV Жыл бұрын
First of all, check your keymaps or call “:lua vim.lsp.buf.definition()” directly. Then check if your JDTLS in ready status. Check Logs with “:LspLog” Does it help?
@aleski8838
@aleski8838 Жыл бұрын
@@IvanByteTV Thank you for the answer. I actually mean ":lua vim.lsp.buf.imlementation()" method. :lua vim.lsp.buf.definition() works fine. But we programming by interfaces in Java :)
@IvanByteTV
@IvanByteTV Жыл бұрын
@@aleski8838 Oh, yeah, sorry for my mistake. I was trying to answer in the early morning ASAP. Go to implementation works fine. In this video, you can see that in work. kzbin.info/www/bejne/jqWkYXZ-oLZ8rZo
@IvanByteTV
@IvanByteTV Жыл бұрын
​@@aleski8838 The best way to navigate with LSP is using Telescope with LSP commands. It works amazingly. I use it all the time.
@aleski8838
@aleski8838 Жыл бұрын
@@IvanByteTV Ye, it works in your config, I believe something wrong with mine... Logs tell me just useless info
@marinakustova7828
@marinakustova7828 Жыл бұрын
How did you setup your keymaps?
@IvanByteTV
@IvanByteTV Жыл бұрын
I put them into lua/keymaps.lua file and load via require “keymap” in init.lua. It helps to keep the config clean.
@xiLike2Doitx
@xiLike2Doitx 26 күн бұрын
What about dap?
@nevork7578
@nevork7578 Ай бұрын
Хорошее видео, но над акцентом стоит поработать, ухо режет
@Bas_Code
@Bas_Code 10 ай бұрын
The video only tell me what you're doing not teaching me what you're doing... 😢😢😢 Too fast, lot of copy and pasting not like you first video on nvim
@ermolaevym
@ermolaevym 10 ай бұрын
Oh, sorry for that. Do you like more teaching like videos ? When I’m explaining with details why?
@Bas_Code
@Bas_Code 10 ай бұрын
@@ermolaevym the first one you did was full of details and it awesome 👍, after the first one, I can follow any longer caz it was full of copy paste and super fast. Nevertheless still like your channel... Thanks for your time
Configure Neovim for Java Development
15:11
Andrew Courter
Рет қаралды 9 М.
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 889 М.
How I prepare to meet the brothers Mbappé.. 🙈 @KylianMbappe
00:17
Celine Dept
Рет қаралды 26 МЛН
I Need Your Help..
00:33
Stokes Twins
Рет қаралды 9 МЛН
[Vowel]물고기는 물에서 살아야 해🐟🤣Fish have to live in the water #funny
00:53
Glow Stick Secret 😱 #shorts
00:37
Mr DegrEE
Рет қаралды 137 МЛН
AstroNvim - лучшая IDE на NeoVim для разработчика
32:54
PurpleSchool | Anton Larichev
Рет қаралды 65 М.
I tried Neovim Distributions so you don't have to
9:12
typecraft
Рет қаралды 130 М.
NeoVim - лучший редактор кода
12:32
Чёрный Треугольник
Рет қаралды 178 М.
The Holy Grail of Neovim Note Taking
14:38
DevOps Toolbox
Рет қаралды 285 М.
Vim As Your Editor - Introduction
12:24
ThePrimeagen
Рет қаралды 763 М.
Why I Cant Stand IDE's After Using VIM | Prime Reacts
17:51
ThePrimeTime
Рет қаралды 254 М.
I tried 10 code editors
10:28
Fireship
Рет қаралды 2,8 МЛН
Why I think IDEs suck
2:58
typecraft
Рет қаралды 11 М.
Effective Neovim: Instant IDE
16:16
TJ DeVries
Рет қаралды 763 М.
Настраиваем свой конфиг для NeoVim на Lua
52:17
PurpleSchool | Anton Larichev
Рет қаралды 31 М.
Carregando telefone com carregador cortado
1:01
Andcarli
Рет қаралды 1,4 МЛН
😱НОУТБУК СОСЕДКИ😱
0:30
OMG DEN
Рет қаралды 1,9 МЛН
The power button can never be pressed!!
0:57
Maker Y
Рет қаралды 49 МЛН
Samsung vs Apple Vision Pro🤯
0:31
FilmBytes
Рет қаралды 1,3 МЛН
Чем отличается OLED от AMOLED?
0:43
Не шарю!
Рет қаралды 548 М.