Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game. |
| Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
10-21-2012, 10:01 PM
|
#1
|
|
LQ Newbie
Registered: Aug 2012
Location: TN
Distribution: Ubuntu
Posts: 17
Rep:
|
What is the best text-editor in Linux
I use Gedit to write my web code. I have tried to learn how to use Emacs. Does anyone else use another text-editor for their programming needs in Linux.
|
|
|
|
10-21-2012, 10:03 PM
|
#2
|
|
Senior Member
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 3,653
|
I use vim.
|
|
|
|
10-21-2012, 10:19 PM
|
#3
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,154
|
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.
|
|
|
1 members found this post helpful.
|
10-21-2012, 10:43 PM
|
#4
|
|
Senior Member
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 1,648
|
I use emacs/xemacs for big code development, and vim for quick touch-ups.
|
|
|
|
10-22-2012, 03:55 AM
|
#5
|
|
Member
Registered: Sep 2012
Location: Italy
Distribution: Slackware, NetBSD
Posts: 392
Rep: 
|
Vim or Gedit
|
|
|
1 members found this post helpful.
|
10-22-2012, 04:37 AM
|
#6
|
|
Senior Member
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,040
Rep: 
|
If you mean "in Linux" as any editor capable of running under Linux in any circumstance then I would give to you Notepad++ emulated with Wine. It's the best editor.
If you're only for web development I suggest Bluefish.
|
|
|
|
10-22-2012, 04:44 AM
|
#7
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,598
|
I use Geany for both text editor and IDE, it is light enough for this.
|
|
|
|
10-22-2012, 05:30 AM
|
#8
|
|
Moderator
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 12,154
|
Quote:
Originally Posted by konsolebox
If you mean "in Linux" as any editor capable of running under Linux in any circumstance then I would give to you Notepad++ emulated with Wine. It's the best editor.
If you're only for web development I suggest Bluefish.
|
Never used Notepad++. Would you care to point out why it is better than the available native editors?
|
|
|
|
10-22-2012, 06:40 AM
|
#9
|
|
Senior Member
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 1,036
|
ad1: there is no such thing, unless you want a flame-war
ad2: mcedit
|
|
|
|
10-22-2012, 06:43 AM
|
#10
|
|
Member
Registered: Mar 2012
Location: Evansville,IN
Distribution: Kubuntu
Posts: 47
Rep: 
|
Quote:
Originally Posted by TobiSGD
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.
|
|
|
|
10-22-2012, 07:49 AM
|
#11
|
|
LQ Newbie
Registered: Oct 2012
Location: UK
Distribution: Ubuntu, Lubuntu
Posts: 14
Rep: 
|
Another vote here for Notepad++ in 'doze.
I'm grew up with Vi so quite happy using Vim. Separates the men from the boys 
|
|
|
|
10-22-2012, 12:06 PM
|
#12
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,598
|
Do you also run IE through wine ? and maybe even every other program you use on Window$ ?
The question is about text editors for Linux not Window$ or Ubuntu + wine i.e. a Window$ emulation platform with an Ubuntu kernel (not a typo).
|
|
|
|
10-22-2012, 01:07 PM
|
#13
|
|
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,257
|
'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.
--- rod.
Last edited by theNbomr; 10-22-2012 at 01:08 PM.
|
|
|
|
10-22-2012, 03:36 PM
|
#14
|
|
Member
Registered: Oct 2011
Posts: 77
Rep: 
|
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.
Regards
Last edited by Perseus; 10-22-2012 at 03:37 PM.
|
|
|
|
10-22-2012, 03:47 PM
|
#15
|
|
Senior Member
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 4,551
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:06 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|