Closed RobotGetsBored closed 9 years ago
i'll look, thanks for report
This has also broken tab completion on ST2. There are no errors popping up which is frustrating but thankfully I found this via:
http://www.reddit.com/r/SublimeText/comments/2tywbd/sublime_text_3_auto_complete_stopped_working/
i pushed some fixes, please check
Do you know when it will be available through Package Control? According to the Package Control page for this package the latest version is from the 27th.
EDIT Oh, right after I posted this it looks like it got updated. I will test it out presently.
Nope, still seems to mess up the auto complete. No initial errors in the Console. When I open up a new file and start typing, then I get an error (rough glance, looks the same as before).
Traceback (most recent call last):
File "/opt/sublime_text/sublime_plugin.py", line 358, in on_query_completions
res = callback.on_query_completions(v, prefix, locations)
File "GherkinAutoComplete in /home/dalvarez/.config/sublime-text-3/Installed Packages/Cucumber.sublime-package", line 118, in on_query_completions
File "GherkinAutoComplete in /home/dalvarez/.config/sublime-text-3/Installed Packages/Cucumber.sublime-package", line 71, in is_feature_file
TypeError: argument of type 'NoneType' is not iterable
please update again
I no longer get that error, but still auto completion doesn't work. Sorry for all the trouble, but I do appreciate you attempting to fix this!
what's in console when you save the file?
Nothing is in the console. It looks like your return
for the if
is on the wrong line.
Indenting the return
into the if
fixes the issue. I will submit a PR.
that's cool you've found that it will work returning None, i wasn't sure about this looking at sublime text api docs - thanks!
Yup, that did it. Thanks!
thank You!
Today I must have gotten an auto update on this package and my autocomplete stopped working. After awhile I realized that it did work, but only on new, unsaved files. As soon as I saved the file, watching the console, I would see this:
When I uninstalled this package, everything went back to normal.