您的位置:首页 > 编程语言 > PHP开发

翻译

2016-05-17 21:45 585 查看
This is follow-up article to Sublime Text 2 perfect PHP development set-up. I decided to write this updated version, because from some time now Sublime Text 3 is out there. Maybe it is still officially beta, but works pretty stable and I’m using it for few months now.

这是后续文章,以崇高的文本2完美的PHP开发设置。我决定写这篇更新的版本,因为有一段时间了崇高的文本3就在那里。也许它仍然是正式公测,但工作相当稳定,我使用它几个月了。

This list is almost the same as in previous article – most of plugins I used with ST2 have been updated in order to work with ST3 and I stopped using few of them, so they are out. I’m kinda lazy, so some of descriptions are copy-pasted from previous article ;)

这个列表几乎与以前的文章中 - 大多数我ST2使用的插件已经为了更新了ST3工作,我停止使用其中的几个,所以他们都出来了。我有点懒,所以一些描述的是从以前的文章中复制粘贴;)

Anyway, here is the list:

总之,这里的名单:

Package Control (https://sublime.wbond.net)

Thanks to this little piece of software all other plugins are easily installed.

由于这一小片软件的所有其他插件很容易安装。

SublimeCodeIntel (https://github.com/SublimeCodeIntel/SublimeCodeIntel)

This is package I use all the time. Its job is to provide hints related to function, object, variable etc. names. It also hints what methods and parameters are available in objects/classes. It’s based on Komodo CodeIntel and sometimes it has some problems working at all. But most of the time it rocks :)

这是包我用所有的时间。它的任务是提供与功能,对象,变量名等提示。这也暗示了什么方法和参数是对象/类可用。它基于科莫多CodeIntel,有时它有一些问题,在所有工作。但大部分岩石的时候:)

