博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Which is the Best Code Editor?
阅读量:5958 次
发布时间:2019-06-19

本文共 9288 字,大约阅读时间需要 30 分钟。

hot3.png

转载:

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.

213AAA372C316D536788F1D337792058_500_222.jpg

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.

2CB6CE348D70F9A1E896D753F1691175_500_222.jpg

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.

F6F33C55E5899E5E70735B0664D57C17_500_222.jpg

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.

5A659B6C2523B1AEC56B235E6700F0C0_500_222.jpg

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.

7037B1D64D2CB5C099FF19F14FF17CC0_500_222.jpg

Dreamweaver

Dreamweaver is part of Adobe’s application suite targeted at web designers/developers. It provides support only for the most popular web languages – PHP, ASP.NET,  JavaScript, HTML, CSS. It is mainly suitable for beginner developers, with support for WYSIWYG editing, live previews, deployment to remote servers and building apps with jQuery mobile and Phonegap. Dreamweaver is available on OSX and Windows. With a standalone price tag of $399 it is hard to recommend in place of the other editors in the article, but buying it as part of Adobe’s CS suites might make more sense.

9EF8160C8C9AB7CD70F65756A575F8E5_500_222.jpg

Visual Studio

Visual Studio is the all-in-one development environment for Windows. It supports a large number of languages (C/C++, C#, VB.NET and F# come built-in)  and can be used to develop applications for desktop, mobile and web. It has powerful features for code autocompletion, inline documentation, error checking, debugging, form designer, database schema creation and more. The price starts from $500, but an Express version of Visual Studio is available for free, with a limited feature set.

F92E1E810407758EFF289B1C6D5200CF_500_222.jpg

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.

0637A73B215027CB566E34942841164F_500_222.jpg

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.

886E59FBB341051FA153E518FC954C18_500_222.jpg

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.

TextMate

TextMate is a general-purpose graphical text editor for OSX. It includes extensive support for macros and bundles, code folding, snippets, shell integration, clipboard history and project management. TextMate 2 is expected to bring long requested features like split views and full screen support, which are currently missing. The editor costs around $50.

DADDB62E1B9B0386F1A52C4FE43C15DD_500_222.jpg

Sublime Text 2

Sublime is a beautiful cross-platform code editor. It is fast and feature rich, with support for practically every programming language. It supports multiple selections, code folding, keyboard bindings, macros, split screen editing and projects. Sublime Text also has a fullscreen and distraction-free modes, which look great on big displays. Like TextMate, it has a vibrant community behind it, which creates bundles and plugins with the help of Sublime’s powerful plugin API. It runs on Linux, Windows and OSX. This editor comes with an unlimited trial period, but you should eventually purchase a license for $59, which can be used on every computer that you own.

9EF737ED4B442B8D29092EFD32EF48BD_500_222.jpg

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.

Notepad++

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.

D07133B95C948B4AB55DE9F51FE71A6A_500_222.jpg

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.

36F86CCBA58D2FC54ADC3BDB28E4C4B2_500_222.jpg

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.

转载于:https://my.oschina.net/childhood123/blog/80222

你可能感兴趣的文章
前端知识复习一(css)
查看>>
spark集群启动步骤及web ui查看
查看>>
利用WCF改进文件流传输的三种方式
查看>>
Spring学习总结(2)——Spring的常用注解
查看>>
关于IT行业人员吃的都是青春饭?[透彻讲解]
查看>>
钱到用时方恨少(随记)
查看>>
mybatis主键返回的实现
查看>>
org.openqa.selenium.StaleElementReferenceException
查看>>
数论之 莫比乌斯函数
查看>>
linux下查找某个文件位置的方法
查看>>
python之MySQL学习——数据操作
查看>>
Harmonic Number (II)
查看>>
长连接、短连接、长轮询和WebSocket
查看>>
day30 模拟ssh远程执行命令
查看>>
做错的题目——给Array附加属性
查看>>
Url.Action取消字符转义
查看>>
HBase 笔记3
查看>>
iOS验证码倒计时(GCD实现)
查看>>
Linux嵌入式GDB调试环境搭建
查看>>
java分析jvm常用指令
查看>>