Sublime Forum

Calling a command-line to fill out settings?

#1

Is there a way of calling a command-line program to dynamically fill out settings files? I would like to do something like this:

"settings":
    {
    
        "sublimeclang_options" :
        
            "analyse_makefile_and_return_includes.py",
        ]
    }

I swear I remember seeing someone do something like this but googling and checking the docs and the forums didn’t turn up anything

0 Likes

#2

load_settings(base_name)
save_settings(base_name)
sublimetext.com/docs/2/api_ … e.Settings
sublimetext.com/docs/2/settings.html

0 Likes