Questions tagged [adobe-brackets]

Adobe Brackets is an open source text editor originally created by Adobe. It is primarily used for development/editing of HTML, CSS and JavaScript projects, but it supports all files.

Adobe Brackets is an open source text editor developed by Adobe. It is primarily used for development/editing of HTML, CSS and JavaScript projects, but it supports all files. The important thing about Brackets is that it has been developed in HTML, CSS and JavaScript. It keeps in sync with the browser, which means that every time you edit some code, the changes will be reflected in the browser on the fly. This helps eliminate the need for Firebug CSS debugging. Brackets development is still active and more features are yet to come.

Initial release: November 4, 2014

Stable release: Brackets 2.1.2 (Jul 12, 2022)

Latest release: Brackets 2.1.3 Windows only patch release (Oct 31, 2022)

Features

Brackets provides several features including:

  • Quick Edit
  • Quick Docs
  • Live Preview
  • JSLint
  • LESS Support
  • Theseus Integration
  • Open Source
  • 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

Using Live Preview, Brackets pushes code edits instantly to the browser to present an updated page without having to reload.

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 procedure does not require any back end logic to 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 the browser.

Live preview limitations

  • Currently only works with desktop Google Chrome (not open-source Chromium), as the target browser.
  • Opening developer tools in Google 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 when syntactically invalid HTML is encountered. Brackets will resume pushing changes to the browser when the syntax is corrected.

Theseus Integration

Theseus is an open-source JavaScript debugger for Brackets that enables developers to set break points, step through code, and inspect the value of variables in real time. Theseus can be used to debug 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 a function is called next to the function’s definition.
  • Logs all arguments received, values returned, and exceptions thrown by a function call within Brackets.

Quick Docs

Related to quick edit, quick docs is a feature used to display relevant documentation inline. In a CSS/LESS/SCSS file, quick docs will open inline documentation for any selected property. Quick Docs can also be applied to multiple properties simultaneously.

Extensions

Being built with HTML, CSS, and Javascript, developers can provide additional functionality to Brackets by creating extensions. These extensions can be found and installed using the built-in extension manager. Extensions can also be found online via Brackets Extension Registry.

546 questions
-1
votes
1 answer

THREE.something not recognized in Brackets

my code is: var camera, scene, renderer; var mesh; var x, y, z; function init() { "use strict"; renderer = new THREE.WebGLRenderer(); renderer.setPixelRatio(window.devicePixelRatio); renderer.setSize(window.innerWidth,…
Fool
  • 117
  • 1
  • 8
-1
votes
1 answer

Brackets Live Preview not working after moving to wwwroot

I'm using Brackets to dev a static, simple site. The Live Preview capability is fantastic. all was going well until... I wanted to start using some php in my site so i downloaded php and tested it in my inetpub/wwwroot. I then figured that i best…
Fearghal
  • 10,569
  • 17
  • 55
  • 97
-1
votes
2 answers

Brackets extension

I need help with brackets. I was using sublime text 2 but i really like brackets but only problem is that sublime text 2 can highlight different programming language with different color. For example if I type some html code it will be white but…
-1
votes
1 answer

WebStorm opens files on AutoScroll to source

wondering if I could have the same behavior as Brackets like it previews the code on the right side but only opens the file if we do some edits. Helpful when I'm just going through the files and not really changing anything but then at the end I've…
user2727195
  • 7,122
  • 17
  • 70
  • 118
-1
votes
1 answer

Ftp sync to specified Folder in Brackets FTP sync plugin

I just downloaded brackets, and I'm setting it up right now. I already got the plugin for FTP sync ( I'm new to this ... ), It looks like this http://puu.sh/8iYBF.png my question is, can i sync it to a specific folder on my FTP server or can i just…
-1
votes
2 answers

Tutorials on learning Adobe Bracket

hey guys I've just checked on this new Adobe Bracket code editor. I want to know is there any book or video series On-line for learning this. Just like sublime had?? thanks.
Cloudboy22
  • 1,496
  • 5
  • 21
  • 39
-1
votes
2 answers

Building Brackets Shell (After running the grunt build command)

On windows after running the grunt build command for creating brackets shell it gives done without errors but i dont see any .exe file generated.. What might be the problem???
Harsh
  • 1,072
  • 1
  • 10
  • 16
-1
votes
1 answer

Confounded by special CSS case

I was watching this video, it's a short demo for the Brackets IDE. I'm new to web development so I anticipate being confused by the code I see but there was something in there that I really don't get. Around the 8 minute mark the guy brings up the…
EasilyBaffled
  • 3,822
  • 10
  • 50
  • 87
-1
votes
1 answer

Effective way to customize bootstrap?

I'm searching for a effective way to customize bootstrap layouts. Currently i use layoutit.com to get the basic layout and then the software Brackets to edit. I make changes to the less for customization. But it is very complicated that way...my…
-2
votes
1 answer

Brackets SCSS file to CSS file

When I was studying Multimedia I got a free copy of PhpStorm. Using PhpStorm I managed to some techincal magic using Ruby(I can't exactly remember how it worked) to write code in SCSS and phpstorm would automatically create a new file and compile…
-2
votes
1 answer

PHP/CSS not working in Brackets IDE

I've recently started using the Brackets IDE to do web development. However, I've stumbled across an issue. While using the "Live Preview" feature within Brackets, the HTML code will be fine, however whenever I try to utilize any CSS or PHP scripts,…
Matt Jones
  • 61
  • 1
  • 10
-2
votes
1 answer

brackets stopped responding when using bootstrap min css file

I am using brackets as text editor. Bootstrap.min css file is stopped responding on brackets. Html file is working fine, but when switch on to css file brackets hangs. Brackets worked fine on restart. When css file loads the …
Dinesh
  • 11
  • 4
-2
votes
1 answer

Strange characters in text saved Brackets

I close it and reopen it I get some letters and strange characters, especially where words have accent. look at an example: Este exto es la creación de mí probia autoría google translation
krono2
  • 1
-2
votes
1 answer

How to create custom installer for Adobe Brackets

I want to build my installer of the Adobe Brackets source code. Can someone help me with that?
Ashish Yadav
  • 350
  • 3
  • 17
-3
votes
2 answers

How to define document in JavaScript

I am using brackets editor for code editing. I have already installed a brackets extension "js lint". For DOM element I have to write document.getElemenstById or other DOM syntax. JS lint shows an error "document is not defined". So please tell me…
Jamesbond
  • 21
  • 1
  • 2
1 2 3
36
37