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
0 answers

Failing to get response from local Grizzly server using jQuery GET request in Brackets IDE preview

I've created a local HTTP server using Java Grizzly, with the basic structure: public static void main(String[] args) throws IOException { Converter.register(); //local register final HttpServer server = startServer(); …
squeezy
  • 607
  • 1
  • 7
  • 15
0
votes
3 answers

fail to install adobe brackets on my win8.1

I wanna install Adobe Brackets on my Windows 8.1 PC. But when it come to the installation directory , no matter where I choose, it keeps poping up a dialog that tells me "Installation directory must be on a local hard drive". Don't know why. Even…
0
votes
1 answer

How to determine which Brackets extension is causing a bug (breaking ctrl-c keybinding)

I just started using Adobe Brackets today. I grabbed a handful of extensions during setup and subsequently lost ctrl-c to copy text. I reloaded the project without extensions and the keybinding works. Reloading with extensions and keybinding doesn't…
Jack Frost
  • 2,151
  • 3
  • 17
  • 21
0
votes
1 answer

How to use Eclipse for Spring REST development with Brackets like editor for JavaScript/front end development?

We have two separate web projects for our application One for Spring REST services Other for AngularJS, the front end of the application. We have been using eclipse for development of both and also for running those locally on tomcat server. It…
Nils
  • 806
  • 1
  • 9
  • 24
0
votes
1 answer

Build Error with Brackets-shell

I am trying to test out building my app and when I run grunt full-build I get this error Running "build-mac" task >> ** BUILD FAILED ** >> >> >> The following build commands failed: >> PhaseScriptExecution Postbuild\ \"Strip\ If\ Needed\"…
ksumarine
  • 782
  • 2
  • 12
  • 33
0
votes
1 answer

Automating HTML Creation

I'm researching a way to simplify a publication process. I receive raw text and images from an author, format it in MS Word, process/upload and reference image URL's in a 2 column table, then convert text to HTML. I take the HTML and wrap it in…
0
votes
1 answer

Code Mirror Simple Mode in Adobe Brackets

I'm trying to make a custom Code Mirror Mode to use with Adobe Brackets code editor. Currently I can highlight {{code}} but I want to use Code Mirror simple mode (easier for me to understand). My Brackets extension code is (main.js): define(function…
0
votes
1 answer

Changing the History Stack Size in adobe brackets

I have not been able to find a way to increase the size of the undo stack, or even better, make it persistent across different sessions. I have looked through the extensions and there does not appear to be one available, is this because it is…
0
votes
1 answer

managing brackets through dot files

I'm a Vim user. Just started using Brackets for HTML and CSS. Just wondering is there a way to manage extensions and settings through dot files something similar to .vimrc and vundle, hence I can reproduce the same brackets environment in stroke of…
deepak
  • 3,074
  • 2
  • 20
  • 29
0
votes
1 answer

Add jQuery into Adobe Brackets HTML Editor

I recently downloaded Adobe Brackets onto my computer, but I soon realized I wasn't able to use jQuery in the same way I had before. The jQuery isn't functioning at all in the program and it is vital to the way the program works. Website is…
Jasch1
  • 525
  • 2
  • 8
  • 22
0
votes
2 answers

jQuery Won't Work in Adobe Brackets

I know this has been asked before, but after looking for a while, I haven't been able to find any way to add jQuery to Brackets. I copied and pasted the code from my website into the editor and get many errors,even though my website works exactly…
Jasch1
  • 525
  • 2
  • 8
  • 22
0
votes
1 answer

Character based folding in CodeMirror?

How can i make the folding custom in CodeMirror; I try to make an extension that allows me to add a folding to templates where it begins with {% and ends with {% end for Brackets editor. But in Codemirror only allows some kind of folding.
Abdelouahab
  • 7,331
  • 11
  • 52
  • 82
0
votes
0 answers

All Emmet Keyboard Shortcuts In PHPStorm, And Detecting Conflicting Ones

I've been using Brackets for a while, now I've decided to move to PHPStorm. I Loved the emmet menu in Brackets with all selection, navigation, wrapping and incrementing numbers options. now i kinda lost in PHPStorm. Don't know if there is a menu for…
0
votes
1 answer

Adobe Brackets extensions installation

I have brackets installed on my PC, but it's a client connect to an Active Directory domain. Seems like a have some troubles installing Extensions like Emmet because my user directory is on domain server. I've already check the rights on directory…
c4ilus
  • 13
  • 3
0
votes
2 answers

How to select a non anti-aliasing font in Brackets on Mac?

How can I choose a non anti-aliasing font in Brackets (left) like Textmate 2 (right) on Mac?
ohho
  • 50,879
  • 75
  • 256
  • 383