Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
08-30-2014, 01:08 AM
|
#1
|
Senior Member
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,350
Rep:
|
Recommend a good GUI text editor for general coding?
Since I've switched to Linux I still can't seem to find a text editor I like. I used notepad++ in windows with a dark background theme and can't seem to find anything that matches it.
Kate is the closest thing but the issue is that it is DOG SLOW over NFS. I do *ALL* my coding ver NFS, I don't like storing anything locally, it's all on a central server that I control and gets backed up nightly etc, has raid and so on... just easier to manage. For stuff like websites I edit straight on the server so I can hit refresh and see my results right away, it just works nicely that way.
Kate actually works well in terms of features, but it has this nasty thing where for every single character you type, it writes data to disk. This makes it so typing is extremely slow unless the file is local, and even then, it has to be a rather fast hard drive like a SSD. So That option is out the window. If you hold down a key you'll see what I mean. There used to be a checkbox in option to disable this swap file thing, but that checkbox no longer does anything.
Using Gedit now, but it just feels so, primitive.. the search is really finicky as well, like half the time you hit enter for next result but it actually hits enter on the text, or other times it just loses your spot and makes you bounce all over, it's too touchy. Not a fan.
There are others but they seem so primitive as well. Some seem like they're basically a GUIized version of command line ones. Reminds me of DOS. Vim and such is fine if I'm sshed into a server and want to do a quick edit, but for actual serious coding I want a GUI where I can quickly scroll around, select/cut/copy/paste text, move between documents etc.
Anything else I could try? I don't want a full blown IDE, I just want a good all round tabbed text editor that has syntax highlighting and half decent search and other basic features like that. Idealy one that wont try to do anything weird over NFS like Kate does.
|
|
|
08-30-2014, 01:15 AM
|
#2
|
Member
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 643
Rep:
|
KWrite possibly?
|
|
|
08-30-2014, 01:21 AM
|
#3
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
|
Notepad++ uses the same codebase as SciTE.
I like Geany, I have used Gedit/Pluma and SciTE.
|
|
|
08-30-2014, 01:04 PM
|
#4
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,689
|
your system default is just fine
Gedit for gnome
Kate for KDE
then of course there es Emacs
|
|
|
08-30-2014, 01:11 PM
|
#5
|
Member
Registered: Oct 2009
Distribution: Slackware
Posts: 534
|
http://www.sublimetext.com/
P.S. It can me a hassle to install some plugins, but most of them can be easily installed with Package Control: https://sublime.wbond.net/
Last edited by Smokey_justme; 08-30-2014 at 01:14 PM.
|
|
|
08-30-2014, 02:31 PM
|
#6
|
Senior Member
Registered: Nov 2004
Distribution: Mint, MX, antiX, SystemRescue
Posts: 2,337
|
"vi" is pretty much THE standard text editor on a *nix system. That, and "emacs" too.
Quote:
Vim and such is fine if I'm sshed into a server and want to do a quick edit, but for actual serious coding I want a GUI where I can quickly scroll around, select/cut/copy/paste text, move between documents etc.
|
Many programmers would say that vi is much faster and more powerful, and GUI's are what you use when you don't know the specific editor program very well. A new user of vi will be very slow and klutzy. But there is absolutely nothing like watching an experienced vi'er fly around through files, having things already edited before you even realize what they intentions were. But to each his own. If you like GUI's, there's nothing wrong with that.
|
|
|
08-30-2014, 08:27 PM
|
#7
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,929
|
Both Kate and Gedit look quite plain at first glance, but, if you look into the menus, you will find settings to enable various profiles.
In Kate, for example, under Tools you will find "Mode," "Indentation," and "Highlighting" features for various coding and markup languages. Gedit has similar capabilities, but I can't remember off the top of my head exactly where they are on the menu.
Last edited by frankbell; 08-30-2014 at 08:34 PM.
|
|
|
08-31-2014, 07:26 PM
|
#8
|
Senior Member
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,350
Original Poster
Rep:
|
I actually liked Kate as far as features go, problem is, it is useless over NFS or other higher latency storage because it writes to the network for every single key stroke. (I verified this with a packet sniffer). You can see just how slow it is if you hold down a key. So if you type fast, forget it.
Gedit I'm just not a fan of the search which is something I use a lot in programming, it seems really finicky, you can't really jump to a search term and hit a key for the next term, it just starts to type into the document. It's just awkward to use.
Going to give Sublime and other suggestions a try too, open to other suggestions as well.
|
|
|
08-31-2014, 08:21 PM
|
#9
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,929
|
I think I saw something about that in another thread, but I can't find it. I'll take a shot in the dark here.
In Kate, go to Settings-->Configure Kate-->Editor Component-->Open/Save-->Advanced and click "Disable swap files syncing" and see whether that makes a difference.
|
|
|
09-01-2014, 01:28 AM
|
#10
|
Senior Member
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,350
Original Poster
Rep:
|
Quote:
Originally Posted by frankbell
I think I saw something about that in another thread, but I can't find it. I'll take a shot in the dark here.
In Kate, go to Settings-->Configure Kate-->Editor Component-->Open/Save-->Advanced and click "Disable swap files syncing" and see whether that makes a difference.
|
Yeah tried that. See, that option USED to work as I had the same issue in the past but was able to fix it, but it does not work any more. But that's exactly what is causing the issue, it's the syncing.
I could probably download the source and fix it but I don't know how I would go about "installing" it back into the system so that I still have it show up in the GUI as an option to "open with" and what not and also not conflict with the one installed through apt-get.
|
|
|
09-03-2014, 04:32 PM
|
#11
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
Been using Kate for years myself and love it...odd...never noticed that it was slow in the slightest. Perhaps something else at work there...
|
|
|
09-04-2014, 02:05 AM
|
#12
|
Senior Member
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,350
Original Poster
Rep:
|
Quote:
Originally Posted by bulliver
Been using Kate for years myself and love it...odd...never noticed that it was slow in the slightest. Perhaps something else at work there...
|
Are you using it over NFS or other remote storage, it's only slow if it's a remote storage. You can notice this if you hold down a key. Raid 10 is not so bad, but over a VPN it will be slow if there's slight network latency going on (testing it today from work and it's actually usable but some days it's not, depends how much network activity is going on my home network, torrents etc). The issue is that it writes data to disk for each character that is typed so it's very noticeable on high latency storage. There used to be a checkbox to disable this file swapping thing but the checkbox no longer does anything. It's really too bad since out of all the editors I tried I still like Kate better. I need to see if I can figure a way to fix that. I tried to find the source but they don't seem to offer it without having to setup a whole blown development environment using git. I just want the source!
Last edited by Red Squirrel; 09-04-2014 at 02:08 AM.
|
|
|
09-04-2014, 09:53 AM
|
#13
|
Member
Registered: Oct 2009
Distribution: Slackware
Posts: 534
|
|
|
|
09-04-2014, 03:24 PM
|
#14
|
Moderator
Registered: Mar 2008
Posts: 22,361
|
Notepad ++ is more geared toward coding in various languages. Do you need an editor for a language? LightTable comes to mind.
|
|
|
09-04-2014, 08:46 PM
|
#15
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,929
|
Quote:
See, that option USED to work as I had the same issue in the past but was able to fix it, but it does not work any more. But that's exactly what is causing the issue, it's the syncing.
|
I realized this morning that maybe you have uncovered a bug. Perhaps you should consider filing a bug report.
|
|
|
All times are GMT -5. The time now is 12:30 PM.
|
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
|
|