Live data from Hacker News

Brackets, a code editor

brackets.io

111–120 of 128 posts

Re: Brackets, a code editor

#111

I've been using Brackets to prototype things for al out a year and love it. I design in code much more often than in Photoshop or InDesign or whatever, and Brackets is super useful for that. I tried to get Sublime Text to do the same thing, live updating, and even found a plugin that mostly does the trick. But it required a lot of setup each time I used it, and still wasn't as good as Brackets. Brackets has issues, i…

What setup did you use for live updating in Sublime Text?

Re: Brackets, a code editor

#112
post #111

I've been using Brackets to prototype things for al out a year and love it. I design in code much more often than in Photoshop or InDesign or whatever, and Brackets is super useful for that. I tried to get Sublime Text to do the same thing, live updating, and even found a plugin that mostly does the trick. But it required a lot of setup each time I used it, and still wasn't as good as Brackets. Brackets has issues, i…

What setup did you use for live updating in Sublime Text?

I use LiveReload (in conjunction with nodemon if it's a Node project).

Re: Brackets, a code editor

#113

>> Live HTML Development >> As you code, HTML changes are instantly pushed to browser without having to save or reload the page. Who actually writes non-templated HTML any more?

Maybe desktop developers that want to learn web development from the ground up ? (my case ;-)

After a really bad encounter with Javascript 7 years ago I chose to forego web development completely.

Now I have a web-app project and I discovered with horror that not only Javascript is not dead, but it's even more prevalent than before !

I'm gonna have to suck it up and start learning it, but maybe not to the point of choosing Node.js as my server side technology :-)

Re: Brackets, a code editor

#114

>> Live HTML Development >> As you code, HTML changes are instantly pushed to browser without having to save or reload the page. Who actually writes non-templated HTML any more?

>Who actually writes non-templated HTML any more?

For one, everybody who designs the original HTML to be templated. Some start with a PSD and then do a full HTML page, others start directly by doing a full HTML page. Only AFTERWARDS its made into a template.

Second, ever since Enhydra (Java) and TAL (Zope) at least, there have been template engines that use full, plain, HTML code, marked with special attributes (repeat, inject value here etc).

Re: Brackets, a code editor

#115

Brackets is cool. definitely great to have it as an option. Most important for me for new additions is the multi-line / cursor editing. I use Notepad++ for that but brackets could replace notepad++ if it had it for me. That and the other day I had this xml file I needed to look at and brackets didn't open it on Mac. Right-click open with, Brackets. It failed. Not sure why it wasn't a bad or large file at all. Text-wr…

Multiple cursors are coming in CodeMirror 4 and there is already a branch[1] of Brackets that implements the next version of CodeMirror.

The problem with the XML file might be encoding, because Brackets supports only UTF-8 encoded files at the moment.

[1] https://github.com/adobe/brackets/tree/cmv4

Re: Brackets, a code editor

#116
post #54
post #34

Earlier quoted context omitted.

It's a bug (design decision) of Chrome. Only 1 debugger can be attached to Chrome at any given time. So if you have Brackets live preview enabled, you cannot use the developer tools within chrome. This is an issue with other tools that try to attach to Chrome to do this type of work. Sadly, Chrome doesn't see it as a big enough issue to fix.

Couldn't you set up a proxy that handles the multiple connections and keeps the clients in sync?

The problem is that one of the clients to be kept in sync is the dev tools itself. Currently the dev tools assume no one else is using the API, so there's significant work on the Chromium side to make them able sync up with changes caused by other API usage.

Re: Brackets, a code editor

#117

The moment I saw brackets, I fell in love with it. I really saw it as an opportunity to replace SublimeText, so I went with it. I tried the Sprint 35 version on Ubuntu 12.04 x64, and my PCs performances are well over the minimum requirements. Unfortunately it turned out to be very slow, I opened an existing project I am working on, where my JS files were not larger than 500 lines / file. The cursor is lagging, litera…

Can you file a bug? https://github.com/adobe/brackets/issues/new

That level of performance degradation is definitely not normal.

Re: Brackets, a code editor

#118
post #20

Just providing .debs is a dealbreaker. Yeah, packaging for everything is a lot of effort, just provide a tarball. Everyone can work with a tarball.

https://github.com/adobe/brackets/archive/v0.36.0-10998.tar....

Fyi, that's not a stable build. See the notes that come with it: https://github.com/adobe/brackets/releases/tag/v0.36.0-10998

Re: Brackets, a code editor

#119
post #79

Earlier quoted context omitted.

Interesting! Multi-cursor is one of those things that I personally tended to use only from time-to-time when Sublime was my primary editor (I'm on the Brackets team, so you can guess what I use now). Regarding multi-cursor in Brackets: https://groups.google.com/forum/#!topic/brackets-dev/FLMlU3P...

The most typical use is for me to abuse the heck out of command-d. This will select the current word (if none selected) and then each subsequent press of this command adds the next occurrence of the selected text to the selection. I also like the ability to use option-drag down a column for block selection when I have text from some source that needs a bit of munging on each line. Thanks much for that link. I'll chec…

The thing I don't get about Cmd+D is, what do you do when you get to an occurrence you don't want to include in your selection? There doesn't appear to be any "skip" shortcut -- is there?

I always prefer nice Replace All commands where you can see a condensed overview of all occurrences and then uncheck things you want to exclude. When Brackets added that it made me very happy :-)

Re: Brackets, a code editor

#120

Sorry, I prefer vim. "Refresh Browser on save with inotify and xdotool" http://peter-hoffmann.com/2010/refresh-browser-on-save-with-...

Just to clarify - Live Preview in Brackets is significantly fancier than plain 'live reload on save.' As you edit HTML or CSS the browser preview updates continuously: on every keystroke, even while dragging a colorpicker slider. And it does it without a full-page refresh, so if you have any state on the page it doesn't get reset.
Post reply on HN