2

I am looking for a text editor with advanced capabilities. For example; I should be able to expand and collapse xml codes/sections (or c/c++ sections) easily.

Something similar notepad++ for windows.

Also, If it can additionally create a Table of contents from the tags that would be even more good!

AzkerM
  • 10,390
nass
  • 1,442
  • 2
  • 20
  • 34

6 Answers6

7

I use notepad++ on windows but since it is not avaible on linux I use Sublime Text

sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text

Here is an list with linux text editors: link

Mihai
  • 1,674
6

Geany can do the collapsing. You can install it with

sudo apt-get install geany

or from the Software Center.

falconer
  • 15,334
4

I'm not much of a GUI user but I love Kate editor which is quiet good for programming purpose.

AzkerM
  • 10,390
1

Gedit if very good a C and other programming languages. It does highlighting, making it easy to use.

Bluefish is very good as well, and also does the collapse/expand behaviour you want.

Wilf
  • 30,732
0

I'm currently using jEdit for LaTeX and python. I find the syntax highlighting better than notepad++, and it does code folding, though I haven't tried it on C. I was seriously considering trying notepad++ under wine though.

Chris H
  • 320
0

You may use QtCreator only (probably without tool-chains and compilers). There are good code highlight and ability to customize syntax for yourself. Also, as you asked, QtCreator is able to create table of context + code completion.