Domanda

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\
È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top