Question

I have beed using Advance new file package in Sublime Text 2 and when I press shortcut for creating new file is in my main directory C\users\%name\.

Is it possible (or with another package) to set path to be in folder that I'm currently at.

Example, if I'm at

C:\Users\%user\Desktop\Notebook\Ruby programs\Ruby\test.rb 

to set the path to

C:\Users\Bane\Desktop\Notebook\Ruby programs\Ruby\
Était-ce utile?

La solution

Open Preferences -> Package Settings -> AdvancedNewFile -> Settings - User and add the following to the file.

{"default_root": "current"}

You can see more about settings on the GitHub page.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top