I’ve got my <project_name>.sublime.settings file in the same directory as the plug-in itself. The JSON inside the settings file is good, in fact, there is just a single entry. The code is nothing more than:
settings = sublime.load_settings("<project_name>.sublime-settings")
print("settings: ", settings)
print(settings.get("check_value")) # just a string
The settings object is valid as the print statement returns something like:
<sublime.Settings object at 0x000001DDBE6F0780>
but “check_value” always evaluates to None. No errors or warnings are thrown in the console.
There are no other settings files that might override the “check_value” entry.
Not sure what else to check. All I can think of is that the incorrect file is not being loaded or cannot be found for some reason. Is there a way to dig into the load_settings method to get a better idea as to what might be going wrong? Any other debugging strategies that I could employ to figure this out? Thanks again.