angular-ui / AngularJS-sublime-package

AngularJS code completion, snippets, go to definition, quick panel search, and more.
MIT License
1.42k stars 169 forks source link

$log completion losing the $ #51

Closed noducks closed 10 years ago

noducks commented 10 years ago

if I type $log and then select one of the items lets say $log.error from the dropdown. I end up getting a log.error('error') without the $, so I end up having to go back and enter the $. This happens whether it is a warning, info, log, etc.

Seems to be only the $log ones... Others like the $interpolate completion work fine.

subhaze commented 10 years ago

Are you using the latest release? I ask because $log.error should not be a completion option.

$log would be an option, then, after selecting that the following options should just be something like: debug/error/info/etc...

subhaze commented 10 years ago

I just downloaded the AngularJS Snippets package to test it and, it seems, you have that installed because it behaves the way you describe.

Please re-open if this is not the case, otherwise, you might want to file an issue on their package.

noducks commented 10 years ago

Thanks. Well noticed. Have raised the issue with angular-snippets.