Lightweight IDE for Linux [closed]

2019-03-09 13:15发布

Even though I have a robust and fast computer (Pentium Dual Core 2.0 with 2Gb RAM), I'm always searching for lightweight software to have on it, so it runs fast even when many apps are up and running simultaneously.

On the last few weeks I've been migrating gradually to Linux and want to install a free lightweight yet useful IDE to program on C++ and PHP. Sintax highlighting and code completition tips are must-haves.

So, I'd like to receive some suggestions from you, guys.

15条回答
女痞
2楼-- · 2019-03-09 13:46

emacs has been used by linux programmers for decades. It features syntax highlighting, it's fast, and there are a million tutorials out there you can find.

查看更多
甜甜的少女心
3楼-- · 2019-03-09 13:48

I bounce about between Mac, Windows and Ubuntu and while Emacs used to be my editor of choice, I'm finding that in my old age I prefer to something GUI-based (using command-line for the shell is still fine by me). My preferred editor is Komodo Edit, which the advantages of:

  • Being free (as in beer)
  • Available for Mac, Windows and Linux
  • Syntax highlighting for a boatload of languages, including C++ and PHP (I'm using it for Ruby, Python and PHP myself)
  • Code completion, even for classes I defined myself
  • Ability to "remote save" via FTP, SFTP or SCP
  • Support for organizing your files into projects
  • Tabs and other interface niceties

I'm not sure how lightweight it is, but it certainly feels snappier than Eclipse!

查看更多
迷人小祖宗
4楼-- · 2019-03-09 13:50

Vim (or Emacs varying on religion) will always be my first answer to this question, over any point-and-click IDE. As they write in The Pragmatic Programmer

Choose an editor, know it thoroughly, and use it for all editing tasks. [...] The editor will be an extension of your hand; the keys will sing as they slice their way through text and thought. That's our goal.

Make sure that the editor you choose is available on all platforms you use.

Vim is configurable, extensible, programmable and can be turned into an IDE with all the regular features. Lately I've been using Eclim to "bring Eclipse functionality to the Vim editor" (projects, better java support etc.) making it a complete platform with advanced IDE features.

查看更多
Fickle 薄情
5楼-- · 2019-03-09 13:52

Nobody mentioned Kate. It's easier than vi for start (and has nice vi-mode for those, who want to migrate to vi), has more options than gedit (And better syntax highlighting). It also has kioslaves support (nice for remote server PHP development) and it's only a little bit more CPU-demanding than gedit. It can also have built-in console (extremely helpful if you want to quick grep through files or compile the project).

There are also features like:

  • basic code completion
  • advanced indentation and block selection operations
  • good and very clean (to read) find/replace with regexp
  • comment-out on ctrl+d (it comments out one line or one function if used on function header)

and a lot more...

查看更多
爷的心禁止访问
6楼-- · 2019-03-09 13:54

any of the popular editors can be turned into an ide.

I use Vi on the console and have used various gui editors over the years. This doesn't just go for linux I use Crimson Editor on windows as a C/python/z80asm ide.

查看更多
劫难
7楼-- · 2019-03-09 13:56

gedit

  • Syntax highlighting
  • Fast, lightweight
  • Tabs
  • GUI
查看更多
登录 后发表回答