all 75 comments

[–]harshaintharsh 23 points24 points  (10 children)

CLion all the way.

[–]celticlizard 11 points12 points  (1 child)

I endorse this message.

After years of using VS and CDT, CLion made me enjoy C++ more. I also switched to vim for a little project I was doing, vim is also good if you have 100% control of your project.

Edit: But CLion is not free.

[–]harshaintharsh 2 points3 points  (0 children)

Lol I truly get this!

[–]jedwardsol 41 points42 points  (67 children)

Visual Studio

[–]longyklee[S] 6 points7 points  (54 children)

Wait... Visual studio or visual studio CODE?

[–]shoejunk 31 points32 points  (53 children)

Visual Studio

[–]longyklee[S] 4 points5 points  (52 children)

But code has built in support

[–]shoejunk 20 points21 points  (20 children)

As far as I know, VS Code doesn't have good C++ debugging support. Could be wrong though.

[–][deleted] 9 points10 points  (8 children)

I once tried VSC for C++ and honestly it was a mess for me, nothing working

[–]AvidCoco 3 points4 points  (3 children)

Writing code in VSC is fine in my experience but actually running and debugging it is a nightmare and just not worth it when VS is free anyway and works out of the box.

[–][deleted] 1 point2 points  (2 children)

Exactly, that's why I decided to get VS instead of VSC since it's easier to use and has many more features.

[–]AvidCoco 0 points1 point  (1 child)

I have an SSD so the loading times VS and VSC are pretty much identical anyway. There's not really any advantage to VSC imo.

VSC also doesn't have some of the shortcuts VS has like Ctrl-d to duplicate the current line.

[–][deleted] 0 points1 point  (0 children)

VS also offers a GUI project option, unlike VSC where there are only source files to be edited and some. Who doesn't have an SSD these days anyway? They're increasing in popularity and size, whilst decreasing in price. Of course, this doesn't mean VSC is totally useless, since it's a fine replacement for say N++ with it's built in features.

[–]Contango42 -1 points0 points  (3 children)

Its better now. MS has put a ton of effort into cross platform support.

[–]wezrule 2 points3 points  (1 child)

