To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/DreamsofCode . The first 200 of you will get 20% off Brilliant’s annual premium subscription.
@fattoofittoo790711 ай бұрын
could you create Neovim setup for C?
@michaelmueller963511 ай бұрын
Is there a way to get the value of vectors/objects while debugging? I got the feeling, that - except for primitive data types - it's really hard to use the debugger.
@0xcoffee42710 ай бұрын
@@fattoofittoo7907 for c also same or different ?
@zombiesalad2722 Жыл бұрын
Just when I was about to resume my old c++ project from a hiatus, you dropped this! What a great timing.
@dreamsofcode Жыл бұрын
I hope it helps!
@deadmagnet63182 ай бұрын
i can smell procrastination
@Padancyo Жыл бұрын
Thank you very much for this in-depth explanation of how to setup NvChad for C++ development 🙂I am looking forward to the CMake setup!
@thartanian5 ай бұрын
Was there ever a video on nvim plugin for cmake/makefile? If not anybody have a setup for those?
@jayhathaway47203 ай бұрын
@@thartanian he never did it
@jayhathaway47203 ай бұрын
@@thartanian Honestly if you're still learning building C++ with cmake you should just use clion with the vim plugin. Set this up later.
@thartanian3 ай бұрын
@@jayhathaway4720 lol funny you mention that, I got CLion just recently, it's great ty!!
@studysavviour9 ай бұрын
Thanks mate, my VSC died and couldn't run C++ earlier, I've always wanted to switch to NVIM and now I have done it finally, Thanks a lot again.
@roshanpaudel6352 Жыл бұрын
You are awesome man !!! I also use arch and neovim. The quality content you provide are very consise and really helpful. You are really underrated !!
@dreamsofcode Жыл бұрын
Thank you for the feedback! I appreciate it and am very glad you like the content!
@scraped_2454 Жыл бұрын
You forgot the "btw"
@roshanpaudel6352 Жыл бұрын
@@scraped_2454 😂 aww man !!
@joshuarose20 Жыл бұрын
guys, this guy uses arch linux btw
@scraped_2454 Жыл бұрын
@@roshanpaudel6352 Game is the game
@JesusCastilloBenito Жыл бұрын
Thanks you for all your work and dedication! I really wanted to use nvim as my IDE for a long time, but any configuration really convinced me or worked for me until I found your NVChad series. It would be fantastic if you could also do a video making a Java setup :)
@pizzaTimePedro3 ай бұрын
First class tutorial mate! Not only go through the c++ setup but you also go through how to navigate through neovim!
@rugososphotos3646 Жыл бұрын
HUGE value in this video, just getting into nvim plus c++, this is the video I needed :)
@ndes0532 Жыл бұрын
I'd like to suggest Git for a future video. In particular tooling for resolving merge conflicts and navigating complicated branch structures. It's probably my favorite feature of Intellij and I don't know how to replicate it in Neovim.
@dreamsofcode Жыл бұрын
This is a great idea!
@antoineleduc7611 Жыл бұрын
Lazygit
@jerrymann9332 Жыл бұрын
ironically, java is the only language I wouldn't use nvim for just because intelliJ is so goated. ideavim is a must though obviously
@MoveTrueRecords_3 ай бұрын
Dude you are actually teaching me Nvim so easy then any video on youtube bro. Thank you
@joetrujillo6392 ай бұрын
Thanks for this great tutorial. It really helped me better understand how to get my Neovim all set up. I was able to get it all working as shown.
@cankocak10686 ай бұрын
Awesome video! I got into Neovim thanks to you and I'm absolutely loving it. Thank you for the amazing content 😊
@possumcode4 ай бұрын
This video can't be better. Thank you soooooooo much!
Жыл бұрын
Amazing, as the whole series so far! thanks
@mamahuhu_one10 ай бұрын
Thank you for the video. I followed all the steps and could add breakpoints with db but when I press dr I get "no configuration found for `cpp`. You need to add configs to `dap.configurations.cpp` (see `:h dap-configuration`)." Did I do something wrong?
@gregszalayofficial8 ай бұрын
I had the same error. In my case I forgot the 'event = "VeryLazy"', line for the "jay-babu/mason-nvim-dap.nvim" plugin. Adding this fixed it.
@yolepe11 ай бұрын
Thank you for all your work, there was no other guide that was as thorough as this.
@dreamsofcode11 ай бұрын
Glad it was helpful!
@VHenrik0072 ай бұрын
Unfortunately, this doesn't work for me anymore as of 2.5. The "custom" and "core" folders are not there by default, and "chadrc" is in a different location as well. If something comes up, do not copy mindlessly this tutorial. The description helped a bit by using 2.0, but it still doesn't work for me. I have issues right from the get go when selecting the theme. Try `TSInstall all`, that solved it. Then followed along, and although I have snipetts, and the linter works well with the array example, the std:: autocompletion still does not appear for some reason.
@oguilhermewilliam15 күн бұрын
Did you find a solution?
@VHenrik00714 күн бұрын
@@oguilhermewilliam Oh right! In the end for me it was caused gcc/g++ AND clang version mismatch paired with older Ubuntu version. So make sure to match your clang and gcc versions, this somehow helped. Although I gave up on this later on, so I'm not sure.
@conarius13 Жыл бұрын
One suggestion for C/C++ is the Neovim plugin Ouroboros, where you can switch between header and source files with a command. I then just created a custom mapping for it so I can switch between both of them quickly. And a follow up would be great to see how we can use include and library paths for different C++ libraries (such as Vulkan and OpenGL, OpenCL, Qt and Boost, just to name a few). I figured out how to do that within VS Code but I really wanna know how to do it in neovim, including setting build commands so the include and library paths are also used in the build command.
@dreamsofcode Жыл бұрын
This is an awesome suggestion. I may do a dedicated video to this plugin!
@theglowpt3 Жыл бұрын
The clangd lsp already supports this via ClangdSwitchSourceHeader. I'm sure it's a cool plugin, unnecessary if you have lsp set up though
@conarius13 Жыл бұрын
@@theglowpt3The author of Ourboros explained why he made the plugin: All other implementations would either throw errors easily or you can only switch from header to source but not the other way round.
@conarius13 Жыл бұрын
@@dreamsofcodeOh and I have also looked into setting up neovim for other languages as well and found very interesting plugins and configs. If you want, I could show you some of them
@theglowpt3 Жыл бұрын
@@conarius13 Interesting, I'm able to switch both ways just fine, never had any errors or issues at all really
@Redyf Жыл бұрын
The video I was waiting for, thanks dreams!
@dreamsofcode Жыл бұрын
I hope it helped!
@Shad0wMonkey5 Жыл бұрын
Can you do the perfect neovim configuration for Java please. That would be amazing and most appreciated. :D
@dreamsofcode Жыл бұрын
It's going to a vote for the next video!
@cprn. Жыл бұрын
Honestly, it looks almost exactly the same - you just need to call `:Mason`, press , find "Java" on the list, type in filter number (it's 71), enter. Now you select an LSP, linter, formatter and debugger (press "I" for "install" on each). Add formatter and linter as source for `null-ls` and you're done. TreeSitter will instal syntax files next time you open Java code. Looks the same for every language.
@JesusCastilloBenito Жыл бұрын
@@cprn. yeah, that's what i thought, but java-language-server seems to not work, so I personally don't know if I just have to go with jdtls or what :')
@cprn. Жыл бұрын
@@JesusCastilloBenito Maybe it's something that should be brought up on that LSP's bug tracker (github or whatever they use). Most servers just work out of the box.
@Zeioth Жыл бұрын
Get NormalNvim, it comes with formatter, debugger, and all the stuff preconfigured.
@houdiniping6 ай бұрын
you are a life saver, your video is just clear, easy to follow
@RT-jp9me Жыл бұрын
This is an awesome video. Thank you for explaining step by step how to proceed. However, I am a bit reluctant to go down the route suggested by you as null-ls is now deprecated. Do you have any thoughts on this?
@committedcoder33526 ай бұрын
note to more recent viewers: replace jose-elias-alvarez/null-ls.nvim with nvimtools/none-ls.nvim. Interestingly enough that is the only change necessary, as the fork is only trying to maintain the project. That means the require("null-ls") is still the same, even though it might make sense to change it to require("none-ls") (they made the decision for compatability reasons)
@VladTBK8 ай бұрын
Ik you probably won't read this, but I've been struggling for almost 5-6 hours to get the debugger to work for Neovim. I've done everything right, but never added --debug to the g++ compilation. Thank you.
@Mikkysam52 Жыл бұрын
I requested and you delivered. Thank you!
@dreamsofcode Жыл бұрын
You're very welcome. I hope you like it!
@melonTime05 Жыл бұрын
Great video - i would love if you could cover the promised Cmake/make integration within Nvim -
@jacoboneill3735 Жыл бұрын
I set up everything like was said in your video (which was great and really informative). Now I am just stuck on the build tools to save and update the build when learning. Please come out with that video as soon as possible!
@beekey4807 Жыл бұрын
i want to use it for c, everything working perfectly fine but when i trying to debug i got error. "No configuration found for 'c'. you need to add configs to 'dap.configurations.c'" any help?
@Kalasklister13377 ай бұрын
I assume you need to search which mason/nvim plugins you need for C DAP. DAP stands for debugger adapter protocol and it is seriously cool tech. You can even configure it so that you have your debugee on a server or a local docker container and debug without having any dependencies on your system. Just look around for C specific ways and you can get it to work
@NomanSethi-q3q10 ай бұрын
Thanks for the config files in the description.
@sunnyheheheh9401 Жыл бұрын
thank you for this video working exactly as you told in my own neovim configuration
@arumaga Жыл бұрын
Thank you! much appreciated for this!
@PedroMiguelMoreiraRamalho Жыл бұрын
This video is superb. I love your explanation and how you go through every single step. Very helpful! Thanks so much.
@dreamsofcode Жыл бұрын
Thank you so much. I really appreciate that feedback!
@evertonbrzozowyalves1775 Жыл бұрын
Really like your videos dude! Please keep it up.
@vimalathithand917 Жыл бұрын
This is an awesome series ! And it'd be cool if u could do a video for configuring neovim for java
@NormalNvim Жыл бұрын
Awesome video edition!!
@TahaCodes2 ай бұрын
Amazing tutorial! Thank you.
@hugog.cintra25732 ай бұрын
Great video! Thank you for it!
@alexsoul982 Жыл бұрын
Great video man, the arch/nvim comunity most trully thanks and apreciate you
@dreamsofcode Жыл бұрын
Thank you! I really appreciate that.
@AbdurrahmanHafez Жыл бұрын
Great effort thank you so much We need Front-End tools video
@milkyindo Жыл бұрын
Awesome! I am waiting for web development setup such as html/css/javascript on next video 👍
@itsrobelschwarz72487 ай бұрын
Would really appreciate that CMake video right about now
@h3li0p4us310 ай бұрын
Good job! thanks for this amazing video
@abombfuenmayor Жыл бұрын
You read my mind! I have a setup for C but it's not perfect. Going to try your setup. Thanks!
@juangdev67379 ай бұрын
For those who have problems in the last part when executing the "space nr" command. Make sure to include: event = "VeryLazy", after rcarriga/nvim-dap-ui and jay-babu/mason-nvim-dap.nvim in your lua/custom/plugins.lua file. The same thing happened to me and that's what I realized, in the video it shows it very fast at frame 13:20.
@jakubjaworski8828 Жыл бұрын
Nice video. I'd love to see stomething like this for the JavaScript and web development in general
@dreamsofcode Жыл бұрын
I shall add it to the backlog, friend!
@patfre5 ай бұрын
I have a problem in that I opened neovim after installing nvchad and instead of getting that example prompt I just get the regular neovim screen just in a different shade of gray and nothing happens.
@NBMASTER-qr2hw2 ай бұрын
did you find a solution for this? same problem here..
@romangeneral232 ай бұрын
Same here
@ShooziEditsАй бұрын
You’re probably using the latest version of nvchad. The version he uses in the video is 2.0 and you can find the git repo in the description for that
@bence71226 күн бұрын
same
@ericling15649 ай бұрын
The configuration works fine, and It's pretty easy to understand. I just have one more question , if you could help me out. I do'nt know how if there's a built in configuration to see the outline of the buffer, I myself didn't find anyway. I also don't know how to set this up. Thanks for your job anyway.👏👏👏
@Prodigy13292 ай бұрын
Did you ever actually make the make/cmake video? I had a look and couldn't find one anywhere Everything else worked great though, just swapping out the null-ls link for none-ls and changing nothing else worked flawlessly on nvim 10.1
@abdullah2211211 ай бұрын
Thanks mate! Amazing😊
@sasuflerr26 күн бұрын
Hello ! Will you make an other tutorial with a newer version of NVChad?
@abhi_survase9 ай бұрын
Very consice and easy instructions to follow. I am learning NVim on windows and this is helping me set it up. Only one thing is that at 6:22 the suggestions and autocomplete are not as many as seen here. For me after 'std::' some functions only appear if I enter a character. I have installed Cpp-toolchain using MSYS so I have clang gcc cl compilers. But have set only gcc in the path. Is this the problem?
@Cyrsztof6 ай бұрын
Hi, sorry for digging your comment after few months, but did you find the solution to this problem? I'm having the exact same issue - most suggestions are missing for me. :/
@Kian-z8m3 ай бұрын
having the same problem
@hitarthpatel Жыл бұрын
Great video exactly what I was looking for , can you please make a video/doc about the build plug-in you talk about thanks
@thartanian5 ай бұрын
I don't see a video he made about that, do you have the setup tho?
@nikodem_____5023 Жыл бұрын
Perfect, exactly what I need❤
@dreamsofcode Жыл бұрын
I hope it helps!
@korigamik Жыл бұрын
This is great, can you tell us what you use to create these amazing visuals in the video? What video editor and your configuration?
@dreamsofcode Жыл бұрын
I'm using Davinci Resolve! I'm currently packaging up my custom effects in order to sell in the near future and will be doing tutorials on them on a new channel: @dreamsofmotion. I'll do a channel post when that drops!
@davidkennedydev6 ай бұрын
Currently, it's failing, probably a incompatibility with the latest Chad version
@dreamsofcode6 ай бұрын
If you check the description, there's a note on how to use 2.0 still
@nathangale1842 Жыл бұрын
Thank you so much!!!!!!
@adibhanna Жыл бұрын
Love your videos! great content and sick editing! What are you using to edit all these videos? your animation skills is 🔥
@dreamsofcode Жыл бұрын
Thanks, dude! I use Davinci Resolve almost exclusively, with some After effects if I can't figure it out in DR. I'm planning on starting another channel for tutorials on motion graphics and am putting together an animation pack as well for some easy drag and drop effects that I use!
@adibhanna Жыл бұрын
@@dreamsofcode That's cool! I didn't know DR can do so much! I mainly use Screenflow to record my videos. but I dont' have much editing experience. How do you record your screen with DR?
@dreamsofcode Жыл бұрын
@@adibhanna I actually record with ffmpeg and use a stream deck for toggling it. I find it's the quickest way to do so for me. I have some custom scripts that also convert to ProRes and to a lossless compressed version as well. More tooling I eventually want to package up and share one day!
@adibhanna Жыл бұрын
@@dreamsofcode that's such a unique idea! love it
@Blurryavi25 күн бұрын
Hi, I followed this tutorial a while ago and it worked really well for me. I'm learning c++ but there seems to be an error with the compiler when i try to initialize every value of an array in 0. What can I do to fix that?
@UsatiyNyan Жыл бұрын
Thank you very much!
@dreamsofcode Жыл бұрын
You're welcome! Thank you for watching.
@wcrb15 Жыл бұрын
Any idea on what you're going to use going forward since null-ls is archived?
@dreamsofcode Жыл бұрын
I'm working on a video about it! There's a couple of options moving forward, but I think it's going to be decided by what the community moves to.
@michrisoft9 ай бұрын
You can just swap out the null-ls for "nvimtools/none-ls.nvim" in the plugins file and pretty much everything else is the same. You even leave require "null-ls" in the config file because none-ls was made to be a drop-in replacement.
@johng.weller4684 ай бұрын
Nice content. What desktop environment do you use?
@thenaman047 Жыл бұрын
waiting for the JS one :)
@dreamsofcode Жыл бұрын
Would you prefer web, node or deno flavored javascript?
@thenaman047 Жыл бұрын
@@dreamsofcode web + node could be easily covered in a video, right? not sure about deno, haven't gotten my hands dirty with it.
@SjurgisS8 ай бұрын
Better use the leader-E to select file tree. Took me days first time to understand that CTRL-H doesn't mean "select file tree", but rather "select window on the left".
@foxsinban75735 ай бұрын
Hi i just watched all videos of the playlist and i'm asking my self can i use all plugins at once (or a lot of them)? because for my work i need to code rust, python and c. So is it possible to use them at the same time? or do they interfear with each other?
@bantix9902 Жыл бұрын
the debugger doesn't work for me, after I do dr a new tab opens up but it doesn't look like a debugging window like on your screen. It's just blank with the title [dap-terminal].. EDIT: I copied your config and it works, but honestly it's soo complicated
@rafa65366 ай бұрын
Neovim I installed yesterday first time in my life. It's fun, liked it. But sadly for my language there are no quality plugins like there are in VSCode so I can't migrate.
@bobsoup2319 Жыл бұрын
My breakpoints keep getting rejected, although the code executes successfully - any advice? I already tried using -glldb instead of --debug, but that didn't fix it. I'm using the latest macos with an m1 mac
@dn2759 ай бұрын
I had to use cpptools instead of codelldb. cpptools can be installed using mason as well
@apurvaisnotcool Жыл бұрын
Love this video. Please make a nvchad setup for unity development. Please 🙏
@spinoscythe Жыл бұрын
note: for clang-format, you must have python3.10-venv installed, sorry Python haters
@SovieD Жыл бұрын
My guy, I literally have been scouring the internet. Thank you lol
@spinoscythe Жыл бұрын
@@SovieD you're welcome 💛
@nazarzibilyuk151117 күн бұрын
Thank you, good video, but i faced the same error as I see in the video. Print to cout doesnt reflected in dap.repl window. Maybe you know how to solve it?
@EdwinChenLoo10 ай бұрын
Thanks for the tutorial. Was the video on how to invoke custom commands to build and jump to source code with errors ever created?
@LatitudeMexico5 ай бұрын
Cool 😎 thanks, any alternative for vim?
@liyuefu6 ай бұрын
Thanks a lot! Can I just ask a question? how I can pass the argument to debug? for example, I want to run "gaussdb -D /opt/opengauss/pgdata", how to pass the -D .. etc to it? When I try to add it in the , it does not work. Thanks.
@fahim04041505 ай бұрын
Great video. Could you please tell me what font you are using?
@dreamsofcode5 ай бұрын
JetBrainsMono Nerd Font!
@bronk9247 Жыл бұрын
If you could do one of these for JVM (Java, Kotlin, Scala) you would be my hero 🙏
@dreamsofcode Жыл бұрын
Java is going to be voted on for the next one!
@crusader_ Жыл бұрын
There needs to be one for Java, JavaScript and PHP
@dreamsofcode Жыл бұрын
Added to the backlog!
@charlibareel5141 Жыл бұрын
@@dreamsofcodeyes, it will be appreciated if you can do one for Java, I'm a computer science student and we are forced to use VScode in the university, VS is good because you can immediately install the Java extension pack with all the necessary plugins, I got JDTLS to work with neovim but I have some problems getting "Gradle" and "checkstyle" linter to work properly, because we have to use them for our projects, "checkstyle" works flawlessly with Vscode
@AhmadShauqi-co3ij Жыл бұрын
Next php with xdebug, nice tutorial 👍
@TheCSarmat11 ай бұрын
Thanks a lot for the video. Is there similar instruction on how to add CMake support?
@neonbyte13379 ай бұрын
Thanks for your series! Would it be possible to add a CMake setup? I can't get neovim to resolve basic stuff like custom import directoy whenever I use a CMake based project.
@eddyecko94 Жыл бұрын
null-ls is being archived soon. Look at another way of formatting. clangd comes with a formatter. You can use that with some keybindings or auto commands to set the formatting.
@dreamsofcode Жыл бұрын
Yeah, I'm working on a video about it now. News dropped after I had uploaded and was waiting for review.
@serge933 Жыл бұрын
This is great! Is there an easy way to have nvim configured for both Python and C++? How would you go about switching between both functionalities I watched your Python one and it really helped me get up and running quickly with nvim. I thought it was going to be an absolute nightmare trying to do it on my own. Thanks for these!
@lampham78749 ай бұрын
This video is awesome as I can get a good config without knowing much about neovim yet. I have a question that, sometime I make mistake in code and there is a message popped up: (fix available). How can I apply these fixes? Thank you.
@josedegracia5246Ай бұрын
Maybe it's my fault for following a tutorial from a year ago, but it seems like the best explained to me, I thought everything was going well until I got to the TSInstall cpp part, I had already tried to configure nvim for cpp but I always ran into the Same error, I thought that following a tutorial and using a pre-configuration would help me get around the problem but it seems I won't be able to. The error happens when I enter the 'TSInstall cpp' command, when it is compiling, it shows the following error: ''In function 'tree_sitter_cpp_external_scanner_serialize' implicit declaration of function 'static_assert' [ -Wimplicit-function-declaration] undefined reference to `static_assert' " I don't know if I have to change something in the function that is giving that error or if it is something I can ignore or if it is only possible in Linux, Windows it is a little different but I didn't think there would be that much of a difference.
@Seupai-n1fАй бұрын
I don't understand a word...but it works
@romangeneral232 ай бұрын
How different is this tutorial now that NVChad is on v2.5 now ?
@22yso Жыл бұрын
Great video! Would you mind please share the setup of your terminal as well? thanks.
@dr3d3d8 ай бұрын
great video thanks very much, can you point me in the right direction for the cmake addition? would love a method of building and running from inside nvim
@klaik307 ай бұрын
Because of the latest released update for nvchad, this video is pretty hard to follow. They restructured the initial installation that now uses the "starter" repo. This has a different file structure than their regular repo for some reason and it becomes hard to link all of these requirements together.
@dreamsofcode7 ай бұрын
Yeah, it's a breaking change. You can still use the existing branch which is in the description and the comments
@klaik307 ай бұрын
@@dreamsofcode Unfortunately, that branch is changed so that the init is just a print saying "use this along starter!!!!". I dont have much experience with how this all works so I wanted to use tutorials like this video, but with the change it gets really hard to figure out what things have changed to make an easy fix 🥲
@farantariq423042 ай бұрын
Very good tutorial! It worked for me when i did it a few days ago but now when i try to install NvChad from the command given in the description there is an error: Remote branch v2.0 not found in upstream origin. Please help me.
@sparlockthewarrior-wizard30167 ай бұрын
This is pretty great. One issue I have though about .clang-format. In your exemple, you have a single cpp file in the same folder as .clang-format. But typically you want the .clang-format file in your project's root directory with source files in subfolders. If I try to do that, the file doesn't get detected if I run nvim on the root folder without any arg. It gets the default clang format. The only way I found is to have a dummy cpp file at the root (same folder as .clang-format file) and have nvim open it. Then going through folders with ctrl-n, other files I open will use my .clang-format as well. But it's not fantastic.
@pramudyatamir5479 Жыл бұрын
please make configuration for front end too, seems legit
@DalpakaNBA Жыл бұрын
youre the next @fireship !!!!!!!
@dreamsofcode Жыл бұрын
Thank you. Fireship is the GOAT still! I have a long way to go to meet his level.
@charleslowyer8926 Жыл бұрын
Can u please make a video about configuring Java in nvim. Especially configuring LSP server from Eclipse is one big nightmare for me and can't figure it out :/ There're just few videos on YT about it. I watched them like 10 times and still it doesnt work for me
@omarjadiani1205 Жыл бұрын
Do a neovim for flutter, bro ❤
@dreamsofcode Жыл бұрын
I shall add it to the next vote!
@sadabwasim9850 Жыл бұрын
Will love to see it.
@theplant4046 Жыл бұрын
doesn't flutter need full heavy IDE I mean you need this to access an emulator easily for testing mobile app I don't disagree with your comment but this comment surprised me
@omarjadiani1205 Жыл бұрын
@@theplant4046 I've seen some people using neovim, and it works perfectly. You just need some plug-ins, and you can do everything an ide does
@codegambit2507 Жыл бұрын
@@theplant4046 I use neovim + tmux for flutter. It’s a nice experience
@akashgoyal4855 Жыл бұрын
Must awaited video now came. Thank you very much now waiting for other configs for c, cmake and python. Also it will be helpful if you can tell us how to achieve the functionality from this config using keyboard shortcut?
@dreamsofcode Жыл бұрын
There is a config for python already! I shall add C and Cake to the backlog. Which copy functionality are you referencing?
@banchanbet45244 ай бұрын
hey uhh.. my clangd isn't recognizing standard headers, i 've followed the lsp installing instruction
@Kian-z8m3 ай бұрын
me to
@tuhoang66098 ай бұрын
thank you very much but I have one question how I can input compile_commands.json to clangd in vim to go to definition and declaration. I have to do this a lot while coding
@christopherwood6514 Жыл бұрын
Just as a note to some viewers: compiling with the '--debug' flag cause all the breakpoints to be rejected on the Ubuntu wsl on my computer, instead I compiled with the '-glldb' flag and everything worked fine
@dreamsofcode Жыл бұрын
Thank you for sharing this!
@bobsoup2319 Жыл бұрын
I have the same problem; the code executes fully, but it just skips all the breakpoints. I'm using the newest macos on my m1 mac though - any advice?
@shimadabr Жыл бұрын
I found this flag to be weird, didn't find it on the manual. The -g flag is very well known though, you could try with it.
@christopherwood6514 Жыл бұрын
@@shimadabr -g might also work, i think i tried it but i dont quite remember
@CheapHomeTech10 ай бұрын
I had to record the screen and then play it back in slow speed otherwise it momentarily shows the debug stuff and then reverts back to only the editor window. So looking at the screen in very slow speed I see: Console is in... Could not resolve any locations for breakpoint at main.cpp:4, but found a valid location at main.cpp:4 Launching: main Launched process ... I'm running on the latest linux mint xfce. I tried the -glldb. Still got the same thing. I suppose I'll have to play and get the right debugger settings...
@michaelcalabrese93387 ай бұрын
My tree that I start with looks nothing like yours in .config after installing nvchad, I have configs and plugins directories and chadrc, mappings, and options are just in the lua directory
@rul11753 ай бұрын
Can you make a tutorial for LazyVim. I tried to make this one work in lazy vim but I couldnt get it going. I assume clang should work with C too.