We need an updated version of this video, In two years lots of this has been improved. Please try this out in 2023. Like this to let Java Brains know.
@jamilxt3 ай бұрын
From Zero to Hero Coding Spring Boot Applications in VS Code kzbin.info/www/bejne/jpPTd4avmrKMnMk
@TheAnffer4 жыл бұрын
1:09 "none of us remember how to compile java code using the command line" heheheh you made my day!
@svevo3 жыл бұрын
of course I do: "mvn clean compile" ^_^
@sridharshyam3 жыл бұрын
Having worked in visual studio for so long, this makes my life easy to transfer seamlessly into Java programming with a similar setup.
@igormakarenko31702 жыл бұрын
Terrific! I follow your creative works for 8 years already. Every course or tutorial are so great explained! Your are the brilliant influencer! Thank you for your inestimable job!
@klasp1003 жыл бұрын
Finally a video that is not trash. No, seriously, all the other videos sound like an NPC is reading from a text file. Your video is very good and has helped me very much, thanks
@olaitanadesoji3719 Жыл бұрын
THIS WAS A BEAUTIFUL VIDEO FOR ME. As a salesforce developer , VSCode has been y GOTO place for all forms of development and i was hoping i wouldnt have to pay for intelliJ ultimate to learn Spring. Thank you so much for this.
@mdk19834 жыл бұрын
Sir awesome. Really appreciate that you even thought of trying this out. It does make a ton of sense for full stack developers and for financially tight freelancers. Your thought process is younger and fresher than ever. Love you sir ❤️🙏
@Java.Brains4 жыл бұрын
Thank you! Yes, it’s handy when working on web apps for sure!
@parthapal3333 жыл бұрын
being a javascript developer I often have to switch to eclipse for java during development. This tutorial is going to be very helpful for me. Thank you
@parthsalat3 жыл бұрын
Thanks a lot - from people who use vs code for springboot
@parthsalat2 жыл бұрын
Right now, I'm revising this to get a Job at *Thinkify Labs*
@JannisAdmek3 жыл бұрын
I'll say it here, I love switching between two editors. If you work on say Java and Typescript, you need to switch syntax and for me switching editor helps me with that somehow, I am so used to seeing Java in IntelliJ and Typescript in VSCode.
@ashishsadana13654 жыл бұрын
Havent you ever thought of opening a school and becoming full time teacher... I would love to join you .... you are too good...🙏🏻
@Java.Brains4 жыл бұрын
In an alternative universe where teachers are paid well, and i can afford to quit my day job and still earn a decent living, perhaps!
@ashishsadana13654 жыл бұрын
@@Java.Brains Same here... waiting for that alternate universe to appear one day... 👍🏻👍🏻
@michal2344864 жыл бұрын
He would be missing sharp and fresh real world experience then
@raghavanaliassaravananm15464 жыл бұрын
@@ashishsadana1365 Same here too :)
@sourabhsharma61134 жыл бұрын
This is just what I wanted. VS Code is quite flexible and powerful and I just love it. How to make the VS Code a go-to for a back-end developer. Thanks Koushik for making this great walkthrough from ground-up.
@TheSparfa3003 жыл бұрын
yeah my favorite thing about vs code is how modular it is
@Skullgnammer3 жыл бұрын
First comment at one of your videos (I wonder why because your tutorials saved me so many times I can't count them anymore). I'm a full stack dev and I use VScode for both frontend and backend. You just scratched the surface, there are so many more extensions you can use. Other AI autocomplete, autoformat on save, support for other platforms (quarkus and native builds anyone?) you name it. Regarding this one, there's a tab at the bottom left I didn't see you touching (or maybe you did and I missed it) "Spring boot Dashboard", it allows you to run and debug, usefoul also when you have a bunch of spring projects and you want to run them all at once. I use it when I want to debug a bundle of microservices related to each other. Thank you again for your awesome videos!
@Keralite29 Жыл бұрын
Great video. You are one of my favorite coding channels, because you explain things in a way that is both easy-to-follow and also informative. I think that using a split-screen layout, with your screen recording taking up most of the space and your live tutorial taking up the rest, is more effective at holding people's attention compared to just using a screen recording itself - it gives people a sense of face-to-face interaction which then helps them to remain focused on what is being instructed. So I think it's a very practical layout to continue using. Just my observation.
@ori_geva4 жыл бұрын
22:22 pretty sure it removed String because you auto completed without spacing out the words, I think it's more of a preference thing because I can see myself using that
@MirekKrenc4 жыл бұрын
Yes, I also think so. The same behavior I faced sometimes in Idea Intellij.
@IvanRandomDude4 жыл бұрын
True, Idea does the same thing if you don't have space.
@saamtech3 жыл бұрын
True and not true, you have 2 behaviors in Intellij, you can hit "tab" or "enter". "tab" will replace the word that is attached to the word you're trying and "enter" puts the new suggested word and retains the existing word after auto complete. I bet VS code has the same (maybe opposite key mapping tho)!
@deekshithanand30943 жыл бұрын
For working on large projects, you gotta increase xmx and xms in jdt vmargs. Current configs are tuned for container environment. And regarding that auto complete replacing is a feature. You can turn it off in setting
@awadijohan2 жыл бұрын
I want to tank you really about the excellent content about how to code for Spring Boot using VS Code and also you helped me to remember what I saw and learnt about Spring Boot so thanks again to save my time from wasting :)
@ankit_khachane4 жыл бұрын
it's really good I have been using vs code for java for the last 3 months its really a good "Free Tool" 😎😁😉
@sumondutta11014 жыл бұрын
I have a feeling that you would do the best System Design videos.
@rebeckavogel2 жыл бұрын
Thank you for this Step-By_Step Video. Really saved me a lot of time figuring stuff out basically on my own.
@guidoglielmi79922 жыл бұрын
At 22:55 "String" is removed because it was concatenated with the Annotation. Just adding a whitespace in between should do fine. And in 33:20 the way to add something to the same package is doing the same procedure but right-clicking on the io.javabrains.isthesiteup folder, not on src/main/java
@OguzSarigul4 жыл бұрын
You should have tested debugging feature as well...
@B-Billy4 жыл бұрын
+1
@trinathtalluri4 жыл бұрын
+1
@pranilkharche3203 жыл бұрын
Netbeans Extension does it for ya
@albirtarsha53704 жыл бұрын
I don't understand how this line worked for you: if (responseCodeCategory != 2 || responseCodeCategory != 3) Shouldn't that be AND instead of OR? Isn't this condition always TRUE, because being 2 and 3 is mutually exclusive?
@Sonyemman973 жыл бұрын
this error had be debugging for so long.. lol
@rimantasrozga5773 жыл бұрын
Excellent! It wasn't working for me, but I just wasn't in the mood to think and just != reversed to == and subsequently reversed output :D
@benaya63 жыл бұрын
I think he did that on purpose... or just didn't want to fix during video haha...this bug took 10 minutes of my life.. still great tutorial anyway
@nayansetty29263 жыл бұрын
Yo man as it wasma first spring program was quite demotivated thanks mate for rectifying yu guys saved ma arshe
@charonme2 жыл бұрын
came here to say this
@SmartIdiots3 жыл бұрын
Great Tutorials. I'm feeling the same as what I felt while learning from my college professor. Thanks a lot !!
@genuine.identity3 жыл бұрын
Thank you. Created my first spring boot java project..
@garymarshall74102 жыл бұрын
This video is well over a year old however it still very much applies and was very helpful. Great job. Thank you for taking the time to do this.
@TwinFeats3 жыл бұрын
First of your videos I've ever watched, and I have to say it is most excellent compared to so many others from other creators I've seen. Thanks so much for doing this!
@harishkumarforever5154 жыл бұрын
bro, love you, i learned JavaScript and angular and angular js from you , love from India
@bluesdog884 жыл бұрын
Thanks so much!! Been learning python on VS Code and i absolutely love it, now i have to learn java, thanks for running through the basics, most appreciated!
@milsp37163 жыл бұрын
Excuse me men! You drop something. your cr0wn bcz you are a man of god for me. I was looking for this. and could not find any related videos. thankyou so much.
@MadhuSudhanpro4 жыл бұрын
Microsoft has been kicking it out of the park with softwares from last few years revamping their legacy softwares like VS CODE Visual studio use to be that huge ide which single handedly hogged all the cpu resources but now it's light and everything is an add on plug in.. Kudos to team microsoft on this!! But my ♥️ will always be intellij with thier amazing IDE.. Ps there is even a intellij keybind plug in for vs code if you don't want to learn vs code shortcuts 😅
@Java.Brains4 жыл бұрын
Good call on the key binding! Yes, VS Code is a completely different app from Visual Studio, and is both light and capable at the same time. They’ve really nailed the experience overall
@ikazuchi-san57723 жыл бұрын
there is the extension name is IntelliJ IDEA Keybindings by Keisuke Kato
@Abhikalsi4 жыл бұрын
I was a bit skeptical to use VS Code for Spring Boot App development. But after watching your video I can at least give it a try with all these extensions/plugins. Thank you and Merry Christmas!!
@rubbish92312 жыл бұрын
How was your experience
@nayansetty29263 жыл бұрын
i suppose it shdve been this one if (responseCodeCategory ==2 && responseCodeCategory == 3) anywayz thanks man was searching the shit about this found ur vid reallly useful
@yurireis38753 жыл бұрын
Thanks for your video! I was looking for this for a long long time, I'm coming from C# using VS and now I'll need to work with Java, so in my point of view and with your video overview I think it's possible to stay using C# for all my stack.
@KennetP3 жыл бұрын
Great video and explanations! I've used everything except VSCode for Java and I must say I'm excited to reboot my old NetBeans/Swing apps with Spring Boot :D
@itcloudguy2 жыл бұрын
You`re awesome! Very good and useful guide! Thank you very much for this share!
@aravindp39713 жыл бұрын
resourceful Video. Will like to enjoy videos like this....Great Work....Thank you!!!
Hii, I watched your videos 3 years ago when I just started programming thanks for all the help and I use Vs code for Spring development and it works fine . Give a like to the coolest java teacher ever :)
@Java.Brains4 жыл бұрын
Thanks! 😊
@zo26003 жыл бұрын
VS code has been pretty awesome for me. I only started learning java this year and it's the one IDE I found both easy to use and download. Still getting a hang of the extensions though
@vernon_4411 Жыл бұрын
Thanks for the video. I am also surprised by how well VS code works for Java/Spring development. I do have a critical issue with VS Code though. It demands a lot of resources, both CPU and memory. It locks up my PC a few times due to a lack of hardware resources on my Linux PC. Based on my experience, it requires at least 16 GB RAM to run smoothly.
@tashidhundup84403 жыл бұрын
Wonder how to set various JVM options. like spring profile etc
@gameofnoobgon71994 жыл бұрын
its been almost more than 2 years im using vs code for java
@PhongLe-yf3wp2 жыл бұрын
Thanks so much for the helpful practical instruction!
@gvatimyboy2 жыл бұрын
Great video! Thank you. Looking forward to code Java in VSCode :)
@OmkarShetkar4 жыл бұрын
Thanks for nice tutorial Koushik... Recently I spent some time exploring VSCode for Spring project development. In most cases, it seems to meet expectations except for few cases where tedious workarounds are involved. Such as finding the implemenations of an interface, integration with Sonar server, formatting the code etc. Seems these will get improved eventually. From Intellij CE side, I noticed a plugin "Spring Assistant" to generate spring project from IDE itself.
@timstatler32142 жыл бұрын
This is such a good tutorial, thank you.
@whatthehell37043 жыл бұрын
Java code generators plugin will allow to generate code snippets like constructors setters getters tostring etc
@gtrent7744 Жыл бұрын
Hi. I have a Maven Spring Boot application which takes profile parameters and spring boot arguments to run. For the life of me I cannot debug in VsCode. This is a set of topics you did not included here so I think it would be helpful to cover this more complex setup. Also, I think debugging is the most important feature of an IDE so you really should cover that. Thanks.
@luisluiscunha3 жыл бұрын
Thank you for being such a valuable content provider. Well done! After writing this, I went for the like button, and saw I am subscribed. Which is good! Let me use the chance to tell you that the way you say the truth you say at 12:32 made me LOL :D.
@amitsharma-alwar4 жыл бұрын
Sir please give one series on reactive programming in java. Love the way you teach.
@ChristianTuyub4 жыл бұрын
I second this (:
@noel17112 жыл бұрын
I agree!!
@joincoder3 жыл бұрын
You are awesome programmer face so funny , when I watching your video , thank you for you sharing
@raghavanaliassaravananm15464 жыл бұрын
You are amazing as always dear Kaushik :) You rock. Have a great, prosperous and beautiful 2021 :)
@lvdaniel802 жыл бұрын
Thanks for this vs code java tutorial.
@shadsluiter3 жыл бұрын
I got here after running into problems with Thymeleaf plugins in Spring Boot Suite 4.8 +. VS Code actually works better with Thymeleaf editing.
@gillesashley9314Ай бұрын
As a Java/Spring boot developer myself, I have never bothered to ever try Intellij, VSCode has been more than sufficient for me.
@h-rj24 жыл бұрын
Really helpful. I was thinking to buy the Intellij. Now changed my mind ;) Thank you!
@gokhun4 жыл бұрын
I have been developing Spring Boot and Quarkus applications in Code Server (It is basically VS Code in browser) over a year. I found myself more productive compared to Eclipse. Also I run my Code Server in a more powerful server than my laptop so no fan noise.
@ori_geva4 жыл бұрын
What a mind reader, I've been working on getting to know and get used to vscode for spring boot, for the same reason where intellij is not free and eclipse feeling a bit dated
@ori_geva3 жыл бұрын
@@rarecase3666 Now where did you take that fact from? Could it be as dated as Eclipse is? Lmao I'm kidding but honestly I think VSCode is a game changer
@dinobulja3 жыл бұрын
Do you have similar video for IntelliJ with Springboot?
@vinzfatima3 жыл бұрын
Awesome content. Please keep making VS Code Java related videos
@sambit80114 жыл бұрын
Second coz everyone is 1st
@Java.Brains4 жыл бұрын
Funnily enough, you're actually first :)
@prateekmohanty46433 жыл бұрын
Very informative video, huge thumbs up!!
@lokresainathrao8995 Жыл бұрын
Really helpful tutorial. I think in #27 logical operator should be "&&" (AND) insted of "||" (OR)
@talderson13 жыл бұрын
This is saaah-weet! Thanks for making me think this was possible. I'm about to try JakartaEE and I'm going to see if it works in vscode. Maybe, maybe not, but I didn't think spring boot would work this well either.
@nathansnow3 жыл бұрын
Another quick tip for opening to the command palette in VSCode using windows, is rather than ctrl+shift+p simply hit the F1 key. I'm curious if it works on Mac also?
@kalamani91753 жыл бұрын
Great video. At last started working on Java. I have to install javacodingpack also to make it work
@andremyszko3 жыл бұрын
thanks, i was using Eclipse, but... vscode looks so much better, i will try it!
@madhunadamala3 жыл бұрын
It is having one more functionality Spring Boot Dash baord. It is very handy to start and check the service status
@PradeepKumar-sx6ms2 жыл бұрын
I saw this video before it works, please show how to run multiple spring boot application simultaneously
@TARUN8714 жыл бұрын
I use vc code to view files in formatted way on my mac but didn't realize it has java features as well using extension. I will try to use it for a week to see how do i adapt to it. Thanks for your video
@mk-gandhii3 жыл бұрын
I was already using, but I wasn't using it right. I did not have the right plugins lol. Thanks for great tutorial. It would be great if you can add a follow up video for this - "how to use maven in VS code"
@tijaniayoub58123 жыл бұрын
plz can make a video or tell me how to create a multi model project in vscode ???
@vishnusuresh26504 жыл бұрын
Using VSCode with flutter, javascript, typescript, java, python, Platformio.... It is a great text editor ...
@TheRocreex4 жыл бұрын
Thanks for the good comparison. Small remark: I am not sure how you got your app to work with the mistake in your if statement querying the response code, since it will always be true and should, thus, always say "Site is down" ;-)
@ori_geva4 жыл бұрын
Eyes of an eagle
@Naglfar834 жыл бұрын
Enlighten us: What is the error? I can‘t see it. It clearly says „If the code is not 2 or 3, return true. Otherwise return false.“ The running application also shows that it‘s correct.
@TheRocreex4 жыл бұрын
@@Naglfar83 What you say is not quite correct. It says "if the code is not 2 or if the code is not 3". Subtle difference.
@Naglfar834 жыл бұрын
@@TheRocreex I now get what you mean. He should've put an AND instead of an OR between those conditions. You're right. Now I'm surprised as well why this works. o_O
@raghavanaliassaravananm15464 жыл бұрын
@@Naglfar83 I was on the same lines :) glad you people found it. Now coming to the master piece, who Kaushik got that working? :) Any magic wind? :P
@oscarabril76592 жыл бұрын
Hi I have a question: how I can change the color output in the terminal in vscode without using the spring.output.ansi.enabled=ALWAYS in the properties file?
@samartajshaikh26012 жыл бұрын
you had two themes installed, but which one were you using ? "One Dark Pro" or "One Monokai Theme" ?
@chethan933 жыл бұрын
Hey Koushik, I am really confused as to how this code worked for you... (responseCodeCategory != 2 || responseCodeCategory != 3) condition shouldn't work for SITE_IS_DOWN case. It should be set for SITE_IS_UP case. I did this code myself. I am not getting how it is working correctly in your video!!!!!!
@skipa99062 жыл бұрын
I'm new in API development. Great tutorial, do you have a CRUD API development for SQL Server using VSCode?
@Metruzanca3 жыл бұрын
The command palette can also be opened with F1. Really good video.
@roronoa_d_law10753 жыл бұрын
22:35 intellij does the same, you need a space before adding the annotation
@MadhuSudhanpro4 жыл бұрын
17:32 even kaushik is surprised it worked in one go😆
@chinoleung64672 жыл бұрын
Isn't line 27 should be responseCodeCategory !=2 && responseCodeCategory !=3 ?
@kamaleldindaar38903 жыл бұрын
Thanks Java Brains you are the Man
@karthik4482 жыл бұрын
Pretty cool. Does it also provide an option to pass VM arguments?
@jmanuelbello4 жыл бұрын
Thanks a lot for share it, I tried with vscodium but additional configurations are needed, I'm currently use eclipse but after this video I'll give a try to vscode. Your videos are great!!!
@gamingbycobraboy10073 жыл бұрын
The JAVA PROJECTS tab sometimes just doesn't load, the loading progress bar just keeps on loading. Did anybody face this issue?
@barbarossa113 жыл бұрын
How does this work correctly? Shouldn't it actually be if (responseCodeCategory != 2 AND != 3) ???
@VinayKumarcs1274 жыл бұрын
Nice | Simple | Clear. Thank you sir 😃
@sanjeevpro4 жыл бұрын
Very nice presentation. Thanks for your time.
@divyanshusingh64732 жыл бұрын
It also has pretty nifty gui git conflict resolver. Better than what most offer.
@NirdeshM3 жыл бұрын
how do you open and run existing springboot project in VS, i am keep on getting this select app prompt when I click run in side springboot dashboard.
@roronoa_d_law10753 жыл бұрын
I wonder if it has a great debugger like the one on intellij
@joincoder3 жыл бұрын
what your extension of VS code that allow you right click then see New Java class ?
@rehansattar89903 жыл бұрын
A really nice explanation! Thank you so much for the good content. 🙌
@subhajitbarh84354 жыл бұрын
Hi Koushik, nice video. I always found vs-code lighter than IntelliJ(including vs-code extensions). About that removing String keyword thing, I think you needed to put a space before String so that vs-code won't remove it. Otherwise, vs-code thinks you are trying to correct the String keyword instead of adding another keyword.
@Java.Brains4 жыл бұрын
Yup, that makes sense! I guess I wouldn’t be surprised if other editors /IDEs did something similar
@paulliu60572 жыл бұрын
Hi, does anyone know which color theme of vscode is used in this video? Thanks!
@binwelbeck14823 жыл бұрын
I like the theme you are using, What is the name of theme sir?
@rudrakshya13 жыл бұрын
is the getter and setter work like IDE?
@Papa-Dima773 жыл бұрын
Love this video, I'm VS code user for python and C# projects, so this is very helpful to learn that Javal/Spring also works like a charm, thanks so much for this video!