angular-ui/AngularJS-sublime-package

$log completion losing the $

noducks opened this issue · 3 comments

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.

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...

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.

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