20 ms·
Brackets, a code editor
- jbeja 13y agoIMHO The title should be a little bit more humble.
- ttty 13y agoDon't you think is beautiful? (:
- jbeja 13y agoThat is not the point.
- bitcrusher 13y agoWhat's with all of this nonsense about 'humility' lately? It's almost as obnoxious as 'entitled'. If the person who posted this link believes that it is Beautiful, then it is. You may agree or disagree but humility has nothing to do with it.
- callahad 13y agoThe title deviates from the Hacker News Guidelines: http://ycombinator.com/newsguidelines.html http://ycombinator.com/newsguidelines.html > Please don't do things to make titles stand out, like using uppercase or exclamation points, or adding a parenthetical remark saying how great an article is. It's implicit in submitting something that you think it's important. > Otherwise please use the original title, unless it is misleading or linkbait.
- ttty 13y agook, sorry then. I've changed.
- cheeaun 13y agoIt even includes the domain, which I think is redundant.
- windsurfer 13y agoIt is redundant, and goes against the HN guidelines: > If the original title includes the name of the site, > please take it out, because the site name will be > displayed after the link anyway.
- ttty 13y agoupdated
- arcameron 13y agoWhich title?
- ttty 13y agoThe original title was: "What a beautiful code editor (brackets.io)"
- elicash 13y agoThis comment was more entertaining before I realized the title was changed.
- hawkharris 13y agoI downloaded the editor about two weeks ago. It's fun and easy to use. My only criticism is of the live editing feature. That's what drew me to the editor in the first place, but it seems to be very buggy. It stops updating the preview sporadically — and predictably, each time I open the JS Console. As a front-end dev, I can't really count on a preview that doesn't function with developer tools open. Having said all that, I understand that Brackets is relatively new, and it takes time to iron things out. I will keep up-to-date with their progress and consider using the service in the future.
- kyrra 13y agoIt'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.
- groby_b 13y agoIs there a bug on crbug.com?
- kyrra 13y agoBest I could find: https://code.google.com/p/chromium/issues/detail?id=129539 https://code.google.com/p/chromium/issues/detail?id=129539
- pygy_ 13y agoCouldn't you set up a proxy that handles the multiple connections and keeps the clients in sync?
- ytpete 13y agoThe 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.
- tantalor 13y agoSee demo video, http://youtu.be/VKitqLpJtAY http://youtu.be/VKitqLpJtAY
- trycatch 13y agoThe deal-breaking problem I have under Linux with editors based on node-webkit like Brackets and Light Table -- for some reason they don't use subpixel rendering, making all text extremely blurry. Maybe it's that issue https://github.com/rogerwang/node-webkit/issues/734 https://github.com/rogerwang/node-webkit/issues/734, but I'm not sure. Anyway, I am not aware about any workaround, and just can't use them in their current state.
- dubcanada 13y agoBrackets is not based on node-webkit. Brackets is based on CEF3 which is a API exposing library that uses Chromium. Node-webkit uses Chromium as well. So it's most likely chromium that is the issue.
- aninhumer 13y agoThat looks like a hinting problem rather than a lack of subpixel rendering. EDIT: Or rather, it's both, but if you can't fix one you might want to try the other. Personally I've always preferred strong hinting and greyscale anti-aliasing to soft subpixel rendering.
- broodbucket 13y agoJust providing .debs is a dealbreaker. Yeah, packaging for everything is a lot of effort, just provide a tarball. Everyone can work with a tarball.
- sparkie 13y agohttps://github.com/adobe/brackets/archive/v0.36.0-10998.tar.gz https://github.com/adobe/brackets/archive/v0.36.0-10998.tar....
- ytpete 13y agoFyi, that's not a stable build. See the notes that come with it: https://github.com/adobe/brackets/releases/tag/v0.36.0-10998 https://github.com/adobe/brackets/releases/tag/v0.36.0-10998
- heydenberk 13y ago>> 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?
- scott_karana 13y agoTemplate writers? Proof of concept websites? Quick-and-dirty one-offs?
- tinco 13y agoFrontend developers? Isn't a very weird workflow, you first design your page in Photoshop or whatever, then you build out the page in css and html, then you break the page up into templates to be integrated in your app. If you're a full stack dev, then it might happen that you do all these steps at the same time, so you never work on pure html, but if you're not I imagine this is how you work.
- BlackDeath3 13y agoAny time I've ever written HTML (which hasn't happened often) it's always been in a text editor, raw. Then again, I'm clearly not exactly a web developer.
- sejje 13y agoThat's a different thing. Templated, as in "this html isn't coming from a rails partial" etc.
- BlackDeath3 13y agoI think I'm in over my head now. I've never even used Rails and know almost nothing about it.
- doginabathtub 13y agoTemplated, I think, as in a page is not using PHP or some other language to pull content from several files or a database.
- ycmike 13y agoSo far so good. Eager to try a couple projects on it and see if it fits.
- networked 13y agoPrevious discussions: https://news.ycombinator.com/item?id=3917637 https://news.ycombinator.com/item?id=3917637 https://news.ycombinator.com/item?id=4159552 https://news.ycombinator.com/item?id=4159552 https://news.ycombinator.com/item?id=4619499 https://news.ycombinator.com/item?id=4619499 https://news.ycombinator.com/item?id=4919677 https://news.ycombinator.com/item?id=4919677
- keyle 13y agoWill this be part of Creative Cloud eventually?
- Dystopian 13y agoThere's Adobe Edge Code CC - I thought that these were pretty much off the same code base?
- forivall 13y agoThey are. Brackets was presented at a local js meetup a little more than a year ago; Edge code is one of the primary reasons why adobe is running this project.
- dougbarrett 13y agoSo I don't understand, Brackets is their open source branch but Edge Code will be their officially supported release?
- dangoor 13y agoBrackets, the open source project, supplies the core of Edge Code which has added features that tie into Adobe services. We want Brackets to be awesome and useful by itself, and to also provide the foundation for people who use the Creative Cloud.
- rootuid 13y agoWe all know Brackets aka Bones. We all love it. Sublime sucks and Bones rocks. This isn't news.
- fournm 13y agoWhat an incredibly strange trend that I keep seeing lately of externally using sprint numbers as version numbers. Actually labeling them as Sprint numbers prominently, I mean, instead of just v35 or v.35 or something.
- dangoor 13y agoFunny you should mention that, because we're actually changing from Scrum to Kanban so we do not have sprints in the same sense that we had them before. I think this numbering was started because Brackets is "pre-1.0". We'll see how our version numbering changes after we release 1.0 :)
- currywurst 13y agoIf any of the Brackets team is reading this .. THANK YOU ! For one of the most ergonomic editors I've ever used. I really can't explain it any other way, but everything just is where I expect it to be. And I was really surprised at the JavaScript auto-completing ! My plugin setup is only to add jsbeautify and JSONLint.
- dangoor 13y agoThanks! We love to see feedback like this!
- deleted 13y ago[deleted]
- deleted 13y ago[deleted]
- tieTYT 13y agoWith so many transpiled JS languages, this seems like a tough space to be in. I wouldn't use this until it works with CoffeeScript. My friend won't until it works with ClojureScript, etc. Maybe there's a simple solution I haven't thought of? But it seems like the inline editors would be modifying the generated source instead of the actual source.
- AnotherDesigner 13y agoI really like Brackets. And it's got some great plugins already. I've set mine up with a visual git sidebar, markdown preview, themes and a mini-map like Sublime Text has.
- Andrex 13y agoI've used Tailor, the Chrome port of Brackets, and it's a beautiful editor. I would love to use it full time on my Chromebook, however the Live Editing feature is broken and the Git integration is lacking. It also lacks some other standard things, like Find/Replace. I recently found another Chrome editor, Caret, that feels a little more powerful (and more in line with how I use Sublime.) It's quite a big uglier though, unfortunately. Caret: https://chrome.google.com/webstore/detail/caret/fljalecfjciodhpcledpamjachpmelml?hl=en https://chrome.google.com/webstore/detail/caret/fljalecfjcio... Tailor: https://chrome.google.com/webstore/detail/tailor/mfakmogheanjhlgjhpijkhdjegllgenf https://chrome.google.com/webstore/detail/tailor/mfakmoghean...
- oi3jgo3jig 13y agoSorry, I prefer vim. "Refresh Browser on save with inotify and xdotool" http://peter-hoffmann.com/2010/refresh-browser-on-save-with-inotify-and-xdotool.html http://peter-hoffmann.com/2010/refresh-browser-on-save-with-...
- ytpete 13y agoJust 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.
- sdegutis 13y agoIf I may ask the author(s): what was the motivation of writing this app for native platforms but making use of webkit-node or similar technologies and tools? This to me seems like it has become a popular technique for writing cross-platform applications, but it also seems like it has many drawbacks which make it an unattractive option, with the only advantage being that the authors already know CSS/JS/HTML and can leverage that knowledge to make a protoduction-quality application. Can you confirm that this is the case, or was there some other reasons and/or factors that led to such a decision? Thank you for your time, and have a relaxing evening.
- dangoor 13y agoI wasn't there at the beginning, but I've been working on Brackets for a year. We want Brackets to be awesome for web developers and designers specifically. So, how cool is it to be able to extend the editor you use every day using the exact same tech you're already used to? (And, of course, you can edit Brackets extensions in Brackets...) This is likely part of the reason there are more than 200 extensions available for Brackets today.
- sdegutis 13y agoThat's a pretty cool idea actually.
- klinquist 13y agoAs a dirty prototyping pseudo-dev, the one thing that keeps me using Coda is its native ftp/scp capabilities. I can open files on a remote server as if they were local and command-s saves them back there. Right now it seems that none of these other editors support that function. I know I can run ssh-fs or similar, but that requires much more setup.
- nuclear_eclipse 13y agoSublime Text + SFTP plugin will let you do this.
- klinquist 13y agoI've tried it. Requires a local copy of the files - I found it messy.
- jonalmeida 13y agoIf by local you mean temp working file, that's a given isn't it? 'Save' still saves it remotely. However, if the (S)FTP connection is broken and reconnected you can't continue in the same editor, you need to re-open it again which frustrates me.
- klinquist 13y agoIf I recall it required a full local cache of the remote folder.
- nuclear_eclipse 13y agoIt technically only needs a local cache of the files you intend to edit. I work from a very large remote checkout on a development server, and only have a local cache of the directories and files that matter to me.
- jsumrall 13y ago
- kingnight 13y agoBrackets is wonderful, but it's Brackets JS Completion vs Sublime Text multi-cursor behavior for me and the latter is too useful to give up.
- dangoor 13y agoInteresting! 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/FLMlU3PSEj8 https://groups.google.com/forum/#!topic/brackets-dev/FLMlU3P...
- kingnight 13y agoThe 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 check it out.
- ytpete 13y agoThe 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 :-)
- orand 13y agoThe "skip" shortcut is Cmd+K, Cmd+D. You can also undo selection with Cmd+U to step backwards.
- kbar13 13y agoI would love for it to have jinja2 syntax highlighting support as well :)
- Eleutheria 13y agoJinja2 should be the standard template syntax in all languages.
- willtheperson 13y agoAnyone else surprised they aren't using Adobe AIR for this project? Are they just abandoning it or is CEF3 the new AIR?
- Eleutheria 13y agoThis I'd like to know. Honest question, does it use flash in any form? What language is it coded in? I see JS everywhere but how is it run?
- dangoor 13y agoNo Flash. It's HTML, JavaScript and LESS for the stylesheets, plus Chromium and native code for things like file access and the native menus. The "how is it run?" question is answered here, where the native code lives: https://github.com/adobe/brackets-shell/ https://github.com/adobe/brackets-shell/ We do as little as possible in the native code.
- ryan-allen 13y agoI'm not surprised. Adobe have been pushing Air for years, nobody really likes it, I hate installing it, and the App performance is often sub-par. By contrast Brackets feels very native. For once corporate policy didn't get in the way of building something cool!
- noname123 13y agoCool. This is like Macromedia Dreamweaver except you don't have to switch in-between tabs or open a browser and refresh!
- pyrocat 13y agoDoes it have code collapse yet?
- dangoor 13y agoBrackets doesn't ship with code folding, but there's an extension that adds code folding. (I haven't the extension personally, so I can't comment on how well it works...)
- pyrocat 13y agoAny particular reason for that? It seems like it should come standard, and it's what initially made me switch back to Sublime.
- dangoor 13y agoI would expect us to ship code folding, but we just haven't gotten to it yet. Same for themes (for which there are also extensions that fill in the gaps). It would be a great contribution to the project for people to pick up a feature like folding that ideally belongs in core and helps get it to "core quality" (unit tests, comments, etc.) It's possible that some extensions are already that good and we just don't know it.
- talmand 13y agoI do believe that sometimes an existing extension is rolled into the core, or at least made a default extension that comes in the download.
- integricho 13y agoThe 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, literally, when I press the "down arrow" for instance, the cursor disappears, then I stop pressing it and it reappears somewhere below. Scrolling had the same effect, just as well as changing the currently opened document, it all takes time, the amount of when you feel that something is not right. At first I had a couple of extensions installed, so I threw them all out, but it didn't change a thing. I would really like to use brackets, it's concept/idea really works for me, but until it gets faster I simply can't . Looking forward to the next sprint, I hope things will change.
- ytpete 13y agoCan you file a bug? https://github.com/adobe/brackets/issues/new https://github.com/adobe/brackets/issues/new That level of performance degradation is definitely not normal.
- MRSallee 13y agoI'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, it's slower than a "text editor" ought to be, and the general editing tools aren't nearly as developed as Sublime, but for rapidly producing visuals and designing in real-time, it's stellar.
- nlh 13y agoWhat setup did you use for live updating in Sublime Text?
- erikpukinskis 13y agoI use LiveReload (in conjunction with nodemon if it's a Node project).
- Polarity 13y agoi prefer gruntjs with coffee, jade and sass/stylus compilers + live reload. i barely work on vanilla html/css/js
- sbuk 13y agoBrackets is extensible. As a result, it fully supports everything you mention.
- baby 13y agoThis is amazing. I was sad that no good WYSIWYG editor existed. I was sad that Sulbime Text had no color picker. Well this is gonna be a game changer. There is always a first phase in a project where I only code HTML and CSS. I create the layout, the scaffoldings, the different pages, etc... And as amazing as emacs and ST3 are, it's a pain in the ass to do that part with them. I feel like I'm gonna use Brackets a lot.
- michaelbuddy 13y agoBrackets 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-wrangler opened it fine.
- sbruchmann 13y agoMultiple 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 https://github.com/adobe/brackets/tree/cmv4