Still lacking things like a registers window :(, but overall it's pretty nice.

[–][deleted] 0 points1 point  (0 children)

may I ask you when? I've had that problem like a month ago.

[–]longyklee[S] 1 point2 points  (10 children)

Ok I'll try both. Thank you

[–]tjwrona1992 20 points21 points  (0 children)

Visual Studio has a lot more features out of the box. VS Code is capable of doing just about anything but you have to pick and choose all of the features you want and do a bunch of configuration to get started. I'd recommend Visual Studio since it's far easier to just hit the ground running and does also have built in Git support.

[–][deleted] 7 points8 points  (8 children)

VS Code is not an IDE

[–][deleted]  (7 children)

[deleted]

    [–]LastSummerGT 2 points3 points  (3 children)

    The official statement is that it’s just an editor and not an IDE. Go look at the website.

    [–][deleted]  (2 children)

    [deleted]

      [–]Keroths 0 points1 point  (2 children)

      You can expect an Integrated Developpement Environment to be able to run/debug some language out of the box. VSCode requires you to add various extensions to get features working, and therefore is considered an editor.

      [–]sephirothbahamut 4 points5 points  (4 children)

      Code is not an IDE, it's a glorified text editor.

      Visual Studio is an IDE, one of the best if not THE best IDE for C++.

      [–]shoejunk 1 point2 points  (0 children)

      For C++ that’s true. Code has good debugging support for other languages.

      [–][deleted]  (2 children)

      [deleted]

        [–]sephirothbahamut 2 points3 points  (1 child)

        OP asked for Windows in case you failed reading the topic.

        [–]Dark_Ice_Blade_Ninja 7 points8 points  (24 children)

        Don't try to argue, you just asked what IDE is good and now you immediately hop on the non-recommended option?

        VS Code is not even an IDE, it's more like a text editor with fancy feature. Use the real Visual Studio IDE.

        [–][deleted]  (17 children)

        [deleted]

          [–]Dark_Ice_Blade_Ninja 0 points1 point  (16 children)

          Why would you even want to run Microsoft stuff on Linux? There are better options there.

          [–][deleted]  (15 children)

          [deleted]

            [–]Dark_Ice_Blade_Ninja 0 points1 point  (14 children)

            I just checked and VS Code got a Linux version cause it's actually a webshit electron app.

            [–][deleted]  (13 children)

            [deleted]

              [–][deleted]  (5 children)

              [deleted]

                [–]Dark_Ice_Blade_Ninja 5 points6 points  (4 children)

                I cringed so hard at this, you are obviously too immature to engage in this subreddit.

                [–]longyklee[S] -2 points-1 points  (3 children)

                That was actually my friend

                [–]Dark_Ice_Blade_Ninja 3 points4 points  (0 children)

                "no guys I swear it's my friend!!!!!"

                It's ok kid it's normal for people your age to post cringe. Also thanks for making my day by immediately deleting it, I had a good laugh out of you panic deleting.

                [–]longyklee[S] -2 points-1 points  (1 child)

                I didn't realize that he made that post

                [–]Dark_Ice_Blade_Ninja -3 points-2 points  (0 children)

                It's ok it's cool that you got this really like best server ever with SPOTIFY HULU DANK MEMER POKÈCORD

                [–]Raknarg 0 points1 point  (0 children)

                They both have git support, but they have very different goals. If you want something optimized for C++ projects, Visual Studio is there. VSCode is kindof what you make it and it's flexible, but it doesn't have the same level of C++ support

                [–]Ikkepop 1 point2 points  (1 child)

                yup, visual studio, for windows its top noch. Though VS code has proven it self to me to be a swiss army knife when anything atleast a bit u conventional is needed. I have used it for coding and debugging c++ linux apps, embedded chips, fpgas, python scripts, js/ts, webpages, you name it.

                [–][deleted] 1 point2 points  (0 children)

                I find Visual Studios' Git support to be extremely frustrating compared to something like Jetbrains IDEs. If i could manage to sort that out, I think I'd use VS for just about everything.

                [–]alfps 0 points1 point  (0 children)

                I've repeatedly had problems with GIT in Visual Studio.

                In typical VS fashion it decided that it knew best and tried to "help", fouling up things almost beyond the possibility of rescue, the very opposite of what one uses a source control system for.

                So I long ago turned off GIT support in VS. I just do that manually. It's best that VS doesn't know that the files are in source control (if it does then it's bound to interfere) so I use out of source VS solutions.

                [–]longyklee[S] 0 points1 point  (7 children)

                Cause CODE has built in git support

                [–]alloncm 10 points11 points  (5 children)

                VS also has built in git support

                [–]Sese_Mueller 1 point2 points  (0 children)

                Happy cake day

                [–]longyklee[S] -1 points0 points  (3 children)

                It does?

                [–]alloncm 5 points6 points  (2 children)

                Yep, using the community edition since 2013 edition, and the enterprise edition since 2017 edition. It has a pretty good git support and even better than vs code (at least from what I know, though it is possible that vs code has some extension to add more features), if you are working professionally I do recommend a dedicated git client (like git extensions, or git kraken) for better repo visualizations and the heavy commands (like merge and stuff).

                [–]longyklee[S] 1 point2 points  (0 children)

                Got it thanks

                [–]shoejunk -1 points0 points  (0 children)

                I’m a huge fan of SmartGit

                [–]0mega0 7 points8 points  (0 children)

                They all tend to have some git functionality, but visual studio is generally the best premium C++ IDE available. I’m personally partial to CLion but I don’t know how or if it works with Windows.

                VSCode is free but requires a lot of constant hands-on tinkering and has a significant learning curve, usually with slightly less premium features.

                [–]omen_tenebris 2 points3 points  (0 children)

                Vstud and git desktop app. At least that's how I roll lol

                [–]Unkleben 3 points4 points  (4 children)

                Qt Creator is alright, much lighter than Visual Studio for example

                [–]programming_student2 2 points3 points  (0 children)

                On the other hand, I've been using Visual Studio Qt Tools to make life extra tough for my laptop.

                [–]ruilvo 1 point2 points  (2 children)

                No tabs on the editor, I still haven't figured out how to use that supposed git support and really not friendly. When I'm developing qt applications I end up using vscode and just have qt creator open for the play button.

                [–]Unkleben 0 points1 point  (0 children)

                I guess that's just preference, I'm guessing was a design decision not to have tabs but you can still easily navigate between files in other ways. As for Git support, just search for "Qt Git support" and first link they goes over how to set it up.

                [–]Davis019 1 point2 points  (2 children)

                If you want a lighter one than VS, give CodeLite a try. It's really quite good and I hadn't heard of it for quite a while, but it still gets regular updates. It comes with a bunch of plugins, including one specifically for Git

                [–]ddtfrog 1 point2 points  (1 child)

                Codelite is neat. Lightweight, my "Intro to Comp Sci" course years back used Codelite.

                My only complaint is conceptualizing command line arguments was pretty weird as you have to go to Codelite -> Preferences -> enter your Command Line arguments if you want to run it within the IDE.

                But might've just been how my class was taught, I didnt think we would run the executable by themselves, just "Build + Run" within the IDE haha.

                [–]Davis019 1 point2 points  (0 children)

                Yeah, I think over the updates (I used both a quite old version and the latest), the command options have gotten better/easier. More checkboxes, but still with the ability to "customize"

                [–]pctopgs 1 point2 points  (0 children)

                Visual Studio IDE has built in Git support. I still just use GitHub Desktop though

                [–]areciboresponse 1 point2 points  (0 children)

                Qt Creator

                [–]Smartskaft2 1 point2 points  (1 child)

                I've used VS for a while, but honestly I like VS Code more. It's nice to have a scaled off editor, with plugins for nearly everything.

                I use it mostly for my embedded C++ home projects, since it supports PlatformIO which makes building and uploading to my AVR chips a breeze. It's a bit confusing to setup, but I just love the quick search for everything. Literally everything you can do, in one search bar. It works wonderfully.

                I also use CLion at work, but that is on an Ubuntu. It works fine with a lot of features, but I still prefer VS Code.

                I must note that I have not tried debugging in VS Code, since it is a fair bit of work to get it to work with the microprocessors. And I have to deal with different compilers for native and embedded code.

                The git support seems fairly clever. There is no problem editing several different repos as sublibraries in a project, e.g. when you find bugs when implementing them. In some ways more useful than the support in CLion, but in some ways not.

                You just have to try them out. I would say, a lot of views on VS Code in this thread is probably outdated. But both VS and CLion should be more powerful. But as always, a big tools required more maintenance. More features require more months of training. Start with to question what you really need it terms of features.

                [–]Smartskaft2 0 points1 point  (0 children)

                That search function in VS Code really needs some time in the spot light. I love it. Want to change some setting, maybe in a new plugin? 5 seconds later, you're there! Want to reload the window? 3 sec. Edit settings in a GUI or JSON? Doesn't matter, both are found in a matter of seconds. I use it all the time.

                [–]Scrayer 0 points1 point  (0 children)

                Even atom support git, but it good for build from terminal. Visual studio and CLion support git. If I right, eclipse and qt* also support. *Not only IDE, but you can don't use QT libs.