Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What text editor for Windows or Linux supports Objective-C syntax?

This question might look like a duplicate, but it is not.

I am not looking for a full IDE to program iPhone apps on; I am looking for a text editor for Windows or Linux that recognizes Objective-C syntax. I know NotePad++ does, but it really is painful...

What I need is an editor that

  1. auto-completes braces (not possible with NotePad++)
  2. automatically inserts a new line at the end of the file (not possible with NotePad++)
  3. highlights syntax (possible with NotePad++)
  4. auto-completes directives, class names, and/or method names (not possible with NotePad++)

Thanks.

like image 962
Muhammad Hewedy Avatar asked Sep 14 '11 23:09

Muhammad Hewedy


People also ask

What text editor does C use?

Atom is a modern, powerful IDE, which can be used for many computer programming languages including C . It is one of the highly configurable text editors. Atom is a desktop application built using web technologies.

Does Windows use Objective-C?

Objective‑C development environments are not readily available on Windows or Linux. CodeBlocks can be used if additional options are set and an Objective-C compiler is used.. The Example program can also be compiled by using a text editor with compile capability such as SciTE.

What text editor comes with Linux?

There are two types of text editors in Linux, which are given below: Command-line text editors such as Vi, nano, pico, and more. GUI text editors such as gedit (for Gnome), Kwrite, and more.


3 Answers

The Zeus editor does auto bracing and has configurable syntax highlighting.

It also integrates with ctags to do it's class browsing and code complete.

And since it is scriptable, it should also be possible to write a script to automatically add a line to the end of the file.

like image 63
jussij Avatar answered Nov 15 '22 19:11

jussij


Why the Notepad++ hate? I use NP++ when I am forced to be using a Windows box.

I always use VIM for everything I code not on Windows though.

like image 33
chown Avatar answered Nov 15 '22 19:11

chown


emacs FTW!

emacs has an excellent objective-c-mode, can be customized about umpteen bazillion ways, and can be configured to do auto-completion out the wazoo.

I used emacs as my IDE for over a decade on Windows, Linux and predecessors to Mac OS X during the periods of time when Project Builder (Xcode's long gone predecessor) were unusable.

The learning curve is fairly steep, but emacs is truly an astonishingly powerful editor.

like image 37
bbum Avatar answered Nov 15 '22 20:11

bbum