[quote=“skube”]I’m not sure how to file a bug report, but in any case, it probably isn’t a bug. There are no errors in the console.
For my setup, I run a local webserver in which the absolute root of my webserver is not necessarily the root of my computer. AutoFileName seems to pickup the root of my computer and there appears to be no way to override that.
I’m using:
- ST2 2181
- Windows 7[/quote]
hi, “someone else” here.
while C0D312 is working on the proper solution to this “absolute path” issue, i hacked his plugin to give me behavior that works for me and i think will work for you. i found that all i needed to do was to add a couple lines to the code in the plugin.
NOTE: the first two lines below are C0D312’s code and the second two lines are what i added directly afterwards.
if cur_path.startswith(("'","\"","(")):
cur_path = cur_path[1:-1]
if cur_path.startswith("/"):
cur_path = "." + cur_path
you can see my conversation with C0D312 about this issue here.