NvChad - Neovim - Go/Golang - Archlinux

Поділитися
Вставка
  • Опубліковано 27 жов 2024

КОМЕНТАРІ • 17

  • @ProgrammingRainbow
    @ProgrammingRainbow  2 місяці тому

    UPDATE: I think all the formatters for Go only apply to actual .go files. So all non Go filetypes have been removed from conform.lua.
    In `treesitter.lua` gotmpl has been added.

  • @selvamp5775
    @selvamp5775 2 місяці тому

    👍👏👏

  • @its_code
    @its_code 2 місяці тому

    ❤❤❤😊

  • @brandonh2690
    @brandonh2690 Місяць тому

    The Yen to ThePrimeagen's Wang... i mean Yang 😅

  • @ricardoruiz3248
    @ricardoruiz3248 2 місяці тому

    could you please make a video where you add lets say dap for debugging and delve for unit tests? I would like to make my own config but I dont have time by now, so I was wondering if you could make that config and share your repo. thanx! Good job, btw.

    • @ProgrammingRainbow
      @ProgrammingRainbow  2 місяці тому +1

      @ricardoruiz3248 If you have a look at my Neovim NvChad (Dreams of Code) video, I duplicate the old dreams of code video with dap all setup. It should be all the same for go or other languages only the final dap-python part would need to be changed.

    • @ProgrammingRainbow
      @ProgrammingRainbow  2 місяці тому +1

      @ricardoruiz3248 ua-cam.com/video/m0OobzFjEKE/v-deo.htmlsi=i5sA9QxMELr7giZ2 at 23:40 I start to show how to setup dap. The only part that is python specific is the final dap-python part.

  • @joaocarlosfilho
    @joaocarlosfilho Місяць тому +1

    Please add nvim dap go

    • @ProgrammingRainbow
      @ProgrammingRainbow  Місяць тому

      @joaocarlosfilho yes when I have some time to figure it out in Go I will.

  • @opposites-369
    @opposites-369 2 місяці тому

    Please add debugpy + DAP & DAP.UI
    PHP & phpactor + xdebug 🙏🏻
    manny thx for your efforts 👍🏻

    • @ProgrammingRainbow
      @ProgrammingRainbow  2 місяці тому

      @opposites-369 If you check the github for the video, you will see it already has instructions for basic Python. Also, it's added to the config files just commented out.

    • @opposites-369
      @opposites-369 2 місяці тому

      @@ProgrammingRainbow yes I know, but when I tried to set up debugpy it was very difficult, I just started learning programming, & getting the right tools because my laptop only gives 4GB ram, 2 days ago I tried to configure for debugpy + DAP & DAP.UI, & I need PHPactor & need xdebug too, I'm just a beginner who hasn't learned programming at all, just looked at the structure of the language (lua) and tried a combination of existing ones according to the source but still failed, because what the examples & instructions given by the creator are the same Very different from what you apply, thank you in advance for your attention.🙏🏻👍🏻

    • @ProgrammingRainbow
      @ProgrammingRainbow  2 місяці тому

      @opposites-369 I have never used a debugger before. The linter or lsp should be what you need. Also, print debugging is the first thing I would reach for. Debugging is usually used for stepping through very low-level programming like assembly. I'm not sure why it would be used in Python. Is it required for a course? If not, I would skip all that and just write code. 4gb of ram is low, but it really depends on the OS. You can easily handle 4Gb in linux, especially with zram. Since linux can run a desktop with just 1Gb and zram, it can turn that 4gb to 8. However, Windows loves to eat ram. Windows needs 4gb at idle, and you will be hitting that page file hard destroying your ssd. When learning programming, especially your first language, try not to overload yourself. Don't try to do or learn too many things. Use whatever editor you feel comfortable with, and don't worry if you don't know how to use everything. Just enough to edit and run. Let the only thing you're learning be just the language. Follow some instructions or tutorials and then make some little projects, edit and modify them, and make it again or something else. What you find interesting will be the best. Don't overload yourself with learning everything at once. Also, don't ask on reddit or stackoverflow. They are toxic, and they will just mess you up. Facebook group may work or youtube like this. Use free chatgpt or bing chat for explaining concepts. Keep the questions focused and ask from different angles because llms are very powerful and very dumb. They also lie a lot. But they are good at explaining concepts.

    • @opposites-369
      @opposites-369 2 місяці тому

      @@ProgrammingRainbow thank you for the advice given, I use ArchCraft Linux with bspwm, I use nvchad because I believe nvchad is a much lighter tool compared to vscode, therefore I use the tool under the terminal, only if debugpy is available maybe one day I will use it, maybe what I really need is PHPactor which is more than enough, as a starting point for the programming language I want to learn, thank you for taking the time to pay attention to me, thank you also for the instructions via the very useful UA-cam channel, I wish you good health and long life, greetings from Indonesia 🙏🏻👍🏻

    • @ProgrammingRainbow
      @ProgrammingRainbow  2 місяці тому

      @@opposites-369 Thank you very much.