Jump to content

Let's talk about text editors.


I've pretty much always used Pycharm for python, so when I started learning C++ and then seeing what a mess visual studios is, I went to Clion.

 

However, I feel it kind of over complicates things. I feel like the perfect text editor would be Sublime Text 3 if they open-sourced, along with a run/compile/debug button, or Atom.io if it wasn't slower than an old man wading through molasses. I think sublime is by far one of the best. Open sourcing would allow people to easily add to/improve their programming toolkit. Honestly I see a ton of people just using the unlimited trial version anyways, so I mean since the $70 license is more of a "donation" could they not just open source then maybe put a few donate buttons in the program? For a company that makes free, or optional purchase software open sourcing seems like a no-brainer to me. It makes a better product and the developers could end up having to do less work.

 

I feel like Emacs/Vi/Vim all are great and all but are mostly only used by people who have been coding for a while and have just grown to like it. New comers just don't seem nearly as interested. In the case of vim, that's probably just when nothing else is installed.

 

My main problem with Notepad++ is lack of themes. I may be crazy but i will not use an editor without a dark theme. While we're talking about dark themes, foobar guys, get on it. Holy crap the scrollbars and dividers stick out like a sore thumb.

 

As for brackets its only really for web stuff. It's pretty good all around though.

 

I know I didn't include Jetbrains stuff in the poll because those are more of a full-featured IDE. They're pretty good but I really feel like every one of their IDEs is just slightly modified versions of a core program. Like Clion is pretty much just Intellij with a stupid built in build system and a small selection of C++ oriented things.

 

So do you think Sublime should open source? I mean imo it would be very near perfect if run/compile/debug buttons were added. And there probably are add-ons for that. Also with addons open sourcing would probably make things a lot easier for modders.

Link to comment
https://linustechtips.com/topic/487611-lets-talk-about-text-editors/
Share on other sites

Link to post
Share on other sites

As an someone who has only dabbled in programming but is now getting serious, I am very curious to see where this goes. 

Spoiler

Corsair 400C- Intel i7 6700- Gigabyte Gaming 6- GTX 1080 Founders Ed. - Intel 530 120GB + 2xWD 1TB + Adata 610 256GB- 16GB 2400MHz G.Skill- Evga G2 650 PSU- Corsair H110- ASUS PB278Q- Dell u2412m- Logitech G710+ - Logitech g700 - Sennheiser PC350 SE/598se


Is it just me or is Grammar slowly becoming extinct on LTT? 

 

Link to post
Share on other sites

Sublime text, Atom, Code Blocks, Jetbrains products, or get the fuck out. 

 

;)

 

This.

 

Or Nano.

|  The United Empire of Earth Wants You | The Stormborn (ongoing build; 90% done)  |  Skyrim Mods Recommendations  LTT Blue Forum Theme! | Learning Russian! Blog |
|"They got a war on drugs so the police can bother me.”Tupac Shakur  | "Half of writing history is hiding the truth"Captain Malcolm Reynolds | "Museums are racist."Michelle Obama | "Slap a word like "racist" or "nazi" on it and you'll have an army at your back."MSM Logic | "A new command I give you: love one another. As I have loved you, so you must love one another"Jesus Christ | "I love the Union and the Constitution, but I would rather leave the Union with the Constitution than remain in the Union without it."Jefferson Davis |

Link to post
Share on other sites

I also use Microsoft Visual Studio.

The main things I don't like are that 1. I got the community addition and now my 30 day trial is over... I thought community edition meant free? Also it says to sign in to get a license but holy crap microsoft this is an IDE not a social network I shouldn't need to use an account. 2. Notifications and Server explorer sidebars seem like a pretty big waste of space. and 3. Is the project folder... Why do I need 4 folders and various weird file types? .ilk .pdb .sln .sdf .vcxproj .vcxproj.filters... I don't even know lol its just a program to print hello world

Link to post
Share on other sites

I enjoy using C++ for its simple use.

When im on unix/linux i prefer vi for all of my programming. vim is pretty decent too.

One of the best things about C++ on linux is the single command to create the file, edit the file, compile the file, and run the file...

nano main.cpp && g++ main.cpp && ./a.out
Link to post
Share on other sites

The main things I don't like are that 1. I got the community addition and now my 30 day trial is over... I thought community edition meant free? Also it says to sign in to get a license but holy crap microsoft this is an IDE not a social network I shouldn't need to use an account. 2. Notifications and Server explorer sidebars seem like a pretty big waste of space. and 3. Is the project folder... Why do I need 4 folders and various weird file types? .ilk .pdb .sln .sdf .vcxproj .vcxproj.filters... I don't even know lol its just a program to print hello world

