lingo / sublime-fscompletion

Auto-complete paths and filenames from the filesystem, à la Ctrl-X,Ctrl-F in VIM
GNU General Public License v3.0
31 stars 5 forks source link

Absolutely not work on OS X 10.8.2 #4

Closed darky closed 10 years ago

lingo commented 11 years ago

HI there -- do you see any relevant information in the console pane?

darky commented 11 years ago

Example output:

FileSystemCompletion: line was 'background: url(/out/c)', replaced to 'd: url(/out/c)'

And nothing more...

python version in system 2.7.2

lingo commented 11 years ago

Thanks for the report. In fact this is an area being worked on currently. I'm working with fikovnik to get this fixed.

lingo commented 11 years ago

Can you try the latest version and let me know if this works for you now?

darky commented 11 years ago

Not work

lingo commented 11 years ago

As a further test, what happens if you create a new, empty, file and insert the following:

/User

then with the cursor at the end of this line, invoke the autocomplete (Menu: Edit -> Show Completions).

Does this do anything? What do you see in the python console?

darky commented 11 years ago

Traceback (most recent call last): File "./sublime_plugin.py", line 236, in on_query_completions File "./fscompletion.py", line 60, in on_query_completions File "./fscompletion.py", line 19, in getviewcwd File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/posixpath.py", line 119, in dirname i = p.rfind('/') + 1 AttributeError: 'NoneType' object has no attribute 'rfind'

lingo commented 10 years ago

I believe this is now fixed, please re-open if this reoccurs!