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 1.13 (Jun 18, 2018)

Preview release: Brackets 1.14 Pre Release (Apr 15, 2019)

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.

550 questions
9
votes
2 answers

php code not indenting in adobe brackets

I am using Adobe Brackets 1.0 code editor. I have .php pages that include HTML & PHP lines. HTML lines indenting fine BUT PHP lines do not indent correctly! is there any extension or way to force PHP lines to indent correctly? I've used and tried…
SULTAN
  • 1,059
  • 2
  • 11
  • 24
7
votes
2 answers

Multiple Project Folders Opened in Adobe-Brackets

Is there a way to open multiple project folders in the side bar of Adobe-Brackets? I've tried Googling but haven't found any answer specific to this question. When I try to open a secondary project folder, the side bar will close the current project…
Jono Suave
  • 71
  • 5
7
votes
6 answers

How to change font size in brackets

I want to change the font size for editing in brackets from the default size to 16pt. I go to view--> theme--> edit font size to 16pt or another size, but it doesn't change.
Hoang
  • 117
  • 1
  • 2
  • 4
7
votes
3 answers

Chrome Developer Tools shows favicon 404 error in Brackets LivePreview

I've just started doing Anthony Alicea's "Javascript: Understanding the Weird Parts" course, and he's using the live preview feature of Brackets to demo his code. The first module is a barebones HTML page with a script tag linking to an empty JS…
7
votes
4 answers

How to ignore specific warnings outputted by the CSSLint extension for Brackets

I'm using the CSSLint extension for Brackets. Is there a way to disable specific warnings for things like box-model and @bulletproof-font-face? The best match I've found for a discussion is here. At the moment I'm hoping to use a preamble in my CSS…
Joel DeWitt
  • 1,106
  • 1
  • 11
  • 25
6
votes
2 answers

How to set the jslint ES6 directive in Brackets?

I get this error: "expected an identifier and instead saw 'const'", I'm using brackets text editor. I found this answer: "You need to specify the es6 directive. See JSLint Help". But I can't figure it out how to specity the es6 directive in…
Angel
  • 65
  • 1
  • 1
  • 5
6
votes
4 answers

What is the equivalent Atom Indent Guides like in Brackets?

What is the equivalent Atom Indent Guides like the one Bracket has showing vertical lines connecting matching beginning/opening and ending/closing brackets or keywords?
user6035846
6
votes
2 answers

How to link external javascript file in Adobe Brackets IDE?

The code works in Codecademy but doesn't seem to work in Adobe Brackets IDE. Greatly appreciate any help on this issue! HTML File Testing
Rafilson
  • 101
  • 2
  • 7
6
votes
3 answers

Adobe Brackets editor with meteor autocomplete

Is there is a way to make meteor autocomplete in Adobe Brackets editor?
Abdullah Dahmash
  • 525
  • 1
  • 6
  • 12
6
votes
2 answers

is refactoring available in Adobe brackets

It is so great that code completion is already there but two things are also important to have 1- refactoring ( renaming all the incidents of same variable/ function ) 2- when you select a variable it to highlight all the occurrences of that…
C graphics
  • 6,750
  • 18
  • 75
  • 124
5
votes
1 answer

Find new lines in Adobe Brackets

I'm trying to do a find and replace on a file to get rid of line breaks using Adobe Brackets. However, when I enter \n in the search field, even with Regular Expression turned on, it says No results. Is there a way to find newlines within…
jpyams
  • 2,949
  • 3
  • 29
  • 56
5
votes
6 answers

How do I launch brackets.io from MacOS 10.12 (Sierra) terminal?

I'm having problem launching brackets.io from terminal on MacOS Sierra. brackets filename.ext Gives: -bash: brackets: command not found Anyone know what I need to configure to make this happen?
Afloz
  • 3,325
  • 3
  • 21
  • 29
5
votes
1 answer

How to disable JSLint ES6 errors with const and let in Adobe Brackets?

I have Googled and looked through this site everywhere, but I can only find answers for JSHint instead of JSLint. To get rid of the "use function form of use strict" error I add in /*jslint node: true */. But to disable errors for using const and…
5
votes
1 answer

HTML Beautify Settings in Brackets

I understand that the Brackets Beautify extension is based on JS Beautify, and that I have a suite of preference settings available because of that, but I have no idea of how to alter them through the Brackets settings.json file. Does anyone have…
TheComte
  • 113
  • 1
  • 6
5
votes
1 answer

Change the default directory for Brackets

I have tons of files in my home directory (~), and each time I open Brackets, it tries to load and index all the files there. Eventually, after freezing for a minute, it throws the error: Error Indexing Files: The maximum number of files have been…
dayuloli
  • 13,791
  • 13
  • 58
  • 103
1
2
3
36 37