Вы находитесь на странице: 1из 5

Brackets (text editor)

Brackets is an open-source editor written in HTML, CSS, and JavaScript with a


Brackets
primary focus on web development.[4] It was created by Adobe Systems, licensed
under the MIT License, and is currently maintained on GitHub. Brackets is
available for cross-platform download on Mac, Windows, and Linux.

On November 4, 2014, Adobe announced the 1.0 release of Brackets. The update
introduced new features such as custom shortcut key combinations and more
accurate JavaScript hinting. Brackets has a major focus on development in
JavaScript, CSS and HTML. With release of version 1.0 Adobe announced a feature
that extracts design information from a PSD file for convenience of coding in
CSS.[5] As of June 28, 2016, the feature is officially discontinued, due to "low
usage".[6] However, Extract is still available via Photoshop and Dreamweaver, both
of which are part of their paid service, Adobe Creative Cloud.[7] The latest version
release of Brackets is 1.11.[8] Developer(s) Adobe
Systems
Initial release 4 November
2014[1]
Contents Stable release 1.11 /
History 25 September
Features 2017

Quick Edit Preview release 1.2 Pre -


Live Preview Linux CEF
Functionality 2171
Live preview limitations (January 22,

Split View 2015) [±][2]

Multiple File Format Support Repository github.com


Theseus Integration /adobe
Functionality /brackets
Extensions Development status Active
See also
Written in HTML, CSS
References and
External links JavaScript
Operating system macOS,
Windows and
History Linux
Adobe first started development of a text editor for web development on Edge Size ~40 MB
Code, which was discontinued as of November 2014.[9] This was later transformed Available in 38
into Adobe Brackets. With the release of Brackets 1.0, Adobe announced that the languages[3]
development of an open source software for web development was ready and was
Type Text editor
not an experimental project anymore. Brackets contains more than 282 community
contributors and more than 400 requests for bug fixes and new features. Every
License MIT License
version of Brackets has more than 100,000 downloads and stands to be 16th most Website brackets.io
popular project on GitHub as of January 16, 2015.[10]
The Brackets repository onGitHub (Bracket repository) currently has 139 branches, 93 releases and 17165 commits as of 29 January
2017. The source code is freely available under the MIT license. A developer can alter features on Brackets and personalize it for
one's own convenience byforking the software code.[11]

Features
Brackets provides several features[12] including:

Quick Edit
Quick Docs
Live Preview
JSLint
LESS support[13]
Open source[14]
Extensibility

Quick Edit
Quick edit enables inline editing of CSS, Color Property, and JavaScript elements for developers. This built-in feature can be applied
to multiple functions or properties simultaneously and all updates are applied directly to the file associated with the changed
elements.

HTML File
Applying quick edit to HTML elements will display all corresponding CSS properties in
a box beneath the selected element. Users can choose to create new CSS rules
directly within the editor and edit a tag's CSS properties inline without leaving the
context of the HTML file.
JavaScript File
On JavaScript functions, quick edit performs the same procedure as with HTML
elements but displays the selected function’s body within the drop down box. All
updates to the function’s body will propagate and update directly within the
corresponding JavaScript file.
Files containing Hex or RGB color properties
For color properties, quick edit will return an inline color picker for previewing and color
adjustment functionality.

Live Preview
When one clicks the respective code snippet in CSS/HTML the web browser immediately shows the output relating to that code
snippet in web browser. This feature is termed as Live Highlight. Also, the feature Live Preview in Brackets pushes code edits
instantly to the browser to present an updated webpage as the developers modify the code. Brackets contains a Node.js backend that
predicts what the code does as the developer types the code.

Two scenarios to Live Preview:

No Back End Logic:


Using Live Preview, Brackets will launch the
chosen HTML file in Google Chrome by supplying
static content from Brackets built-in server. This Live preview of code change on
procedure does not require any back end logic to browser
support viewing changes to the HTML file.
Back End Logic:
With back end logic, Brackets will direct Google Chrome to a provided project URL
running on a separate server but will disable support for HTML-related features. As a
result, the browser will not be able to update any HTML, PHP, etc. files in real time and
element highlighting will also be disabled for these files. Only edits and element
highlighting related to CSS files will be reflected in real time. All non-CSS file updates
will be auto-reloaded instead. These limitations exist because providing live editing
functionality for HTML files requires injecting annotations into the HTML code before
the code is loaded into the browser. These injections are normally handled by Brackets
built-in server but are non-existent when projects make use of separate personal
servers.

Functionality
1. HTML & CSS real time updates (without reloading)
2. Element Highlighting: Elements selected in HTML and CSS files are highlighted within thebrowser.

Live preview limitations


Currently only works with desktopGoogle Chrome (not open-source Chromium), as the target browser.
Opening developer tools inGoogle Chrome will close all live development connections.
All files to be viewed must be inside a currently open folder in Brackets.
Only one HTML file can be previewed at a time.
Real time updates are paused whensyntactically invalid HTML is encountered. Brackets will resume pushing
changes to the browser when the syntax is corrected.

