ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
It is the same as with distros. There is no such thing like "the best text-editor" (except Vim of course ).
Joking aside, use what you think fits you needs. Vim and Emacs are extremely powerful and extensible, but come with the price of a steep learning curve. But if you pay the price you usually won't regret it.
There are of course a whole bunch of other text editors that are good for programming, like Gedit, Geany or SciTe.
Never used Notepad++. Would you care to point out why it is better than the available native editors?
Notepad++ is an amazing editor..if you use windows. In the world of Windows it is pretty much unparalleled until you crossover to a full blown IDE program. It is very customizable out of the box but offers a really nice variety of plug ins to expand it's usefulnesses. A few plug ins that come to mind were ftp, svn and possibly git based in that it was able to use built in browsers to navigate these structures. I used Notepad2 for years and never managed to find anything that could pull me away from it. That was until I tried Notepad++. As you might be able to tell, I think VERY highly of Notepad++. However, I made the jump to a KDE DE(Kubuntu) about 6 months ago. I originally used Notepad++ until I realized Kate was built in and does what I want it to do plus a bit more. Even with plug ins, it might lack a few of the available features of Notepad++ when considering the plug ins available, but for me I saw no reason to stick to Notepad++, but I am also of the mind set mentioned earlier.."There is no best..." The best tool/app for the job is whatever does everything you need, and does it the way you prefer.
'Best' has different meanings to different people and for different purposes. If there was only one 'best', then everyone would use it, and all of the others would just die off and go away. At best, you can get some impressions of others' preferences, but without knowing how you intend to use an editor, it is difficult ot give a qualified reply.
I have at least a couple of favorites, depending on what I'm using them for. I like vi for system admin tasks, because it is ubiquitous and doesn't require X. It can be built into busybox, and takes up little memory. It is great for quick edits of config files and scripts; get in, get out, no one gets hurt. On the other hand, if I'm doing software development tasks, I probably want an editor that is more full featured, uses GUI methods, and has some direct knowledge of programming languages I commonly use. I would tend to use it on a somewhat persistent basis, and maybe even use some kinds of hooks into compilers, debuggers, etc. The one I mostly use is nedit.
For what I've used in Linux and Windows. I prefer first Ultraedit, is the best and most complete editor I've used. You can do java scripts and do and record powerfull macros. The bad part is that is not freeware. I think there are versions for windows, linux and mac.
The other I prefer and use normally because is free, is Notepad ++. Has plugins from community and many things that does the job for what I need.
The "best" editor is, quite literally, the one that is best-all-around for you. There are probably hundreds to choose from.
It does behoove you to have some familiarity with a "terminal mode" editor, i.e. no GUI, because from time to time you'll be working with systems that do not have a graphic user interface at all or one that is accessible to you. Most systems will have vi, vim, emacs, and perhaps nano.