Giter Site home page Giter Site logo

angularjs-brackets's Introduction

QuickEdit directives, controllers and services?

Yes Please!

Watch a screencast of Angular-JS-brackets in action.

Preview

Screenshot

GIF!

Contribute

  1. Uninstall the version you installed via brackets package manager
  2. git clone [email protected]:angular-ui/AngularJS-brackets.git ~/Library/Application\ Support/Brackets/extensions/user/AngularJS-brackets (the destination may be different for your OS)
  3. In Brackets: Debug > Show Developer Tools
  4. In the Developer Tools window, Sources > CTRL/CMD+O and type in 'angular' to filter to files from this extension
  5. Place breakpoints or debuggers, etc where necessary
  6. Fork the repo and send pull-requests!

angularjs-brackets's People

Contributors

adrianuf22 avatar proloser avatar wickedsik 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

angularjs-brackets's Issues

Improve resource recognition

Right now a fairly brittle pattern is being used to recognize directives and controllers. This regex and related code should be expanded to be more versatile. Such as when passing a reference to a function instead of just an anonymous function.

Controller quick edit freezes Brackets

Ubuntu 12.04 32-bit
Brackets sprint 31 experimental build 0.31.0-9569
Angular 1.1.5

Every time I try selecting quick edit on a controller, it freezes Brackets (kill is required to close it).

I noticed Brackets changed FileUtils.getFilenameExtension to getFileExtension, which you use in findMatches function, so I forked it and installed the forked extension in Brackets, but it behaves the same way, so obviously that wasn't the cause for this freeze.

BTW Thank you for this extension. Excellent work ๐Ÿ‘ (assuming this is a glitch caused by some Brackets upgrade :)

Quick Edit Conflict?

When you use a directive that is restricted to an element Quick Edit seems to prefer the CSS definition instead of the directive (and won't find the directive). It does work if your directive is restricted to an attribute though.

Quick-edit is not working

Brackets is not responding after i try to quick edit any of angular directives.

I'm using:
Brackets
sprint 1 build 1.1.0-15558 (release ea908cae5)
build timestamp: Wed Dec 17 2014 12:50:55 GMT-0800

Will not work in Brackets Sprint 34

This extension uses several APIs which have been removed. In the next release of Brackets, the extension will crash.

The APIs are:

  • FileUtils.getFilenameExtension()
  • FileEntry.getMetadata()

In addition to several APIs that have been deprecated and will be removed by the end of this year:

  • NativeFileSystem.FileEntry
  • FileIndexManager

It should be fairly straightforward to switch to the new APIs based on the API migration guide. You can release this update in advance if you want, since users of Brackets Sprint 33 (the current release) will still be able to install the older version of your extension that is compatible with their build.

See this discussion thread for more background on the API changes.


Original description for posterity:

Starting in Brackets Sprint 32, FileUtils.getFilenameExtension() is deprecated. It still works, but prints warnings to the console -- and may be removed in the future.

It is currently used here in NGUtils: https://github.com/angular-ui/AngularJS-brackets/blob/master/NGUtils.js#L364.

You could do a straightforward migration to the new FileUtils.getFileExtension() API. Or if you want to preserve compatibility with older Brackets / Edge Code releases you could use something like the approach here: peterflynn/svg-preview@b40b39b.

Live editing angularjs views

Is there a way to live edit angular views?
If I'm in the top level file and live edit, the view file is not live-editable.
I can inline the file contents, in which case I can do what I want.
Is there a better work-around?

Element support

I'ts awfull!! The only missing here is support for element editing...
I'm not sure if it's possible as brackets itself interprets that when an element is quick edited you want to edit the class of the element, and this is also fine, could it be added in the right panel?

Parse Directives and Controllers and store in cache

Instead of parsing the entire file tree every single time an expansion is performed, it might be better to just index all directives and controllers (since there probably won't be that many) and simply use the cache for lookup.

I can not make it work on intel XDK

XDK intel work and urge the plugin from the plugin option ide , can not get worse it work is needed on the angularjs this code in the same file or reference

Quick Edit doesn't work in Sprint 42 Windows 8

Right click > Quick Edit on any Angular attribute, and I get nothing, just -- Place cursor on class, tag, or id, message.

I understand that no one is working on this project anymore. With no Angular support, Brackets really looses a lot of value for front end developers. I guess it's time to look to Atom or WebStorm that have Angular support I guess.

Lets get this thing working!

@subhaze hey man, I don't know if you've had a chance to checkout Adobe Brackets yet, but I'm trying to get quick-edit support for things like Directives, etc. It turns out that it also uses tern internally so I think your other plugin may come in handy here too.

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.