Split View
This feature splits the main view into 2 parts. User can split view either vertically or horizontally as per one's own convenience, thus
allowing user to work on 2 files at same time. Thus developer can simultaneously work on two different files of two different types.
Features such like Live preview, Quick edit works in both views. Currently this feature is limited such that the same file cannot be
opened simultaneously in both views.

Multiple File Format Support


Brackets supports codes from multiple file types from C++, C, VBScript to Java, JavaScript, HTML, Python, Perl and Ruby. The
complete list comprises more than 38 file types. This gives the user flexibility to work on various files of a project simultaneously
.

Brackets supports a feature called "PSD lens" that helps to smoothly extract each of pictures, logos and design styles from PSD file
without opening Photoshop to check for them. By calling this feature a preview Adobe conveys that there is much work ahead before
this feature can be perfected. This feature brought in positive reviews from developers but many issues were reported during the
initial stages of the feature release. The problem was later solved using an extension.

Theseus Integration
Brackets integrates Theseus, an open-source JavaScript debugger that enables developers to set break points, step through code, and
inspect the value of variables in real time.[15] Theseus can be used todebug any extension in Brackets and is easily installed using the
built-in extension manager. Theseus also works in conjunction with Live Preview through a proxy server that records a function and
its associated values every time the function is called.

Functionality
Displays number of times afunction is called next to the function’s definition.
Logs all arguments received, values returned, andexceptions thrown by a function call within Brackets.
Extensions
Being built with HTML, CSS, and JavaScript, developers can provide additional functionality to Brackets by creating
extensions.[12][16] These extensions can be found and installed using the built-in extension manager. Extensions can also be found
online via Brackets Extension Registry.

See also
Chromium Embedded Framework(CEF)
List of text editors
Comparison of text editors § Programming features
Comparison of HTML editors
Atom

References
1. Stewart, Ryan. "Brackets 1.0 and Extract for Brackets (Preview) Now Available" (http://blog.brackets.io/2014/11/04/b
rackets-1-0-and-extract-for-brackets-preview-now-available/)
. Brackets Blog. Adobe Systems. Retrieved
15 November 2014.
2. Flynn, Peter. "Release Notes: 1.2" (https://github.com/adobe/brackets/wiki/Release-Notes:-1.2)
. Brackets Wiki.
Adobe Systems. Retrieved 11 February 2015.
3. github.com/adobe/brackets/blob/master/src/nls/README.md (https://github.com/adobe/brackets/blob/master/src/nls/
README.md)
4. "Adobe Brackets Code Editor"(http://technewss.com/adobe-brackets-code-editor-web-live-preview-quick-edit/)
.
Technewss. Retrieved 12 December 2014.
5. By Harrison Weber, VentureBeat. “Adobe launches its open source text editor Brackets out of beta, releases CSS
extraction tool (https://venturebeat.com/2014/11/04/adobe-launches-its-open-source-text-editor-brackets-out-of-beta-
releases-css-extraction-tool/).” November 4, 2014. November 17, 2014.
6. "Update about Extract for Brackets (Preview)"(http://blog.brackets.io/2016/04/14/update-about-extract-for-brackets-p
review/?lang=en).
7. "Update about Extract for Creative Cloud Assets Online Service and Brackets"
(https://blogs.adobe.com/creativeclou
d/update-for-extract-in-creative-cloud-assets-and-brackets/)
.
8. "Release Notes 1.11" (https://github.com/adobe/brackets/wiki/Release-Notes:-1.11)
. Retrieved 25 September 2017.
9. Adobe Edge Code CC (http://www.adobe.com/uk/products/edge-code.html)
10. LaFontaine, David (2015-01-16)."Adobe Dips Its Toes into the Open-Source Software Waters with Brackets 1.0"(htt
p://layersmagazine.com/adobe-dips-its-toes-into-the-open-source-software-waters-with-brackets-1-0.html)
. Layers.
11. Adobe Brackets – open source editor for web designers(http://thenextweb.com/dd/2014/11/05/adobe-launches-brac
kets-v1-0-open-source-text-editor-web-designers/)
12. "How to Use Brackets"(https://github.com/adobe/brackets/wiki/How-to-Use-Brackets)
, Adobe
13. Text Editor Review – Adobe Brackets(http://callmenick.com/post/text-editor-review-adobe-brackets)
, January 22,
2014
14. "Brackets: Free Open Source Code Editor Built With HTML/CSS"(http://www.hongkiat.com/blog/brackets-code-edito
r/), Hongkiat
15. "Theseus JavaScript Debugger for Chrome and NodeJS"(http://blog.brackets.io/2013/08/28/theseus-javascript-debu
gger-for-chrome-and-nodejs/), Brackets Blog, August 28, 2013
16. "A Review of the Brackets Editor"(http://www.sitepoint.com/review-brackets-editor/), SitePoint, April 18, 2014

External links
Official website
Brackets on GitHub
Brackets's channel on YouTube
Brackets extension registry
Brackets Developer Forum

Retrieved from "https://en.wikipedia.org/w/index.php?title=Brackets_(text_editor)&oldid=814351005


"

This page was last edited on 8 December 2017, at 08:08.

Text is available under theCreative Commons Attribution-ShareAlike License ; additional terms may apply. By using this
site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of theWikimedia
Foundation, Inc., a non-profit organization.

Вам также может понравиться