I use it for coding in Unity and it works really well for my needs :P

Sergeant, United States Marine Corps

Network Administrator, Comptia A+, Security+, Cisco Certified Networking Associate

From a G3258 to dual Xeon E5-2670's

Link to post
Share on other sites

Notepad++. Recently 'discovered" Sublime, but haven't really gotten to it yet. Yet annoyed by that registration  / buy us please popup, though I guess that even'd be reasonable, if it works fine.

 

Oh, and don't forget our awesome WebIDE for work..... Nothing worse than an IDE where  don't control plugins, features or anything and open it up after holidays and random sh*t has changed....

"We cannot change the cards we're dealt - just how we play the hand" - R. Pausch

 

CPU: Ryzen 7 3700X , Cooler: BeQuiet Dark Rock 3 Motherboard: MSI B450 Mortar Titanium RAM: 16 GB Corsair LPX 3200 GPU: EVGA RTX2070 XC Storage: Adata 120GB SSD, SanDisk 1TB SDD, 2TB WD GreenHDD Case: Fractal Design Define Mini C PSU: EVGA Supernova 650GS Peripherals: Master Keys Pro S, Logitech G402 Audio: Schiit Fulla 2 + Sennheiser HD 650. Laptop: Asus Zenbook UX 302

Link to post
Share on other sites

I am a professional developer of many decades at this point and I use an IDE depending on the language I am developing against. Sometimes its Jetbrains, sometimes Eclipse and sometimes something else. I use the refactoring tools, the automated testing interfaces etc that come with the IDEs and I value the features they bring. I know there is this general advice in the pragmatic programmer to learn one editor really well but I have never really enjoyed programming in vim or emacs its always such a handicap for the advanced stuff in a language.

Link to post
Share on other sites

Just started programming & I've been using visual studio community, still trying to figure out how to work code blocks.

Desktop: Intel 4770k - 12GB Vengeance Pro 1866Mhz RAM - Asus Maximus VI Formula Mobo - Asus Strix 970 SLI - Cooler Master V850 PSU -  Nzxt Phantom 630 Case  - 1TB WD HDD - Samsung 840 Evo 250GB SSD - Nzxt Kraken X60 - 24" Asus VG248QE 1080p Monitor - Logitech G35 Headset -  G502 Proteus Core - Logitech G710+ Keyboard - Nzxt Hue - Windows 10

Link to post
Share on other sites

I prefer IDEs. Visual Studio along with the JetBrains IDEs cover most all my needs currently. I have a few text editors installed, and occasionally use them, but I haven't settled on a favourite yet. Sometimes I use Sublime 3, sometimes I use Atom, sometimes I use VS Code, sometimes I use Notepad++, etc. I haven't ever really given Vim or Emacs a shot, maybe I will some day but currently it doesn't interest me that much.

 

 

The main things I don't like are that 1. I got the community addition and now my 30 day trial is over... I thought community edition meant free? Also it says to sign in to get a license but holy crap microsoft this is an IDE not a social network I shouldn't need to use an account.

 

VS Community is free but I guess they have decided that users are required to have an account for license registration purposes The free trial exists so you can try it out without the need to create an account but you'll need the account for continued use (source). Once you've created an account and signed in, the account settings window will say "License: Visual Studio Community 2015 This product is licensed to: <your account>" but it will remain free.

 

On a side note, that account can be used for more than just the license registration. You mention that VS is not a social network, which is true, but it can also be used for team collaboration, which can include chat rooms, so it can introduce a social component to the IDE. This is of course optional, but I just wanted to mention it anyway since it was relevant to your comment.

 

Notifications and Server explorer sidebars seem like a pretty big waste of space

 

Fortunately things can be customized so you should be able to create the experience you like. You don't need any of the sidebars showing, they can be collapsed to a small tab or removed completely. Likewise the tool bars can be customized and removed.

 

and 3. Is the project folder... Why do I need 4 folders and various weird file types? .ilk .pdb .sln .sdf .vcxproj .vcxproj.filters... I don't even know lol its just a program to print hello world

 

Yeah, it's a little overkill for a simple program like hello world. If you prefer, you can compile and run things through the command line like you would a C++ program. Here's an example of a C# Hello World program compiled with the C# compiler.

