Sublime
Sublime Text is a cross-platform text and source code editor, with a Python application programming interface (API). Its functionality is also extendable with plugins; Sublime Text is not open source software, nor free software, but most of the extending packages have free-software licenses and are community-built and maintained.
Features:
Column selection and multi-select editing
This feature allows users to select entire columns at once or place more than one cursor in text, which allows for simultaneous editing. All cursors then behave as if each of them was the only one in the text. Commands like move by character, move by line, text selection, move by words, move by subwords (CamelCase, hyphen or underscore delimited), move to beginning/end of line etc., affect all cursors independently, allowing one to edit slightly complex repetitive structures quickly without the need to use macros or regex.
Auto completion:
A common feature within text editors Sublime Text will offer to complete entries as the user is typing depending on the language being used. It also auto-completes variables created by the user.
Syntax highlight and high contrast display
The dark background on Sublime Text is intended to increase the amount of contrast with the text. As certain types of syntax are highlighted in different colours, these stand out better compared to the background than if it were light.
In-editor code building
This feature allows users to run code for certain languages from within the editor, which eliminates the need to switch out to the command line and back again. This function can also be set to build the code automatically every time the code is saved.
Snippets
This feature allows users to save blocks of frequently used code and assign keywords to them. The user can then type the keyword and press tab to paste the block of code whenever they require it.
Goto anything[8]
This feature is a navigation tool that allows users to move between files and also within them.
Other features[5]
Sublime Text has a number of features in addition to these including Auto save which prevents users from losing their work. Customizable key bindings, a navigational tool which allows users to assign hotkeys to their choice of options in both the menus and the toolbar. The find as you type feature is used to search the document and begins to look for the text being entered as the user types. Similarly the spell check function corrects as you type. Sublime Text offers further automation features including the use of Macros and the ability to repeat the last action.
There is also a wide selection of editing commands, including indenting and unindenting, paragraph reformatting and line joining.
Package Manager:
Sublime Text can be equipped with a package manager called Package Control that allows the user to find, install, upgrade and remove packages, usually without restarting Sublime Text. The package manager keeps installed packages up-to-date with an auto-upgrade feature and downloads packages from GitHub, BitBucket and a custom JSON-encoded channel/repository system. It also handles updating packages cloned from GitHub and BitBucket via Git and Hg, as well as providing commands for enabling and disabling packages. The package manager also includes a command to bundle any package directory into a .sublime-package file.
The following is a selection of the packages that are available to customise the basic out-of-the-box version of Sublime Text 2:
SublimeCodeIntel — Features: Jump to Symbol Definition, allows user to jump to defining symbol. Provides real-time auto-complete information. Function Call Tool-Tips, which displays information in the status bar regarding the current function.[10]
Sublime Goto Documentation — This package opens up relevant documentation for the function the user has highlighted. It can be activated both by Key Binding or directly from the command palette.
Bracket Highlighter — A package that enhances the basic highlights Sublime Text provides for pair of brackets amongst the users code. The package can be configured with different colored highlights for different types of brackets.
Sublime dpaste — This is a package for sharing code snippets among users. By selecting some code in Sublime Text 2 and hitting ctrl+d the selection is sent to the dpaste.com service. The code can then be accessed via the web and pasted on multiple machines.
SublimeLinter — This package is an implementation on the popular code validators, known as linters, for a number of languages such as JavaScript, Objective-J, Perl, PHP, Python and Ruby. It will highlight any code that the linter deems to be invalid, identifying simple typos and invalid code as the user types. The invalid code will be automatically highlighted by the linter, and clicking on the area of invalid code will provide information in the status bar that can identify the error.
Side Bar Enhancements This package provides several enhancements to the Sublime Text 2 sidebar including new options for deleting, opening, moving, new file creation, editing and finding.
0 comments:
Post a Comment