+1

sublime.packages_path()

Juan Falgueras vor 12 Jahren aktualisiert von FichteFoll vor 12 Jahren 1

sublime.packages_path() returns the absolute path of the packages directory, but settings.get doesn't, and it puts always the packages/ relative starting folder for its answer.  Then you need to join both but previously deleting the word Packages or jumping back .. in the middle of the joint paths.  This is a bit annoying and could be easily solved having always full paths or settings answering without this "Packages/" starting folder

 Tbh I never had a problem with that behaviour. Could you provide an example for better imagination?