SublimeLinter (https://sublime.wbond.net/packages/SublimeLinter)

This package does full-time job for me – it constantly watches what I write and instantly lets me know if something is not OK, for example I forget semi-colon or brackets.

这个包的确全职工作对我来说 - 它不断地看着我写的东西,不断让我知道,如果事情不正常,比如我忘了分号或支架。

(update)

From version 3 and up, SublimeLInter has become modular. This means, that you have to install main package first, and then plugin/module for every language you need support for. Each plugin has it’s own set of requirements, so please make sure you read them thoroughly.

For PHP + JavaScript development I’m using:

从3及以上版本,SublimeLInter已经成为模块化的。这意味着,你必须先安装主包,然后插件/模块,每一个你需要支持的语言。每个插件有它自己的一套要求,所以请务必仔细阅读它们。

对于PHP+ JavaScript开发,我使用:

SublimeLinter-php

SublimeLinter-jshint

SublimeLinter-json

and SublimeLinter-csslint

SideBarEnhancements (https://sublime.wbond.net/packages/SideBarEnhancements)

Provides great new options when right-clicking on sidebar elements (files/folders). Very convenient.

提供了巨大的新选项时侧栏元素(文件/文件夹),右击。 很方便。

VCS Gutter (https://sublime.wbond.net/packages/VCS%20Gutter)

Lately I don’t imagine working without this one. Every day I use Git and Mercurial and this plugins gives me real-time information about what was changed (or added/removed) in current file using symbols in left-hand edit window gutter.

最近我无法想象没有这一项工作。我每天都使用Git和水银,这插件给了我大约在左侧编辑窗口排水沟当前文件用符号什么改变(或添加/删除)的实时信息。

SFTP, paid (http://wbond.net/sublime_packages/sftp)

Great package enabling very comfortable use of SFTP, FTP and FTPS. It supports remote folders browsing, editing and synchronization between local and remote files. Also regular upload, download, save or file open.

大包能够非常舒适的使用SFTP,FTP和FTPS的。它支持远程文件夹浏览,编辑和同步本地和远程文件之间。还要定期上传,下载,保存或打开文件。

Tortoise (on Windows only) (http://wbond.net/sublime_packages/tortoise)

I use it as a complementary package to SideBarGit if I’m working in Windows environment. It doesn’t have so many features but those what it provide are very helpfull and intuitive.If you like Tortoise Git but you are working on Linux you might want to check out RabbitVCS. It isn’t integrated with ST2, but it provides comfortable right-mouse-click Git GUI.

我用它作为一种补充包SideBarGit如果我在Windows环境下我工作。它没有那么多的功能,但这些是什么提供的是非常有益和intuitive.If你喜欢龟的Git,但你的工作在Linux上你可能想看看RabbitVCS。它不与ST2整合,但它提供了舒适的鼠标右键单击Git的图形用户界面。

sublime-github (https://github.com/bgreenlee/sublime-github)

Every developer should use code snippets of some kind. I use Gist provided by GitHub and this package enables me to use them instantly (save/paste).

每个开发人员都应该使用某种类型的代码段。我用GitHub上提供的精髓,这个包使我立即用它们(保存/粘贴)。

Tag (https://github.com/SublimeText/Tag)

It is fine plugin, but now ST3 supports tag matching, so I don’t need it any more.

这是好的插件,但现在ST3支持标签匹配,所以我并不需要它了。

PhpDoc (https://sublime.wbond.net/packages/PhpDoc)

Great plugin aiding writing documentation docblocks for PHPDocumentor.

伟大的插件帮助编写文档的docblock为phpDocumentor的。

Phpcs (http://soulbroken.co.uk/code/sublimephpcs)

This package adds support for PHP_CodeSniffer to ST2. It checks if you code is written according to one of the standards. Just pick one: Zend, PEAR.. and more :) Check out PHP_CodeSniffer website for configuration details.

这个包增加了对PHP_CodeSniffer为ST2。它检查如果代码是按照标准之一写入。只需选择一种:Zend公司,梨…等等:)退房PHP_CodeSniffer网站配置的详细信息。

TrailingSpaces (https://github.com/SublimeText/TrailingSpaces)

Small horror of every code – empty spaces at lines ends, at the end of file. Especially troublesome if you are working on the code with other developers, who might use different editors/IDEs which might interpret them (empty spaces) differently.

每个代码的小恐怖 - 在线路空出的空间结束,在文件的结尾。如果你是在与其他开发者,谁可能会使用不同的编辑器/ IDE中可能有不同的解释它们(空格)代码的工作特别麻烦。

BracketHighlighter (https://github.com/facelessuser/BracketHighlighter)

Same situation as with Tag plugin. In my everyday coding ST3 bracket highlighting capabilities of ST3 are good enough. It is still great plugin though.

同样的情况与标签插件。在我日常的编码ST3支架突出ST3的能力都不够好。它仍然是伟大的插件,但。

Sublime Function Name Display (https://github.com/akrabat/SublimeFunctionNameDisplay)

Displays in bottom bar name of a function (or method) in which our cursor is placed. Simple and helpful.

显示在光标所在的函数(或方法)的底部栏名称。简单的和有益的。

Terminal (http://wbond.net/sublime_packages/terminal)

Using Git or maybe some PEAR packages you might need to switch to console from time to time and do some magic. Maybe use Zend Tool or “bake” something ;) It’s just what this plugin is for.

使用Git或者一些PEAR包你可能需要切换不时安慰时间和做一些魔法。也许使用Zend的工具或“烘焙”的东西;),这正是这个插件是。

Xdebug Client (https://sublime.wbond.net/packages/Xdebug%20Client)

Lately my favorite Xdebug client for ST3. Works great and allows to use all of Xdebug debugging capabilities.

最近我最喜欢的Xdebug客户端ST3。伟大工程,并允许使用所有Xdebug的调试功能。

Few supporting packages. I consider them optional, but they come in handy:

很少支持包。我认为他们可选的,但他们派上用场:

LineEndings (https://sublime.wbond.net/packages/LineEndings)

Nice to have plugin if you are working with other developers using Windows and Unix/Linux machines. It takes care of different (invisible) line ending characters in those systems.

Sass (https://sublime.wbond.net/packages/Sass)

This one comes in handy when working with Sass files. Syntax highlighting and so on.

PlainTasks (https://github.com/aziz/PlainTasks) added thanks to Virion’s comment

Great tool for everyone who like to have their tasks organized, flexible with many great features.

Sublimerge (http://www.sublimerge.com/) _added thanks to Virion’s comment_Diff tool on steroids. Ideal for everyone who has to do a lot with merging, especially useful when it comes to large files.

DashDoc (https://sublime.wbond.net/packages/DashDoc) _(Mac only)_This one is for Mac users only and only for those who have Dash installed, but I really recommend it. Dash provides access to docs of almost every major library, framework etc. and so much more! With this plugin you can access it directly right from Subliem Text code window with keyboard shortcut. It really speeds up coding.

That’s it for now. I might come back and something later, but this is my set-up and works great for me.

If you know any plugin worth mentioning, then let me know – I’ll be glad to add it to my list. Any suggestions? :)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  php