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

Highlight HTML code when clicking element in browser while live previewing

Adobe Brackets has one good built-in feature: While live previewing an HTML doc, you can click any element in the browser and Brackets will highlight the specific code. I'm looking for other text editors, browser plugins, or apps that can do…
TD540
  • 1,728
  • 3
  • 14
  • 26
-1
votes
1 answer

Adobe Brackets highlight declared variables?

I'm using brackets.io. I find it annoying that it does not highlight defined variables and functions. for example, unlike this picture. I want myVar to be highlighted in the second line, showing that it has been defined. Similarly with functions. I…
parzival
  • 3
  • 2
-1
votes
1 answer

How To Recover CSS Rules From A Corrupted CSS File

My .css file was working fine but today I noticed the website is not acting based on CSS rules so I tried to inspect the rues on browser and surprisingly I noticed the CSS file is empty! I tried to open the style.css file in Notepad++ and this is…
Suffii
  • 5,694
  • 15
  • 55
  • 92
-1
votes
1 answer

How to write Ruby in Brackets

How can I write a ruby program using Adobe Brackets as a code editor?
Nilesh
  • 19
  • 3
-1
votes
1 answer

Can I edit xml/java codes of my android app on Brackets Editor?

I am new to Android app development. I have a source code and would like to modify some xml/java codes. Can I use the Brackets editor for this? I don't want to use Android studio as it's a bit complicated for me.
-1
votes
2 answers

Can't use video file

I'm trying to import a video onto my site. I don't want any controls, I just want it to play. I'm using the tag, but when I downloaded the video from YouTube and tried to use it, it said that "Brackets only currently supports UTF-8 encoded files".…
Natan Garanto
  • 31
  • 1
  • 6
-1
votes
1 answer

Navigating between Express, EJS and Node.js

How do I create a page which has a button, which onclick() will redirect to another page?
Bugzy216
  • 1
  • 1
-1
votes
1 answer

How do i contain text inside a user defined box using css?

I'm trying to float text beside an image but it always gets shoved to the bottom of it. I have floated one to the right and one to the left with no avail.
HyperPXLZ
  • 15
  • 5
-1
votes
1 answer

Why isn't my brackets previewer not working?

I've been using Notepad++ but decided to install Brackets. However, when I try to open my document to preview it live, I get an error saying "Open an HTML file or make sure there is an index.html file in your project in order to launch live…
CheckLife
  • 23
  • 2
  • 9
-1
votes
1 answer

Linking Path Causes Javascript Function Fails with Brackets's Live Preview

I created a project with an index.html file in my root folder with Brackets. Because there are common js/css files significantly I wanted to create projects under this root to be able to reach these common files from my current root. So I gave…
Erhan Yaşar
  • 847
  • 1
  • 9
  • 25
-1
votes
1 answer

An error occured when trying to view folder files in brackets extension - extract for brackets

I have just installed brackets and plugin extract for brackets. I have already registered in creative cloud assets and logged in but I have this kind of error. Can anyone help me?
Giorgi
  • 31
  • 4
-1
votes
2 answers

html code in brackets

I'm new in brackets software, I noticed that when I opened the new file, is showing no HTML code or any other code, just blank white page. Is not like Dreamweaver when open new file showing with HTML code. I was wondering if there is possible for us…
alidads
  • 35
  • 8
-1
votes
2 answers

How to open a remote folder to edit all files within using winscp/cyberduck?

I connect to a remote folder via winscp/cyberduck, to edit a file. I can open the file with an editor of choice like sublimetext or brackets but I cannot seem to open a folder and edit the files within the folder, this option is not available. How…
blue-sky
  • 51,962
  • 152
  • 427
  • 752
-1
votes
2 answers

Can I use code libraries items/snippets in Brackets like they are implemented in Dreamweaver?

I like working with the Brackets code editor for most of my projects. However, my team is doing a particular project right now for which we are going to need to create multiple re-usable components to provide prototype demos. We've used a GIT…
Ryan Coolwebs
  • 1,611
  • 5
  • 22
  • 44
-1
votes
1 answer

Chrome Bad Font Rendering (Windows), But good with Brackets.io

I am using the latest Google Chrome version, with DirectWrite activated, but still the font rendering is terrible.. I thought is only about Chrome's abillity and there's nothing I cant do with it, but when I used "Brackets.io"'s Live Preview with…
Paz
  • 101
  • 2
  • 13