Git Product home page Git Product logo

brackets's Introduction

Welcome to Brackets! Build Status

Brackets is a modern open-source code editor for HTML, CSS and JavaScript that's built in HTML, CSS and JavaScript.

This is a fork of a project previously maintained by Adobe. We might change names in the future.

A lot of work needs to be done to make this fork become independent. Feel free to open a PR! Want to help coordinating the project itself? Check the projects tab (here).

What makes Brackets different from other web code editors?

  • Tools shouldn't get in your way. Instead of cluttering up your coding environment with lots of panels and icons, the Quick Edit UI in Brackets puts context-specific code and tools inline.
  • Brackets is in sync with your browser. With Live Preview, Brackets works directly with your browser to push code edits instantly and jump back and forth between your real source code and the browser view.
  • Do it yourself. Because Brackets is open source, and built with HTML, CSS and JavaScript, you can help build the best code editor for the web.

Brackets may have reached version 1, but we're not stopping there. We have many feature ideas on our trello board that we're anxious to add and other innovative web development workflows that we're planning to build into Brackets. So take Brackets out for a spin and let us know how we can make it your favorite editor.

You can see some screenshots of Brackets on the wiki, intro videos on YouTube, and news on the Brackets blog.

How to install and run Brackets

Download

Installers for the latest stable build for Mac and Windows can be downloaded here.

Usage

By default, Brackets opens a folder containing some simple "Getting Started" content. You can choose a different folder to edit using File > Open Folder.

Most of Brackets should be pretty self-explanatory, but for information on how to use its unique features, like Quick Edit and Live Preview, please read How to Use Brackets. Also, see the release notes for a list of new features and known issues in each build.

In addition to the core features built into Brackets, there is a large and growing community of developers building extensions that add all sorts of useful functionality. See the Brackets Extension Registry for a list of available extensions. For installation instructions, see the extensions wiki page.

Need help?

Having problems starting Brackets the first time, or not sure how to use Brackets? Please review Troubleshooting, which helps you to fix common problems and find extra help if needed.

Helping Brackets

I found a bug!

If you found a repeatable bug, and troubleshooting tips didn't help, then be sure to search existing issues first. Include steps to consistently reproduce the problem, actual vs. expected results, screenshots, and your OS and Brackets version number. Disable all extensions to verify the issue is a core Brackets bug. Read more guidelines for filing good bugs.

I have a new suggestion, but don't know how to program!

For feature requests please first check our Trello board to see if it's already there; you can upvote it if so. If not, feel free to file it as an issue as above; we'll move it to the feature backlog for you.

I want to help with the code!

Awesome! There are lots of ways you can help. First read CONTRIBUTING.md, then learn how to pull the repo and hack on Brackets.

The text editor inside Brackets is based on CodeMirror—thanks to Marijn for taking our pull requests, implementing feature requests and fixing bugs! See Notes on CodeMirror for info on how we're using CodeMirror.