// Code (all in one file, Program.cs, no other files needed)using System;class Program{    public static void Main(String[] args)    {        Console.WriteLine("Hello World");    }}// Then in the command line the following line compiles to Program.exe which you can runcsc Program.cs// On Linux and Mac you'd be using Mono and I expect you can do something similar.

This is of course a very basic example and like all compilers it can do a lot more. Here are a few more simple examples with the C# compiler.

 

However as software projects grow, so do the amount of files and dependencies and you don't want to be working directly with the command line. So you use tools to help you build your project. I'm not sure what the most common C++ option is, but makefiles are one example. Visual Studio structures your project and starts you off with everything you need to use a variety of tools, like MSBuild. You could eliminate Visual Studio from the picture if you really wanted to. Here is an example that uses MSBuild with a simple Hello World file.

Link to post
Share on other sites

However as software projects grow, so do the amount of files and dependencies and you don't want to be working directly with the command line. So you use tools to help you build your project. I'm not sure what the most common C++ option is, but makefiles are one example. Visual Studio structures your project and starts you off with everything you need to use a variety of tools, like MSBuild. You could eliminate Visual Studio from the picture if you really wanted to. Here is an example that uses MSBuild with a simple Hello World app.

 

I totally agree with you. This is what a lot of newer programmers just don't get. When you're building simple applications, you don't need anything more than an editor and a compiler. It's really easy to type in a few file names, and it's not too difficult to write your own Makefiles for such a small application. However, once the number of files in your project moves into the double digits, IDEs are the way to go. This is especially true for projects you work on with groups.

A good IDE will give you things like code completion (I love you, Intellisense) and easy project management and build tools. I, for one, do not enjoy writing Makefiles.

A great IDE will give you access to version control, research, and even communication with the rest of your team.

 

____________________________________

 

With regard to the quiz, I checked Atom, mainly because I've been enjoying how it blurs the line between an editor and an IDE. I've recently been learning Golang, and Atom is great for it. Like a simple text editor, getting in to simply edit a file is easy. Compare that to, say, Visual Studio, which requires you to make a project for everything. But then Atom can be expanded to what amounts to a fully-fledged IDE. What with the go-plus and terminal plugins, along with the built-in code completion, I never have to leave Atom.

 

I also use Notepad++ when I'm on Windows and need a quick file edit.

 

That said, I use Visual Studio for a huge bulk of my day-to-day work.

 

I'm also kind of disappointed that Visual Studio Code wasn't included on the list. It's a fantastic code editor. I call it a code editor because, unlike a lot of simpler editors, it's specifically designed for code. Like Atom, it runs on a Chromium engine, but it is a lot lighter than even Atom. It's a great, fully-cross-platform editor that is free. It's like all the best parts of Notepad++ and Sublime rolled in to one editor.

Link to post
Share on other sites

"IDE" != "Text Editor"

 

There are answers here that only list IDE's and don't answer the text editor question... Do you use your IDE to edit .conf files?

 

For text editors I use vim on Linux and Notepad++ on Windows. I use IntelliJ Idea when I need an IDE.

Link to post
Share on other sites

For my text editor I've been using Visual Studio Code lately, although I've used Atom in the past and I like that too.

CPU: AMD FX-6300 4GHz @ 1.3 volts | CPU Cooler: Cooler Master Hyper 212 EVO | RAM: 8GB DDR3

Motherboard: Gigabyte 970A-DS3P | GPU: EVGA GTX 960 SSC | SSD: 250GB Samsung 850 EVO

HDD: 1TB WD Caviar Green | Case: Fractal Design Core 2500 | OS: Windows 10 Home

Link to post
Share on other sites

Awesome! Just curious, what platform have you been using VS Code on?

I've been using it on Windows, on my school laptop primarily

CPU: AMD FX-6300 4GHz @ 1.3 volts | CPU Cooler: Cooler Master Hyper 212 EVO | RAM: 8GB DDR3

Motherboard: Gigabyte 970A-DS3P | GPU: EVGA GTX 960 SSC | SSD: 250GB Samsung 850 EVO

HDD: 1TB WD Caviar Green | Case: Fractal Design Core 2500 | OS: Windows 10 Home

Link to post
Share on other sites

Sublime text is the most fully-featured text editor I've ever used, especially for coding.

Pro Tip: don't use flash when taking pictures of your build; use a longer exposure instead. Prop up your camera with something (preferably a tripod) if necessary.

if you use retarded/autistic/etc to mean stupid please gtfo

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×