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
0
votes
1 answer

$.ui is undefined in adobe brackets

I am trying to write autocomplete control using jquery ui for dialog model(using Mustache to render the model dialog) for brackets plugin. like this. function bindSelect() { var tags = ["c++", "java", "php", "coldfusion", "javascript",…
Ashish Yadav
  • 99
  • 3
  • 5
0
votes
1 answer

Emmet tab autocomplete not functioning in Brackets 0.42

When trying to use Emmet to do any style settings in an html file, instead of using the autocomplete, it creates a new tab, e.g., if I have the following
and I want to add a margin of 10px, I add
Mr.Syrax
  • 396
  • 1
  • 9
  • 26
0
votes
1 answer

Using Adobe Brackets to edit

Is it possible to preview edit a live website such as updates using Brackets? I know there is the project settings field where it is used for local hosted filed but what if I entered a website in general. I've tried this and when previewing, the…
user3903296
  • 189
  • 1
  • 2
  • 10
0
votes
2 answers

Adobe Brackets 0.41 - CSS auto-completion error while in Live Preview

When: Live Preview is running I'm writing CSS & I hit Enter to use an auto-completion recommendation Then: The auto-completion occurs The cursor skips down a line & indents I usually work around this annoying cursor movement by closing Live…
sr3
  • 389
  • 2
  • 4
  • 15
0
votes
1 answer

Installing custom fonts using font face

I use Brackets code editor and in the live preview it works perfectly but once I upload it onto the actual site it defaults to Arial. I've put the font in the css folder but I just don't understand why it doesn't work on the live site. Here is my…
0
votes
1 answer

Website working in brackets but html file rendering black screen in firefox and chrome

I have an HTML file that contains a video for the background and a small picture of in arrow. it refrences some CSS files and for the most part its pretty standard. I wrote the code in a program called Brackets. Brakets has a feature that runs the…
user3381665
  • 1,131
  • 3
  • 11
  • 16
0
votes
1 answer

Running cURL in Brackets

In the Brackets IDE I'm running PHP functions that need the cURL Library enabled. since the IDE manages in some way to run these files with Live Preview it may have some kind of support over it. How can I install/enable the cURL Library in Live…
AJ_1310
  • 3,303
  • 3
  • 19
  • 26
0
votes
1 answer

building brackets was "Done, without errors" in Debian Wheezy, but

i was trying to build "brackets sprint 40" from source code (by following @jasonsanjose instructions look #4816 and the official wiki's page here) in my 32bit Wheezy, Using CEF3 (Verion 3.1547.1406_linux32_release with glibc 2.13) and everything…
0
votes
1 answer

Left curly bracket does not work in brackets editor

Anyone have the same problem with Brackets editor? I am on windows 7, right bracket is working fine but left not. I press ALTGR + B and it does not work :/ EDIT: problem solved.Just disabled Emmet and works fine now.
Blaja
  • 131
  • 3
  • 8
0
votes
2 answers

Shortcut for clike languages comments not working/implemented?

I'm using the Brackets code editor to code in C++ and I'm having a hard time having the shortcut for lineComment and blockComment working... The shortcuts are [Ctrl+/] and [Ctrl+Shift+/], they work perfectly for CSS, JS.. etc but not with C++…
0
votes
2 answers

Brackets Shell URI

Does anyone know if Brackets Shell uses any URI except the file://...index.html format? I want to point a web service back to the shell and need to provide a valid URI with the URL. The problem is that I noticed that the URL for the index file uses…
Tiaan Swart
  • 614
  • 5
  • 17
0
votes
1 answer

Adobe Brackets - Jump to code segment if live view area is clicked

Is there any way to make brackets jump to the associated code if I click on a area in the live view? For example I want to see the the img-Tag of a picture if I click it in the live view.
DanielAsking
  • 333
  • 2
  • 3
  • 12
0
votes
1 answer

Can I make Brackets/Edge Code CC highlight a .ssi file as if it were an HTML file?

My .SSI file in Adobe Edge Code CC is treated as plaintext as you can see from this image: I would like it to syntax highlight as per a .html file. I have tried the extensions registry at: https://brackets-registry.aboutweb.com/ and cannot find…
Gids
  • 722
  • 1
  • 8
  • 18
0
votes
2 answers

how to debug an angularjs app using Theseus?

I'm developing an angularjs app that consumes its info from a REST service. Besides that, there is a lightweight Node serve that only serves static content. As I'm trying my feet with the Brackets editor I would like to debug my app using the…
Draconar
  • 1,147
  • 1
  • 17
  • 36
0
votes
1 answer

Adobe Brackets - get path of current extension

I'm looking for the canonical way to access the directory that belongs to a running extension. At the moment I have this kludge. It allows me to access a .json located in the same directory as main.js. var support_dir =…
zeffii
  • 534
  • 9
  • 22