Sublime Forum

.sublime-settings file not found

#1

I’m trying to test my package as a .sublime-package file in Installed Packages instead of a folder of files in Packages.

I’m running into a problem where my ‘Settings’ menu item, which performs a edit_settings command with a base_file of ${packages}/AmigaDev/Package/Settings/AmigaDev.sublime-settings can’t find the file.

(Note: my file is indeed in a Package/Settings subfolder of my package folder)

I’ve looked at other packages like PackageDev and Package Control which are also installed as .sublime-package files in Installed Packages and they seem to use the same ${packages} variable as a base path but Sublime Text finds their file just fine.

Am I doing anything obviously wrong here?

0 Likes

#2

Are you sure you’ve made the package correctly, where the zip file contains directly Package/Settings/AmigaDev.sublime-settings, not AmigaDev/Package/Settings/AmigaDev.sublime-settings?

1 Like

#3

Bingo. The zip file contained the top level folder which meant the command file was found but none of the other paths.

Thanks!

0 Likes