angular-ui / AngularJS-brackets

AngularJS plugin for Brackets (booya)
216 stars 50 forks source link

Live editing angularjs views #7

Open eldrgeek opened 10 years ago

eldrgeek commented 10 years ago

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?

ProLoser commented 10 years ago

Oh now I get what you're talking about. I've got no real solutions off the top of my head at this time. It would be a massive undertaking to integrate with the introspection engine. I was thinking about maybe we could have and that would instruct brackets to the relevant partial, but honestly try using an ng-repeat or ng-if or ng-switch and watch everything go bonkers since the file on the local machine no longer matches what's in the browser.

nmabhinandan commented 9 years ago

I would love to have live editing support for angularjs partials.

mandofever78 commented 9 years ago

+1 for some way to make this happen

ProLoser commented 9 years ago

How exactly do you expect angular to know what view is loaded?

mandofever78 commented 9 years ago

just wishful thinking

ProLoser commented 9 years ago

Seriously, how would YOU even know what file you're working on? Or which one you want to work on? Like it would help if I had an idea of what you were expecting to happen.

nmabhinandan commented 9 years ago

Don't make it complicated. Do something like, refresh the whole site when a view (whichever it maybe) is changed.