Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Kevin Dangoor
@dangoor
I did some experiments around configurable keybindings in Brackets, for one
Anachron
@Anachron
Okay I see. So there is not much that can be used in Brackets?
Kevin Dangoor
@dangoor
Not directly, but certainly bits and pieces
Anachron
@Anachron
By the way, is there NodeJS support yet on the roadmap? What about Quick Edit for Metalangs like Jade/Handlebars and such? I am sure many people are not using plain HTML/Javascript/CSS. Mostly like Jade/Handlebars, Coffeescript/TypeScript and LESS/SASS.
Kevin Dangoor
@dangoor
their keybinding stuff, for example, could mostly be made to work, I think
Anachron
@Anachron
That sounds good. Also I love the quick menus that they built like Sublime Text.
Kevin Dangoor
@dangoor
We have done some thinking about support for template languages, but more in the context of live preview. Quick Edit may be easier
Anachron
@Anachron
You know what I mean? The global action menu where you can just type anything you wanna do, like install theme, disable plugin or even run grunt-scripts.
Kevin Dangoor
@dangoor
what kind of NodeJS support were you thinking of?
check out the Brackets Commands Quick Search extension
Anachron
@Anachron
I was thinking off I tell Brackets which is the server-file, and it will start the server.js (or even compile server.coffee) and run it with node. (Or I will pass a custom command to start the live-preview, if not running already, brackets will run it in background)
Kevin Dangoor
@dangoor
that lets you run any Brackets command
there is a NodeJS simple application manager extensions
Anachron
@Anachron
I tested it and its not really working with the latest version.
Kevin Dangoor
@dangoor
oh
you could try filing a bug with the author
we've been more focused on client-side stuff
Anachron
@Anachron
Understandable. Just throwing out the ideas I have.
As I know rarely anyone who codes in plain js/html/css.
Kevin Dangoor
@dangoor
yeah, indeed that's true
there are a ton of different client side technologies and server side technologies in use
(good thing Brackets is extensible :)
Anachron
@Anachron
Yes, and I guess thats one of the biggest reasons why its still alive, I guess ;)
Kevin Dangoor
@dangoor
True. Plus, people definitely have varied desires when it comes to their tools
Anachron
@Anachron
I switched from Sublime Text 3 to Brackets, not because I have all of the functionality, but I like the project and it feels good to know what is actually inside your editor. Plus, Brackets got a lot faster and more stable, no more crashes for me and it feels good to work with. I have a handful of extensions, one of which is Git, and it feels a lot better than ST3.
Kevin Dangoor
@dangoor
for some, the ability to do Live Preview with HTML and CSS is killer while they're designing
cool
I was also an ST user pre-Brackets, and I agree about the feel
obviously, that's subjective. vim and emacs still have plenty of fans!
Anachron
@Anachron
Hahaha yeah, that's true. Funny thing, there is even a plugin for atom that turns the editor into vim: https://github.com/atom/vim-mode
Kevin Dangoor
@dangoor
there's Vimderbar for Brackets as well
Anachron
@Anachron
Crazy, I choose editors like Atom/Brackets/ST because of the special design, and people keep porting vim design to their favorite text editor because they are too used to the old one :)
Kevin Dangoor
@dangoor
maybe Neovim will quiet them down and they'll just stick with vim at that point :)
Anachron
@Anachron
Hm hopefully, like the project!
Anachron
@Anachron
Can you guys help me out?
adobe/brackets#8352
Mark Simulacrum
@Mark-Simulacrum
What's the best way to go about getting all the lines the cursor is on (in an extension)? Looked through API docs, didn't really find anything.
Marcel Gerber
@MarcelGerber
Cursors are selections, and therefore you can use Editor.getSelections().
Marcel Gerber
@MarcelGerber
For your very specific request, you could use something like
var cursorLines = EditorManager.getActiveEditor().getSelections()
  .filter(function (sel) { // only leave cursors (0-char selections)
    return _.isEqual(sel.start, sel.end);
  })
  .map(function (cursor) {
    return cursor.start.line;
  });
cursorLines = _.uniq(cursorLines);
Peter Flynn
@peterflynn
@Mark-Simulacrum Fyi, we don't really use Gitter anymore (it was an experiment), so it's better to ask on IRC or brackets-dev in the future. @MarcelGerber's answer looks good though. See also https://github.com/adobe/brackets/wiki/Brackets-CodeMirror-v4-Migration-Guide#performing-edits-on-multiple-selections for some useful docs.
Lim Jia Rong
@holyxiaoxin
hi is this a chatroom?
Chris Matheson
@chrismatheson
@holyxiaoxin seems like it, just found it myself :)
Brian Hinton
@theborderradius
It’s tied into the repo basically.
Joeri Boudewijns
@bojoer
Hi, fast question! Is or isn't Brackets IDE working, even if it needs some core or extensions code modifications, with an ONLY NVM node + npm installation and no System or brew installation. Atom.io is proven not to work completely but you can get it to work, sort off and LightTable didn't also work out-of-the-box with only NVM but with some tweaking it does now! Any suggestions??
Adri Van Houdt
@AdriVanHoudt
is your question 'does brackets work by just installing'?
you do need node installed but other than that it works out of the box
Simeon Vincent
@svincent
I'm also confused by the assertion that "Atom.io is proven not to work completely"
Joeri Boudewijns
@bojoer
No, it's not that. I know it works by just installing and configuring some settings. On my Microsoft PC Win 7 64 bit I installed Node + npm with the installer and I got everything to work. On my MacBook Pro though, there I work with NVM only, I can't seem to get it working
Or it complains about npm like "No Packages found" or "node is not in your PATH" and when I open a console, shell terminal in brackets and echo $PATH strangest thing is that it is included.
All working on Windows, Mac or Linux like Ubuntu or so??