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

How to turn off dimming of inactive editor panes in Brackets editor? [Image included]

How can I turn off the active windown hight light, so that both side of the window look the same. The grey deactive highlight is really hard to look through. What I want is that both sides look like the right side in the image provided.
XY L
  • 25,431
  • 14
  • 84
  • 143
0
votes
1 answer

Using SASS partials in Brackets

So I have started using Brackets as my IDE, and have been trying to get SASS and everything else I need to work on it. So while I was playing around, I realized I was not able to share my partial files with other partial files. Am using the…
Andre Rogers
  • 47
  • 3
  • 10
0
votes
1 answer

How to move sidebar at Left to Right side in Brackets IDE. Is there any plugin available?

How to move sidebar at Left to Right side in Brackets IDE. Is there any plugin available? Previously i used Geany IDE. So i need this option like in Geany IDE.
RK6
  • 424
  • 1
  • 5
  • 23
0
votes
1 answer

Brackets extensions api

my first question here :) Iam trying to develop a Brackets Extension that would sync all installed extensions across other PCs. Point is, that I can't get info like version, url of the origin repo etc. I was using ExtensionManager api, but…
Marcus
  • 341
  • 1
  • 8
0
votes
2 answers

Make Brackets.io look as Sublime Text?

I am trying out Brackets.io, but it looks much worse than Sublime on my screen (Apple 27"). The font/text (tried many different) is not as sharp and "fat" as it is in Sublime Text. Is there a way to make it look more like Sublime? (I wonder if…
allegutta
  • 5,626
  • 10
  • 38
  • 56
0
votes
1 answer

Anyone else with bad font smoothing in Brackets 1.1?

So I've got Mactype installed which renders fonts beautifully on my Windows setup, but since I installed the latest version of Brackets v1.1 the font smoothing/anti-aliasing has been terrible. Here's a comparison between version 1.0 and 1.1…
Feyisayo Sonubi
  • 1,052
  • 5
  • 15
  • 27
0
votes
1 answer

Hide folder in Brackets

I have a node_modules folder in my Brackets project folder. I don't want Brackets to display that folder, search it, etc. Is there a way to do this?
toliklunev
  • 303
  • 1
  • 12
0
votes
1 answer

Brackets.io editor - Save Editor Config to git

Is there a way to save the configuration of my brackets editor to git? The brackets preferences docs don't seem to indicate a way to do this yet.
sayth
  • 6,696
  • 12
  • 58
  • 100
0
votes
1 answer

This code runs in Bracket editor but does not work in Google Chrome

I've this code: In the head: $(document).ready(function() { $("#mostrarPlay").click(function(){ alert('Hello'); }); }); and in the body Play It Works when pulse the Run icon in Brackets…
0
votes
2 answers

Adobe Brackets live preview is blank. What is wrong with my code?

At first I was being sent to chrome for live preview and the page was blank. Then I started getting an error message that read: "Open an HTML file or make sure there is an index.html file in your project in order to launch live preview." Other files…
0
votes
1 answer

Brackets editor - shortcut to create an open/closed set of brackets

In TextMate there is a very useful shortcut where you hit CMD+SHIFT+W and it opens a

with your cursor over the p; you then type anything you want, and it will adjust it, e.g.

Brackets has auto-close but I loved the one-stroke…
Jack Reeves
  • 1
  • 1
  • 1
0
votes
1 answer

Using .brackets.json for JSLint in Brackets

I am trying to get the .brackets.json to work with JSLint in Brackets 1.0, as it is described here. Actually I want a global JSLint configuration instead of adding the JSLint-lines to each file. For an MWE, I created this very simple project, where…
Dennis
  • 4,011
  • 7
  • 36
  • 50
0
votes
1 answer

Set cursor blink rate in Adobe Brackets

I know Brackets editor uses CodeMirror and you can change cursor blink rate in CodeMirror with cursorBlinkRate. But how i can do this in Brackets?
appomsk
  • 143
  • 4
0
votes
1 answer

Bootstrap Carousel Isn't Responsive in Full Screen

I am working on a carousel that is 50% off a page. It is the same one that is in the bootstrap modern business template. I have tried multiple ways to get the images to be responsive when re-sizing the page with no luck. The images are 1920px x…
0
votes
3 answers

Can't get CSS to change class through Javascript

I'm trying to learn web development, and I'm stuck on changing the CSS class through Javascript. I've looked at other websites and questions, but none of them are working for me, so I must be doing something stupid that I don't know about. What I'm…
DXPower
  • 391
  • 1
  • 11