Creating a Dropbox Integration Extension for Brackets

A few months ago, Adobe unveiled Brackets, a new code editor for HTML, CSS and JavaScript that is written in HTML, CSS and JavaScript. Brackets is open source and is being developed in the open here. Brackets is still in early development and is not ready for general use yet.

One thing that I’m really excited about is the extensibility layer in Brackets. It is really easy to write extensions that augment Brackets capabilities in various ways. Just like Brackets itself, you write Brackets extensions using JavaScript, HTML, and CSS. A list of existing extensions is maintained here.

So, I decided to give it a try myself, and create a Dropbox integration extension that allows you to open a Dropbox folder in Brackets, edit the Dropbox files in the Brackets editors, and save the modified files back to Dropbox. The idea behind this extension is to be able to work on a project hosted in Dropbox from any computer without having to install and configure Dropbox. The extension uses dropbox.js to access the Dropbox OAuth and REST APIs.

Watch the video:



This extension is a PROOF OF CONCEPT and is not suitable for production use yet. However, the basic functionality is there, and I thought it would be interesting to share it at this stage. Some of the limitations include:

  1. It creates a local version of the files. Ideally I’d like it to work without any local files being created.
  2. It doesn’t handle subfolders (Brackets Sprint 14 doesn’t provide an API to create folders)
  3. If you restart Brackets, it doesn’t reconnect the local project folder with the Dropbox folder. You have to open a new empty folder on your local file system and Open the Dropbox folder again.

Source Code

The source code is available in this GitHub repository.

,

  • Awesome. I was thinking just the other day how this exact extension would be useful.

  • This had a lot of potential with a browser based version of Brackets as the biggest issue would be file system.

  • a

    Hi there to every single one, it’s truly a good for me to pay a visit this website, it includes valuable Information.

  • John Yun

    Hi Christophe

    It was great meeting you and watching your presentation at 1871 in Chicago this evening.
    Your demo for Edge ReFlow and Inspect was intriguing. I will definitely try and monitor the progress of these tools for production in my work. Your humor and attention to detail was engaging and it kept me interested.

    I wasn’t too interested in Phone Gap in the past but after your presentation with Build (which I was not aware of) convinced me to give it another try. I’ve been mostly an Android native app and a responsive web developer who didn’t find a lot of cross platforms to be too reliable or easy to use before.

    I did find the particular audience member who was badgering you about the validity of Brackets incredibly rude and ridiculous. He was too interested in himself trying very hard to scrutinize your presentation that he was not listening to you or anyone else about what the point of Brackets was and the potential it can be in the hands of the developer community. It was clear the other audience members found him equally distracting and did not regard him as someone with any credibility.

    I look forward to hearing/reading more of your tips. Your article a few years ago regarding Flex and Spring with BlazeDS really helped me with one of my work projects back then. That is how I recognized who you were tonight. Thanks again Christophe. I hope you will make a trip back here again in the near future.

    Best,
    John

  • Esther

    Is it there way to download media file and show in web flex 4.5 application . Plz guide me.

  • İ will return again.Thank you!

  • It is appropriate time to make a few plans for the long run and it is time to be happy. I have read this publish and if I could I wish to suggest you some attention-grabbing things or tips. Maybe you can write next articles relating to this article. I want to learn more things about it!

  • hello nice web site

  • kelebek indir good

  • I look forward to hearing/reading more of your tips.

  • yes thank you..

  •   His highest production of our company, we use the sport socks products: cotton, cotton, polyester, nylon and lycra. It includes anti-bacterial..http://jonsunsport.com/futbol-takim-formalari.html

  • Robert

    We are likewise a project creating assistance supplier. So, the pupils struggling to create their university tasks can opt for our online assignment aid and can get a high-quality job written from us. best body massage

  • RobertD Jorgensen

    There have been discussions here before regarding being able to briefly “rent out” more battery capacity if you have among the batteries that sustain it. I do not assume Tesla has any kind of reward to do something like that, given that any kind of extra revenue they get is offset by the above required to manage the program; they would a lot rather have you buy a larger battery to start with. https://www.bonrollen-service.de/

  • Robert

    It’s the most effective time to make a couple of plans for the longer term and it is time to be pleased. I’ve read this article and if I can I want to recommend you some intriguing issues or recommendations. Maybe you could write succeeding write-ups associating with this write-up. light solar panels reviews

  • Robert

    Seen you are aware of the trend in this situation … Commercial Homeowner funding Funding is available in really virtually any type of marketplace for any selection of industrial building. Speak utilizing your Company Financing Broker bear in mind when you prepare to buy an Industrial Real estate chance. best attorney lawyer

  • RobertD Jorgensen

    Thankful to you for some other edifying site. The domain else may basically I get that kind of substances written in any such impeccable skill? I have an undertaking that I’m basically by and by strolling around. besides, I’ve been vigilant for such information. home plumbing services

  • Robert

    I plainly prized separating your blog. It ended up being outstandingly all around composed as well as simple to obtain. despise distinct on the internet diaries I have actually scrutinized which can be when doubtful no longer that excellent.thank you a good deal! http://www.thepinnaclelasvegas.com/gmod-offers-a-convenient-source-of-entertainment/

  • Robert

    The other two characters Arnaud and Raquel have a more fleshed out and conflicting end. You find that they ended up getting hitched and having a young lady while attempting to find an answer for Raquel, who experienced the entertainment fighting with a disease and examining for some magnificence on the planet. 토토사이트

  • Steven Born

    When you require to provide on a point, raise your oar, your hand, or movement to the barker or Ft Wayne liquidate staff with the goal that the salesman takes your offer. Beginning there on, you should certainly have the capacity to acknowledge or deny a higher offer with an uncomplicated motion of the head. best contractor hvac

  • Steven Born

    When there is a blogging internet site for every singular subject imaginable, why not one for day trading also? We have a comprehensive discourse on what composes a blog site suggested for day trading. Comprising is an appealing art if suitably crafted. affordable landscaping

  • Steven Born

    The consequences of linking as well as real procedures to get staying together of even more organizations without warm-blooded creature punished or more regrettable by the web indexes like google and also yippee. agen bola resmi

  • Steven Born

    I occur to be commenting to allow you to recognize the impressive experience my companion’s princess discovered utilizing your website. She recognized such a bargain of information, consisting of specifically merely how it resembles to have an outstanding professional style to have the others simply absolutely determine selected sophisticated concerns. You truly did above our dreams. online tutoring

  • Paul Ambler

    The helpful the write-up, nevertheless. The experts need to see every one of the terms which you have actually tried to share right here. Due to the reality that it is extremely vital for them to consider well as additionally recognize this. power washing york pa

  • Paul Ambler

    In this post recognize the essential element, the item will certainly generate a keyword rich link an exceptional valuable internet site websites. this is likewise a great submit which I definitely appreciated the analysis. best law office

  • Paul Ambler

    If you are reading this message currently, you are most likely going over whether you should have a website developed for you. We will absolutely inform you right now, having an internet site developed for you will certainly do a good deal of use for your firm along with listed below’s why. heating hvac repair

css.php