You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 25, 2019. It is now read-only.
Is there a flag for disabling inline annotation of controller definitions etc for those of us that use things like ngMin and ngAnnotate?
If not, am I doing something wrong? typing in additional dependencies when you are editing an existing controller/service/directive/etc often feels painful and slow, as you have to type them twice!
The text was updated successfully, but these errors were encountered:
@raibutera Looking back on this I see that I missed the overall point of the question when answering it previously. The flag for the DI completions wont help here, but, still needs to be added, however, below I'll explain how you can override the current completions to hopefully get things to where you'd like them.
If I'm reading correctly you just want to type:
.contr[tab] and it turn into .controller('|', function(|){... ?
If so you can override these completions so that they do not add in the extra bits you don't want.
You can see the defaults at: Preferences > Package Settings > AngularJS > JavaScript Completions - Default
And can override the js_completions by editing: Preferences > Package Settings > AngularJS > JavaScript Completions - User
Is there a flag for disabling inline annotation of controller definitions etc for those of us that use things like ngMin and ngAnnotate?
If not, am I doing something wrong? typing in additional dependencies when you are editing an existing controller/service/directive/etc often feels painful and slow, as you have to type them twice!
The text was updated successfully, but these errors were encountered: