-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confusion over relative paths #11
Comments
Thanks for your Feedback. Hitting relative auto completion should always insert paths relative from your current file. I probably did not mention explicitly that it has to be called before the suggestions are displayed (the shortcut opens the suggestions window). In your case the suggestions window is already opened. Meaning, the selected rule will determine the path type. Either adjust the ruleset to your specific needs or start the query by hitting the shortcut for relative auto completion. I hope this helps. |
Hey @sagold, thanks for the quick reply. I'm still seeing the path relative to the project root. I've tried many combinations. I'm hitting the default "ctrl+alt+space" shortcut before the suggestions are displayed. I haven't overridden any of the default package or keyboard settings. Is there a different way to trigger relative auto completion without the keyboard shortcut? Here's a gif of what I'm trying: http://i.imgur.com/3x7lfCo.gif The first time I try auto autocomplte, the second time I specifically use the relative auto complete shortcut. Default Keybindings:
|
Hi Breck. Would you mind to post some more information so that i may reproduce or solve the problem?
Thank you for your efforts. The animated gif is very helpful. |
I'll give it a shot on my mac at home and see if it works on there. Thanks @sagold! |
It looks like I'm having the same issue. I'm on Windows 7 and Subliime 3083. When I'm trying to autocomplete filename for Here's my config (pretty copied from standard one)
|
Hi breck, hi fetis. Thank you both for helping me find the problem. Obviously i am neglecting tests on windows. The problem was twofold:
Both problems have been fixed, tested and released 3e0e063. I hope you can confirm that this issue is solved. |
It looks like problem was fixed. But I had to completely remove the plugin and made fresh installation. |
It works! Thanks @sagold ! |
Really like this plugin. One thing I'm struggling to grasp is the relative paths.
Let's say my directory structure looks like this:
Now let's say I'm editing corn.js. If I type "app" then hit the relative auto completion shortcut I'd expect the inserted text to be relative to the current file. So I expect "../fruits/apple.js". Instead I get "/fruits/apple.js".
Is this as designed?
The text was updated successfully, but these errors were encountered: