[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
So, which editor should I use for C++. I'd like some auto-completion.
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 41
Thread images: 5
File: cech.png (5 KB, 219x230) Image search: [Google]
cech.png
5 KB, 219x230
So, which editor should I use for C++. I'd like some auto-completion.

Couldn't get YCM to work properly on Vim, Microsoft Visual Code just doesn't werk on Linux properly. (have to do dotnet magic to get the C++ tools to work properly)

Eclipse is a pile of shit.
>>
>>53885586
Atom with proper plugins or get YCM to work on Vim.
>>
>>53885745
>YCM
I don't know man, whatever I try I can't get it to work. It either doesn't work at all, or it crashes with errors.
>>
Went with Atom + autocomplete-clang + linter-clang. Pretty comfy thanks!
>>
>>53885745
>>53886002
>Two posters in this thread
>>
>>53886045
nope
>>
>>53886086
Also there are 3 posters right now. Please explain
>>
>>53885586
Vim
>>
>>53885586
Emacs
>>
>>53885586
I'm really like CLion.
>>
>>53887293
Fuck off freetard. Go kill yourself.
>>
>YCM
Who thought this was a good idea to write it in fucking python? Among all possible languages...
It makes me sad.
>>
>>53887326
>implying im a freetard
i just like emacs
>>
>>53885586
GNU Emacs with vim key layout.
>>
>>53885586
Probably netbeans or eclipse.
>>
>>53887302
t. shitbrains shil
>>
>>53885586
Emacs
>>
>>53885586
Just use vim you fucking pussy.
>>
>>53885586
Geany ?
>>
File: 1422790602462.jpg (37 KB, 604x340) Image search: [Google]
1422790602462.jpg
37 KB, 604x340
>>53885586
Vim

>>53887326
>being this buttblasted about a software
>>
Atom is like a nicer Vim and a nicer Emacs:

It's like they took the two editors, and then just dialed down the autismo.
>>
File: 1362237223672.jpg (56 KB, 576x418) Image search: [Google]
1362237223672.jpg
56 KB, 576x418
Say you use Atom, how do you compile the code?

I've never used anything outside of Eclipse or Codeblocks.
>>
>>53890485
>how do you compile the code
With a fucking compiler. Jesus christ this is why people shouldn't be allowed to use IDE's until after 3 years with nothing but notepad.
>>
g++ -c code.cpp
g++ code.o -o code
>>
>>53890511
Well obviously, but isn't the point here to make the Text Editor as IDE-like as possible? I can't find any packages that would allow you to compile Java.
>>
>>53890542
>but isn't the point here to make the Text Editor as IDE-like as possible
Not really. I use vim because it's comfy and works in my terminal. Anyway there should be some Java compiler somewhere if you look hard enough. I personally don't like Java so I don't know where you would find one. Good luck though.
>>
>>53890485

....

You can use build or script (Atom packages to do it), or you just build as normal.

Atom has only tenuous support for stdin, so if you're doing anything really basic you just do it in the terminal. (There are packages to add what I think is the debian terminal to Atom).
>>
>>53890542

Script will compile Java for you.

Else use a package that allows you to use Shell commands (similar stuff to what you can to in NPP with nppexec) and you can set a hotkey to compile, or add a hotkey to compile on save, etc.
>>
>>53890791
>>53890758
>>53890485
>>53890542


I'm the guy suggesting Script or Shell, or adding a terminal.

If you want, I'll throw my package and config information in a Gist for you so you can sync it to your Atom if you'd like (which if you haven't figured out how to do, is something you will want to learn how to do to have a backup of everything and make it easy to setup consistent installations on different pcs / environments).
>>
>>53890860
No...thank you...after thoroughly exploring the matter I've been sufficiently scared off.
>>
>>53891022

Ha, okay, fair enough.

Well, you should check out Atom anyway, if nothing else than to get your feet wet:

It's a pretty powerful tool, and it's way more user friendly than Vim and Emacs and all that other Richard-Stallman-Autistic-Warrior tier shit is.

I use both Eclipse and Atom, I just find Atom easier to do the lightweight stuff and go into Eclipse for GUI and if I managed to really clusterfuck something up because Eclipse is sweet for debugging.
>>
File: 1316902676451.jpg (32 KB, 367x341) Image search: [Google]
1316902676451.jpg
32 KB, 367x341
>>53891255
>not convenient
>allows editing over SSH
>can easily save and import config
>guaranteed to work on every unix system
>metric assload of documentation and user scripts amassed over 20 years
>not convenient
>>
>>53885586
Codeblocks or QT
>>
>>53891295
I can see the utility in a professional environment, when you actually do stuff, but I am still in school and it seems like way too much hassle to learn this when I've perfectly simple IDEs to hold my hand.
>>
>>53891497
if you're in high school maybe, not when you get to real school
>>
>>53891693
2nd year of community college, yo
>>
>>53891392
Since that post you replied was deleted to, what are program you referring to?
>>
>>53891724
nigga you should have outgrown IDEs by this point, you ought to be writing in C
>>
>>53891750
He should be writing his own IDE in C
>>
>>53885586
Netbeans or qtcreator. Nothing beats native makefile generation including custom build steps, of netbeans except maybe the single best application framework ever made being perfectly integrated into qtcreator.
>>
visual code doesnt have a build system so you have to use gcc with it and if you don't know how to use gcc fucking kill your self
Thread replies: 41
Thread images: 5

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.