Although Brackets is built in HTML/CSS/JS, it currently runs as a desktop application in a thin native shell, so that it can access your local files. (If you just try to open the index.html file in a browser, it won't work yet.) The native shell for Brackets lives in a separate repo, brackets-cont/brackets-shell.

I want to keep track of how Brackets is doing!

Not sure you needed the exclamation point there, but we like your enthusiasm.

What's Brackets working on next?

  • In our feature backlog, the columns to the right (starting from "Development") list the features that we're currently working on. "Ready" shows what we'll be working on next.
  • Watch our GitHub activity stream.
  • The entire development process is outlined in the Developer Guide.

Contact info


Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

brackets's People

Contributors

abose avatar bchintx avatar busykai avatar chrisbank avatar couzteau avatar dangoor avatar denniskehrig avatar eztierney avatar gruehle avatar ingorichter avatar jasonsanjose avatar jbalsas avatar jeffrybooher avatar joelrbrandt avatar larz0 avatar lkcampbell avatar miguelcastillo avatar mynetx avatar nethip avatar njx avatar peterflynn avatar pthiess avatar raymondlim avatar redmunds avatar swmitra avatar tommalbran avatar tvoliter avatar walfgithub avatar websitedeveloper avatar zaggino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

brackets's Issues

Missing OS installers

The releases on this repo only have the source code, not the windows and mac installers. Is this intentional or did something break because of the fork?

image
Release 1.14.2 on the adobe/brackets repo

image
Release 1.14.2 on this repo

New feature: Duplicate file

Duplicate file/folder in the context menu.

Port in feature from phoenix once the implementation is done: phcode-dev/phoenix#122

Current context menu

  • Wee need to add a duplicate file/folder and keyboard shortcut for this.
    image

JS 'let' Unexpected token parsing error

My js file gets a "red x icon" when 'let' keyword is used. It goes away if let is replaced with var.

AFRAME.registerComponent('myctrls-hookup',{         
        
      schema: {
             hand: {default: 'right'}
        },
        
        init: function(){ 
            let el = this.el;   // this line gets "ERROR: Parsing error: Unexpected token el"
            let data= this.data;            
            let tx = document.querySelector('#tx_out');            
            
            el.addEventListener('triggerdown',function(){               
              var str = "Tr:  " + data.hand;
              tx.setAttribute("text", {value: str});
             });
            
            el.addEventListener('gripdown',function(){               
              var str = "Gr:  " + data.hand;
              tx.setAttribute("text", {value: str});
             });
         }
});  

V 2.0 release launch checklist

Things to do to release brackets v 2.0 on launch day

Complete code changes

  • Update about box with contributor names for latest release #79
  • #86
  • #87
  • #46
  • #45
  • Install windows build and Verify build number of new brackets build greater than last brackets build. Build number can be found in the About box in the version number string z.y.z-Build number
  • Install mac build and verify build number

Release checklist

Do this after posting pre-release builds for 2 weeks

Please note that any change we do to create a new installer should have a bump in minor version, Eg. 2.0.1 to 2.0.2 by updating the version number from the source and rebuilding installers again.

Do this After the release is live in the website for a week.

  • Send update notifications to existing users.
  • Setup auto update links

Tweaking and reusing Themes

I want to reuse the already present themes or make a custom theme for brackets. For example I only want to add matching brackets glow.

I there a boilerplate setup from where I can start.

Thanks

Update readme.md in Brackets shell

Readme.md file in brackets-shell repo is outdated and points to old Adobe resources. Fix to point to current active brackets community lead project.

Uninstall on macOS Monterey not functional?

Problem

Cannot uninstall (move to trash) Brackets application

Troubleshoot

Have ensured application not running in listed processes

Specs

Brackets version: 1.14.2
macOS Monterey 12.0.1

Create Mac installers

  • Execute the following commands in a freshly cloned brackets repo
git submodule update --init
npm install
npm run build // creates dist folder. This is the content to copy to www folder
  • #50
  • Create the installer
  • Sign installer

Update README

Since this project is a fork of the original brackets project, the original README.md should be edited by the project authors to include guidelines for interested contributors and the future roadmap.
I being a web developer, would also like to contribute to this project. It would be great if the current team provides some guidance on contributing in the project.

Choose a version number for the next release

The master branch is current on version 1.15, however it doesn't seem like there have been enough changes to justify calling it 1.15. Either we should call it 1.14.3 or, if we want the version numbers to reflect the transition from adobe to the community, we should call it 2.0.0.

Check for Updates not working

Prerequisites

  • [x ] Can you reproduce the problem with Debug -> Reload Without Extensions?
  • [x ] Did you perform a cursory search to see if your bug or enhancement is already reported?
  • [ x] Did you read the Troubleshooting guide?

For more information on how to write a good bug report read here
For more information on how to contribute read here

Description

Brackets errors to check for an update

Steps to Reproduce

Click Help->CheckforUpdate

Expected behavior: Say if there is an update or not
Actual behavior: Error dialog pops up

Versions

Please include the OS and what version of the OS you're running.
Please include the version of Brackets. You can find it under Help -> About Brackets (Windows and Linux) or Brackets -> About Brackets (macOS)

Address issues in pre-release discussions

#65

  • The installer gives an error if an older version is installed. This is not super urgent, but it would be nice if it could automatically uninstall the old version in the future.
  • The grey text near the progress bar on the installer is hard to read
  • The blue Brackets Health Report popup that opens on first launch still says data is sent to Adobe. - Fixed
  • Checking for updates still fails (Check for Updates not working #44)

release 1.7

Hi, on site brackets.io there is a button with download 1.7, but this link to https://github.com/adobe/brackets/releases that is the last release from adobe and no more support. Never extension server is supported on the last adobe release.
Realease 1.7 exists or is only on develepment?

Can't download

Am I the only one that can't find any msi file of brackets the download it?

Multiple Problem (can't install any Extension, Browser Preview doesn't works)

I would like to USE this wonderfull Product for WEB Development but:

Prerequisites

  • [ x] Can you reproduce the problem with Debug -> Reload Without Extensions?
  • [ x] Did you perform a cursory search to see if your bug or enhancement is already reported?
  • [ x] Did you read the Troubleshooting guide?

For more information on how to write a good bug report read here
For more information on how to contribute read here

Description

1.- I can't install any extension, maybe related to this ISSUE

#15

The place to search is in GRAY status.

What I've had to do with this link? -> https://cdn.amuslim.org/brackets/

2.- I can't use the preview Browser Version:

1.- Disable Firewall same error.
2.- I'm not behind a PROXY Server.
3.- Ping to localhost works.
4.- Change to FIrefox, same things.

O.S Version

Linux, Fedora 35

Version of Brackets

I've instaled from FLATHUB.

flatpak list | grep brackets

Brackets io.brackets.Brackets 1.14.1 stable system

Release 1.14 versión 1.14.1-17752 (release-1.14.1 959fed1)
construido el: Thu Nov 28 2019 08:58:11 GMT+0000

1
2
3

Regards.,

Code quality checks

Integrate with sonar cloud or codacy for static code analysis. Both are free for open-source projects.

Brackets uniform dependency management

Brackets currently have redundant dep management which is creating unnecessary build complexity. We need to address this. More details can be found here: adobe#12006 . This is preventing the upgrade of several dependencies to the latest version.

Part of this has been addressed In the phoenix project: phcode-dev/phoenix#5

Create windows installers

  • Execute the following commands in a freshly cloned brackets repo
git submodule update --init
npm install
npm run build // creates dist folder. This is the content to copy to www folder
  • #50
  • Create the installer
  • Sign installer

Can't install extensions (registry link is down)

I imagine that the move is pretty fresh, and it's expected to have issues like this one, but it would really be appreciated if we could get registry.brackets.io up and running again!

I just started teaching a web design class with only brackets installed as a code editor on the class computers and no admin access, so it's impossible to install extensions like Emmet, which have other dependencies (without being able to run npm).

Cheers !

Live Preview Error

Just downloaded Brackets and am new to it. I cannot view my project because an error always pops up. It says, "Open an html file or make sure there is an index.html file in your project in order to launch live preview." How do I fix this?

Fork wiki from Adobe repo

There is some great documentation in the adobe/brackets wiki and many links from the readme link to it. @yogo1212 or someone else with push access, would you do the following? It is not possible to do this with a PR.

  1. Make an empty Wiki page
  2. git clone https://github.com/adobe/brackets.wiki.git
  3. git remote add fork https://github.com/brackets-cont/brackets.wiki.git
  4. git push -f fork master

Migrate Issues from the Adobe Repo.

Someone with write access needs to use https://github.com/ahadik/git_mover to copy all of the issues from adobe/brackets to this repo. This needs to be done before September 1st or all of the existing issues will be lost when adobe deletes their repo. It would also be helpful if the binaries for Brackets 1.14.2 were copied to this repo so that people can continue to download them after September 1st.

Naming

Will we choose a new name or continue with Brackets? I think that this project will be confused with the original Adobe project if the name remains.

Fix download button on brackets.io

The download button is broken in brackets.io website and points to old Adobe releases. We should change it to directly download os specific installer files.

New Website

Many of the links on readme.md still point to the old brackets website (brackets.io). This is not great as adobe will likely take down that website after September. Maybe we should create a new website using GitHub Pages so that this fork has its own website.

Brackets app is crashing every time I open it (on a Mac running Mojave)

Prerequisites

  • Can you reproduce the problem with Debug -> Reload Without Extensions? no, since I can't open it long enough to make changes to the config.
  • Did you perform a cursory search to see if your bug or enhancement is already reported?
    Yes, I searched for "crash" "segmentation fault" and "KERN_INVALID_ADDRESS"
  • Did you read the Troubleshooting guide?
    Yes, I couldn't find anything that is similar to what I'm seeing

For more information on how to write a good bug report read here
For more information on how to contribute read here

Description

Every time I open the app, it crashes immediately and generates a crash report

Steps to Reproduce

  1. Open the app

Expected behavior: [What you expected to happen]
That the app would open

Actual behavior: [What actually happened]
it crashes

Versions

Version: 1.14.2 (1.14.2)

Please include the OS and what version of the OS you're running.
Please include the version of Brackets. You can find it under Help -> About Brackets (Windows and Linux) or Brackets -> About Brackets (macOS)

I can't get the brackets information requested above, since I can't open the app. However, the crash file indicates I'm at version 1.14.2. My mac is at 10.14.6. Brackets has been stable until yesterday. Prior to it crashing, my company installed "zscaler". It didn't immediately crash after that so I don't know if that's the cause. some time (I didn't measure it) later, I went to start the app and it wouldn't start anymore, just immediately crashes.
Brackets_2021-09-30-130303_C02SX4B9GTDY.crash.txt

Trying to revive the community

I'm trying to get the flatlined community up again.

I just set up a Brackets community server on Discord. I'm also trying to revive the existing subreddit again after it has been abbandoned and closed down for nearly two years. I'll link these places to the new website and this repository.

The community is almost dead atm. There's not much engagement right now and people are unsettled regarding September 1st. I'm trying my best to get it alive again, so every contribution and input is highly appreciated: The new Discord is empty and the subreddit is lacking active users.

https://discord.gg/rBpTBPttca
https://www.reddit.com/r/brackets/

PS: If this isn't the right place to consider such things, feel free to delete this post.

Unable to build bracket shell

While trying to build bracket-shell for mac release. We are getting the following errors

Running "cef-download" task

Downloading http://s3.amazonaws.com/files.brackets.io/cef/cef_binary_3.2704.1434_macosx64.zip. This may take a while...


Running "curl-dir:cef-mac" (curl-dir) task

Warning: Fetching "http://s3.amazonaws.com/files.brackets.io/cef/cef_binary_3.2704.1434_macosx64.zip" failed with HTTP status code 404 Used --force, continuing.

Looks like the build script is trying to download chrome binaries from adobe.

We need to get these binaries or find some alternatives to create an installer for the Mac release

More logs can be seen below.

pm WARN [email protected] No license field.

charlyabraham@charly-abrahams-MacBook-Pro brackets-shell % grunt setup                      

Running "cef" task


Running "cef-download" task

Downloading http://s3.amazonaws.com/files.brackets.io/cef/cef_binary_3.2704.1434_macosx64.zip. This may take a while...


Running "curl-dir:cef-mac" (curl-dir) task

Warning: Fetching "http://s3.amazonaws.com/files.brackets.io/cef/cef_binary_3.2704.1434_macosx64.zip" failed with HTTP status code 404 Use --force to continue.


Aborted due to warnings.

charlyabraham@charly-abrahams-MacBook-Pro brackets-shell % grunt setup --force

Running "cef" task


Running "cef-download" task

Downloading http://s3.amazonaws.com/files.brackets.io/cef/cef_binary_3.2704.1434_macosx64.zip. This may take a while...


Running "curl-dir:cef-mac" (curl-dir) task

Warning: Fetching "http://s3.amazonaws.com/files.brackets.io/cef/cef_binary_3.2704.1434_macosx64.zip" failed with HTTP status code 404 Used --force, continuing.


Running "cef-clean" task


Running "cef-extract" task

Error: Command failed: unzip -q "/Users/charlyabraham/repo/brackets-shell/downloads/cef_binary_3.2704.1434_macosx64.zip" -d "deps"

unzip:  cannot find or open /Users/charlyabraham/repo/brackets-shell/downloads/cef_binary_3.2704.1434_macosx64.zip, /Users/charlyabraham/repo/brackets-shell/downloads/cef_binary_3.2704.1434_macosx64.zip.zip or /Users/charlyabraham/repo/brackets-shell/downloads/cef_binary_3.2704.1434_macosx64.zip.ZIP.


Warning: Task "cef-extract" failed. Used --force, continuing.


Running "cef-symlinks" task


Running "node" task

Downloading node-v6.14.0-darwin-x64.tar.gz. This may take a while...


Running "curl-dir:node-mac" (curl-dir) task

Files "downloads/node-v6.14.0-darwin-x64.tar.gz" created.


Running "node-clean" task


Running "node-mac" task

>> Error: ENOENT: no such file or directory, rename 'node-v6.14.0-darwin-x64' -> 'deps/node'

Warning: Task "node-mac" failed. Used --force, continuing.


Running "node-check" task

>> Error: Command failed: deps/node/bin/Brackets-node -v

>> /bin/sh: deps/node/bin/Brackets-node: No such file or directory

Warning: Task "node-check" failed. Used --force, continuing.


Running "icu" task


Running "icu-download" task

Downloading http://s3.amazonaws.com/files.brackets.io/icu/icu_58_macosx64.zip. This may take a while...


Running "curl-dir:icu-mac" (curl-dir) task

Warning: Fetching "http://s3.amazonaws.com/files.brackets.io/icu/icu_58_macosx64.zip" failed with HTTP status code 404 Used --force, continuing.


Running "icu-clean" task


Running "icu-extract" task

Error: Command failed: unzip -q "/Users/charlyabraham/repo/brackets-shell/downloads/icu_58_macosx64.zip" -d "deps"

unzip:  cannot find or open /Users/charlyabraham/repo/brackets-shell/downloads/icu_58_macosx64.zip, /Users/charlyabraham/repo/brackets-shell/downloads/icu_58_macosx64.zip.zip or /Users/charlyabraham/repo/brackets-shell/downloads/icu_58_macosx64.zip.ZIP.


Warning: Task "icu-extract" failed. Used --force, continuing.


Running "create-project" task

Building project files

>> Error: Command failed: bash -c 'gyp/gyp appshell.gyp -I common.gypi --depth=.'

>> gyp: deps/cef/cef_paths.gypi not found (cwd: /Users/charlyabraham/repo/brackets-shell) while reading includes of appshell_paths.gypi while reading includes of appshell.gyp

Warning: Task "create-project" failed. Used --force, continuing.


Done, but with warnings.

charlyabraham@charly-abrahams-MacBook-Pro brackets-shell % 

Could I be of help?

Hello Everyone! I would love to help with this project and I know HTML/CSS pretty well imo. Could I be of any help in this fork? I could help in managing issues, etc.

Thanks for keeping Brackets alive!

Brackets Platform modernization

Brackets is based on a deprecated version of Node and NPM. We should either change the brackets shell to the latest node and update dependencies or use electron shell. Investigate the same.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.