Which is the Best Code Editor?

2012/11/29 10:17

For us, web developers, the choice of a source code editor shouldn’t come lightly. This is where we spend most of our development time and where productivity is gained or lost on a grand scale. No two developers are alike, so there is a plethora of editors that can accommodate any coding style. But this politically-correct statement doesn’t answer the most fundamental question of all – which is the best?
To determine the best editor, we will rate each one on a scale from 1 to 5 stars, consisting of:

• Beginner friendliness – how easy it is for a beginner to get up and running when opening it for the first time;

• Power – this criteria rates the feature set, text editing capabilities, editing modes etc.

• Extensibility – does the editor supports plugins, bundles or extensions;

• Aesthetics – we strive for beauty in our work, so it is natural to look for the same in our tools;

• Speed – this rates the startup time, performance when opening large files, snappiness of the interface;

• Cross-platform – if the editor is available on multiple operating systems.

• Price – the lower the cost, the higher the mark.

Editors are presented in groups, giving some context on the typical type of developer that would use them.

For Gurus

Who is a guru you ask? Generally, this is a person who has been using one of the editors below since before you were born. The tools in this section are hardcore and insanely expandable. They can run from a terminal window and according to UNIX traditions all their settings are defined in configuration files. Beginners beware!

Vim

Released in 1991 this versatile and powerful editor gained a massive following in the open source world. What makes it different from any other editor in this article, is its command-based workflow. Instead of simply typing code, you choose between modes for entering or selecting text, running regex-powered searches and using more commands than you can handle on an empty stomach. It can run from both a console window and a GUI. It has also been ported to all major operating systems. Vim is also extendable by using scripts and plugins, which allow you to tailor your experience with the editor. It is open source software and comes preinstalled on most Linux systems.

Emacs

Development of Emacs started way back in the 1970 and continues to this day. This editor is known for its extensibility, achieved by loading customized libraries. It deserves its place in computing history, as it is one of the first editors to implement syntax highlighting, automatic indentation and support for multiple programming languages. Like Vim, it is perfectly cross-platform and can be used from both a terminal window and through a graphical user interface. The editor comes bundled with a LISP interpreter, which gurus can use to change it to extremes. Emacs is free and open source software.

For Professionals

The editors in this category are full blown development environments. They are meant to be easy to use and at the same time expose powerful features so that developers go through writing code, compiling, testing and deploying from a single application.

Eclipse

Eclipse is the goto development environment for writing Java applications. The IDE follows a plugin architecture, which makes it easy to bring support for additional programming languages. There are plugins for C/C++, Ruby, PHP and more. Eclipse offers powerful code hinting, built in documentation and real-time syntax checking. Companies like Google release their development kits for the platform, so you can easily create applications for Android and App Engine. Eclipse is free and open source.

Aptana Studio

Aptana is a development environment targeted at rich AJAX applications. It is based on Eclipse, and bundles powerful new tools that make sense for web developers. It has support for the most popular web programming languages: PHP, JavaScript, HTML, CSS, Ruby, Python and more through plugins. It has Git integration, ability to deploy your application to remote servers and bundles of useful code snippets and actions for every language. Like Eclipse, Aptana is free and open source.

Netbeans

Netbeans is another Java development environment, but like Eclipse, can be extended with bundles for additional languages including PHP, Python, C/C++ and others. It runs on Linux, Windows and OSX. Where this IDE shines though, is in Java development. Netbeans can speed up your development of desktop applications with a drag&drop GUI builder. A negative side effect of all this flexibility is the performance – Netbeans has frequently been reported for being slow on large projects. The IDE is free and open source.

Xcode

Xcode is Apple’s solution for developing OSX and iOS applications. It supports C, C++, Objective-C, Objective-C++, Java, AppleScript, Python and Ruby. With Xcode, you can write, debug and preview code. It provides a GUI builder and a mobile device emulator for testing iOS apps. The IDE is based on open source utilities like the GNU Debugger and the Apple LLVM compiler. Xcode used to be paid, but now is offered for free to developers.

Coda 2

Coda is an all-in-one web developer power tool set. It includes support for (s)FTP file transfer, code navigation, sites and groups, code folding, terminal and git integration, MySQL management and much more. With the new Coda 2 release, you can even use an iPad as a dedicated preview screen. The regular price is $99, but you can get it with a discount for around$75.

For Aesthetes

The editors presented here are beautiful, lightweight, easy to use and extensible. There are big communities around them, which produce bundles and plugins, write articles, and offer tips on how to make the best use of the respective editor.

For Pragmatists

This section is for people who just want to get things done. These editors don’t get in your way, but at the same time are fast and very powerful. They may not be as refined as the last group, but rest assured that they can take anything you throw at them.

This powerful and lightweight editor is a must for any programmer running Windows. Although its name might connote that it is merely an improved version of Notepad, this is a mighty tool. It is easy for beginners to get started, but it takes a pro to truly master. Notepad++ supports every popular programming language with plugins available for the rest. The editor also has support for split screen editing, an FTP browser, macros and powerful text editing capabilities. Notepad++ is free as in speech and also as in beer.

TextWrangler

TextWrangler is a free and lightweight OSX-only editor with support of multiple programming languages. It offers a powerful search and replace functionality with multiple file support, text manipulation, file comparison, auto indentation, multiple clipboards, ftp support and more.

And the best editor is..

With a rating of 4.6, the best source code editor is Sublime Text 2! With its fast release cycle, cross-platform availability, speed and elegance, Sublime offers a package that is only enhanced by the large community of developers around it.

0
0 收藏

0 评论
0 收藏
0