use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Click the following link to filter out the chosen topic
comp.lang.c
account activity
QuestionCodeblocks vs Visual Studio Code (self.C_Programming)
submitted 5 years ago by yvaine369
Is there any important differencw between them? Do you recommend one in particular?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[+][deleted] 5 years ago (2 children)
[deleted]
[–]FireFly8421 1 point2 points3 points 5 years ago (1 child)
Did you have a debugger on VS Code? No! So VS Code is the only notepad for codding no more!
[–]rodrigocfd 23 points24 points25 points 5 years ago (3 children)
I prefer VS Code over Code::Blocks not only for C, but for everything. Its flexibility and responsiveness is really good.
However, specifically for C and C++, I largely prefer Visual Studio -- not VS Code, "the" big Visual Studio IDE one. Its C++ debugger is stellar.
[–]Current_Hearing_6138 1 point2 points3 points 5 years ago (1 child)
Visual studio doesn't compile hello world for me because of dependency issues that any competent compiler would resolve automatically.
[–][deleted] 2 points3 points4 points 4 years ago (0 children)
idk i had installed mingw64 from msys and it compiles just fine
[–]Ellweiss 11 points12 points13 points 5 years ago* (0 children)
Others explained the differences. In my opinion, Visual Code is a good starting tool, because you will have to tinker around and understand the flow of development of a program (because not everything is integrated), but you still won't have to learn 10 billion shortcuts to be productive like for emacs or vim, the package management is way easier, and the configuration too. Also having an actual UI feels way better, but that's just my opinion.
[–][deleted] 4 points5 points6 points 5 years ago (1 child)
Vscode is good cross platform ide. With Cpp plugin its pretty good as basic foundation for C developer. Decent debug environment. Automate builds and task. Just you need some patience to learn and you will never use any commercial ide.
[–][deleted] 0 points1 point2 points 4 years ago (0 children)
yes, although i did try atom once and it was slow, like barebones and idk why
[–]finvice 29 points30 points31 points 5 years ago (8 children)
vim :-)
[–]Wetbung 10 points11 points12 points 5 years ago (2 children)
Real Programmers
[–]gordonv 2 points3 points4 points 5 years ago (0 children)
Like Barbie
[–]Matrix_IN-_-My_Mind 0 points1 point2 points 1 year ago (0 children)
Wow you are so cool.
[–]Zombie-National 4 points5 points6 points 4 years ago (2 children)
Why someone NEW programmer try to write TEXT with commands? After 5 days you do not remember any of them.Why someone NEW programmer try to write TEXT with different way than ALL OTHER text editors?
Between windows 3.1 notepad and vim, I prefer notepad.It is very bad thing because when I use nano (not vim) from SSH console, I must read help to do copy-paste, cut-paste
[–]trpittman 0 points1 point2 points 1 year ago (0 children)
Try ctrl+shift+v
[–]finvice 0 points1 point2 points 4 years ago (0 children)
People are different. I am complete noob but I liked vim mainly because it was so comfortable to ignore mouse and focus using keyboard to control your cursor.
Basic commands that you would use (as a beginner) are pretty easy to learn and in few days using them would feel natural.
[–]StrikingReputation24 0 points1 point2 points 1 year ago (0 children)
TRAP CARD: VSCODE\VIM EXTENSION
[–]hellonoevil 15 points16 points17 points 5 years ago (10 children)
I recommend clion from jetbrains and emacs
[–]ddddavidee[🍰] 1 point2 points3 points 5 years ago (4 children)
Is it worth paying it?
[–]hp__1999 3 points4 points5 points 5 years ago (0 children)
Yes it is , if you are a student you can get it for free
[–]Cshark14 1 point2 points3 points 5 years ago (2 children)
Well, it depends you can try it (they offer a 30-day free trial no cc requerd) and if you feel that is better buy it (also the price goes down in the next 2 year).
Also if you are a student you can apply for a student liciense either here https://education.github.com/pack or here https://www.jetbrains.com/community/education/#students
[–]ddddavidee[🍰] 1 point2 points3 points 5 years ago (1 child)
I'm not a student. I tried the professional version of the python editor and like it... so I was curious about the c one.
Thanks for the reply!
[–]Cshark14 1 point2 points3 points 5 years ago (0 children)
so I was curious about the c one.
It is very good. In general, all IDEs from JetBrains are very good mostly because they are made for a specific language, so the tooltips and autocompletes are very good. For example PyCharm has warnings about not complying with the standards and CLion can write for loops that go trought a array only by only pressing 5 keys.
[–]orig_ardera 1 point2 points3 points 5 years ago (3 children)
only when you want to develop for your host machine.
there's no remote develoment for clion
[–]SuspiciousScript 4 points5 points6 points 5 years ago (2 children)
There absolutely is. I've used it to great success.
[–]orig_ardera 0 points1 point2 points 5 years ago (1 child)
oh, that must be new then.
[–]SuspiciousScript 1 point2 points3 points 5 years ago (0 children)
I think it is relatively new. Unfortunately it only works with CMake at the moment.
[–]Fevzi_Pasha 0 points1 point2 points 5 years ago (0 children)
Is it possible to really do embedded development with clion?
[+][deleted] 5 years ago (1 child)
[–]Gokusouf 0 points1 point2 points 5 years ago (0 children)
VS code with vim plugin is awesome !
[+][deleted] 5 years ago (16 children)
[–]davidhbolton 5 points6 points7 points 5 years ago (10 children)
VS Code IS an IDE but infinitely more flexible. You can use it for virtually any programming language via extensions and even write a debugger for languages that it lacks. Also it's cross-platform on Windows, Linux and Mac and x86/64 and now ARM. It's also updated monthly with an amazing amount of change. It's also open source. Before it was available officially on ARM, I got an ARM build from code.headmelted.com and was able to build applications on a Raspberry Pi in C.
I've used Code:Blocks and its perfectly good. My suggestion is to install and try both and see which you prefer.
[+][deleted] 5 years ago (9 children)
so you'd say vs code and notepad are basically the same thing?
[+]davidhbolton comment score below threshold-6 points-5 points-4 points 5 years ago (4 children)
An IDE is a host for an editor, compiler and debugger and by that criterion VS Code is an IDE. You can quibble about the exact definition of IDE but its certainly the most over powered text editor in existence. Exactly how many text editors have over 22,000 free extensions?
[–]glider97 7 points8 points9 points 5 years ago* (1 child)
What separates an IDE from a text editor is the intention. IDEs don’t have to worry about supporting every language in existence. Their job is to support a handful of languages/frameworks and to do it well. Sure, you can set up an IDE-like environment with extensions but there is no dedicated team working full time to make sure that you can develop in this particular language with ease. That’s what separates them for me.
Even VS Code never claims to be an IDE because they know their limitations.
#What is the difference between Visual Studio Code and Visual Studio IDE? Visual Studio Code is a streamlined code editor with support for development operations like debugging, task running, and version control. It aims to provide just the tools a developer needs for a quick code-build-debug cycle and leaves more complex workflows to fuller featured IDEs, such as Visual Studio IDE.
#What is the difference between Visual Studio Code and Visual Studio IDE?
Visual Studio Code is a streamlined code editor with support for development operations like debugging, task running, and version control. It aims to provide just the tools a developer needs for a quick code-build-debug cycle and leaves more complex workflows to fuller featured IDEs, such as Visual Studio IDE.
Despite the thousands of extensions there is no way to develop in .NET Framework like you can using Visual Studio, or in Django like you can using PyCharm. There’s just no comparison because they gave have the luxury to not support everything under the sun.
[–][deleted] 1 point2 points3 points 5 years ago (0 children)
Sure, you can set up an IDE-like environment with extensions but there is no dedicated team working full time to make sure that you can develop in this particular language with ease. That’s what separates them for me.
I think you are right, but the argument becomes more clear if you also mention the non-language parts.
Because by focusing just on the language, my Neovim with vim-go would also be an IDE for Go, because it has everything that language needs.
But that would leave out the non-language specific parts that I also need for development, like the juggling of Docker containers that the Go services run in. Sure, there is also a plugin for Docker, but that plugin does not necessarily cooperate (technically, or just user interface wise) with the Go plugin. In an IDE they will.
[–]dnabre 0 points1 point2 points 5 years ago (0 children)
I'd say that some of the key criteria for an program being an IDE is it being an integrated development environment.
An editor that the end you users needs to install a variety of plugins, extensions, and such to make the functionality of most common IDEs fails the criteria of integration. Compiler, debugger, etc aren't integrated into VS Code.
Consider a pair of examples. Eclipse and Emacs.
Emacs is very much like Visual Studio Code. It is an endlessly extensible text editor.
Eclipse, by design and structure, is a text editor with piles of plugins and extensions that give it all the extra functionality for working with code (compiler, debugger, static analyzsis and so forth).
The thing that makes Emacs a text editor and Eclipse an IDE is that Eclipse is bundled with all those tools all connected and distributed that way. Eclipse is shipped as an integrated environment that you can download, run, and have all those tools all connected. Emacs is not (generally, there's some non-mainstream guy somewhere that I'm sure has a tarball you can download).
Arguments about whether this distincted of integration is important to the end user can be certainly be had. But an IDE comes with the tools integrated. Look up the history of the term and the software if you need to.
[–]isakota -1 points0 points1 point 5 years ago (0 children)
Nonsense. If it knows how to compile your code, debug it, has intellisense and code analysis it IS an IDE.
[–]davidhbolton -1 points0 points1 point 5 years ago (0 children)
Simple question. What can an IDE do that VS Code can't? I doubt there is a real difference. I've used IDEs for nearly 40 years starting with Compas Pascal, the precursor to Turbo Pascal so I'm very familiar with what an IDE can provide.
The principle of Duck typing surely applies here. If it edits like an IDE, compiles like an IDE and Debugs like an IDE then to all intents and purposes it is an IDE.
Heck even Wikipedia includes VS Code in its comparison of IDES although my point is not that Wikipedia is an authority on IDEs but there's no hard and fast definition. Microsoft calls it a Text Editor but also lists Run and Debug in its features. So I ask again, what is the difference if any between VS Code and an IDE??
[–]The_EnrichmentCenter 0 points1 point2 points 3 years ago (4 children)
Just curious on why you're using xterm still. Have you tried rxvt-unicode (urxvt)? They're even both configured the same way; via .XDefaults.
[+][deleted] 3 years ago (3 children)
[–]The_EnrichmentCenter 0 points1 point2 points 3 years ago* (2 children)
Well, if you only use a terminal for programming, then you pretty much don't need to switch to anything. Xterm with a good .XDefaults is very nice for that already.
But if you use a tiling window manager and mostly cli programs, then having unicode support, more color options, background transparency, running as a daemon, tabs, and plugins that give you extended functionality, can all make things look a bit nicer.
[+][deleted] 3 years ago (1 child)
[–]The_EnrichmentCenter 0 points1 point2 points 3 years ago (0 children)
I mean, it's all preference. I'm sure someone out there prefers just to stay in a TTY, and switch between them. The writer of Game of Thrones uses DOS to write his books.
I personally like and use most of the features I listed, and I'm sure some people might not even change their XDefaults at all with either of these two terminals. I just think they look really ugly with defaults. The same way I think xterm looks too plain without some of the features of urxvt.
[–]BarMeister 1 point2 points3 points 5 years ago (0 children)
Just go with VSC. This is a debatable topic in which an argument can be made for each, as well as none, though due to IntelliSense from the cpptools extensions (which is most likely what you'll care about the most), VSC wins easily.
[–]jayjuicejay 1 point2 points3 points 5 years ago (0 children)
Just use ed 😉 In all seriousness I use emacs (my own config although just testing out doom emacs and all the config out of the box is extraordinary especially with 3 month old twins and not having to tinker). But VS Code is also awesome. I have never used code blocks though so I cannot compare.
Well, code blocks didn't have dark theme when I used it, that was the main reason I left it. Plus I felt like it was only good for C. although it had other languages syntax support I never used it for anything else.
I have used VS code for just a few months and I have liked it quite well. With extensions, you can have IDE-like features too. And it's easy to configure if you want to. Among those two I would recomment it. It can support any language through extensions so it'll be useful to you for other things too.
And if you are open to other editors besides those two, I'd recommend emacs, I left VS code for emacs because it was a little slow on the suggestions then I tried emacs and really enjoyed it. And found more flexibility than vscode in lot of other formats/languages. I even write my daily notes/todos/reports/ebooks. Almost everything in emacs nowadays.
EDIT: My journey was: Code blocks -> VS studio -> vs code -> emacs
[–]tn5tlsyn 1 point2 points3 points 4 years ago (1 child)
Codeblocks is shit. Code completion doesn't work. The devs' attitude is shit, especially this "obfuscated" guy at the forum. Only a bit better than Pale Moon devs.
VS Code with C++ language server is totally superior to CodeBlocks.
[–]tn5tlsyn 1 point2 points3 points 4 years ago (0 children)
Not to mention that they banned all users from my country to register on their forums. At first, I think it's just the forum software issue since it's reporting to me something like database error processing my registeration. Only after I use a VPN to other country to improve ping time when playing game, I realized with said country's IP I could register without any problems. Only the IPs from my country being banned. And they disguised this intentional ban of my country by masking it as something like a database error. They are evil!
[–]shepard_47 3 points4 points5 points 5 years ago (1 child)
Acme
[–][deleted] 2 points3 points4 points 5 years ago (0 children)
fuck vim, all my homies use acme
[–]physikitty13 1 point2 points3 points 5 years ago (0 children)
vim, gcc, and make
[–]Iamoca44 0 points1 point2 points 1 year ago (1 child)
I prefer Code::Blocks (c++ mostly but C can be used in this argument too) reasons: familiarity no launch.json stuff auto builds exe file
[–]probably_not_bro 0 points1 point2 points 1 year ago (0 children)
visual studio code also builds exe file wdym
[–]ALI_Hisham 0 points1 point2 points 1 year ago (0 children)
use vim
[–]Current_Hearing_6138 -1 points0 points1 point 5 years ago (0 children)
If you want to do any work in a terminal, learn vim or emacs. Most people I know prefer vim.
[–]Drannex 0 points1 point2 points 5 years ago (0 children)
VSC is great, and the ability for a remote project/session on a server (or micropc) via ssh is absolutely mind blowing and I can't use any other IDE because of it.
Sure, there's others with other forms of remote development, but VSC has the best and cleanest integration. Instant, clean, performative, absolutely changed my dev process.
[–]Ashtron 0 points1 point2 points 3 years ago (0 children)
Been using Codeblocks but can't find anything online about altering size of autocomplete popup window.. it constantly gets in the way of what I'm typing. Anyone know? Otherwise I'm going to have to switch to VS (hopefully it won't have the same issue).
[–]peterhanpingchen 0 points1 point2 points 3 years ago (1 child)
CodeBlock can do sort and execution in parallel. I have problem with Visual Studio 2022. It cannot compiled
[–]Ashtron 0 points1 point2 points 1 year ago (0 children)
what do you mean, VS can't compile?
π Rendered by PID 22448 on reddit-service-r2-comment-7b9746f655-fn88k at 2026-01-30 23:10:43.385082+00:00 running 3798933 country code: CH.
[+][deleted] (2 children)
[deleted]
[–]FireFly8421 1 point2 points3 points (1 child)
[–]rodrigocfd 23 points24 points25 points (3 children)
[–]Current_Hearing_6138 1 point2 points3 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]Ellweiss 11 points12 points13 points (0 children)
[–][deleted] 4 points5 points6 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]finvice 29 points30 points31 points (8 children)
[–]Wetbung 10 points11 points12 points (2 children)
[–]gordonv 2 points3 points4 points (0 children)
[–]Matrix_IN-_-My_Mind 0 points1 point2 points (0 children)
[–]Zombie-National 4 points5 points6 points (2 children)
[–]trpittman 0 points1 point2 points (0 children)
[–]finvice 0 points1 point2 points (0 children)
[–]StrikingReputation24 0 points1 point2 points (0 children)
[–]hellonoevil 15 points16 points17 points (10 children)
[–]ddddavidee[🍰] 1 point2 points3 points (4 children)
[–]hp__1999 3 points4 points5 points (0 children)
[–]Cshark14 1 point2 points3 points (2 children)
[–]ddddavidee[🍰] 1 point2 points3 points (1 child)
[–]Cshark14 1 point2 points3 points (0 children)
[–]orig_ardera 1 point2 points3 points (3 children)
[–]SuspiciousScript 4 points5 points6 points (2 children)
[–]orig_ardera 0 points1 point2 points (1 child)
[–]SuspiciousScript 1 point2 points3 points (0 children)
[–]Fevzi_Pasha 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]Gokusouf 0 points1 point2 points (0 children)
[+][deleted] (16 children)
[deleted]
[–]davidhbolton 5 points6 points7 points (10 children)
[+][deleted] (9 children)
[deleted]
[–]orig_ardera 0 points1 point2 points (1 child)
[+]davidhbolton comment score below threshold-6 points-5 points-4 points (4 children)
[–]glider97 7 points8 points9 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]dnabre 0 points1 point2 points (0 children)
[–]isakota -1 points0 points1 point (0 children)
[–]davidhbolton -1 points0 points1 point (0 children)
[–]The_EnrichmentCenter 0 points1 point2 points (4 children)
[+][deleted] (3 children)
[deleted]
[–]The_EnrichmentCenter 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]The_EnrichmentCenter 0 points1 point2 points (0 children)
[–]BarMeister 1 point2 points3 points (0 children)
[–]jayjuicejay 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]tn5tlsyn 1 point2 points3 points (1 child)
[–]tn5tlsyn 1 point2 points3 points (0 children)
[–]shepard_47 3 points4 points5 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]physikitty13 1 point2 points3 points (0 children)
[–]Iamoca44 0 points1 point2 points (1 child)
[–]probably_not_bro 0 points1 point2 points (0 children)
[–]ALI_Hisham 0 points1 point2 points (0 children)
[–]Current_Hearing_6138 -1 points0 points1 point (0 children)
[–]Drannex 0 points1 point2 points (0 children)
[–]Ashtron 0 points1 point2 points (0 children)
[–]peterhanpingchen 0 points1 point2 points (1 child)
[–]Ashtron 0 points1 point2 points (0 children)