Say I have document A in which I define a new command, \foo
.
I'd like to have \foo{}
autocomplete in document A, but document B does not use \foo
. Instead, it uses a command \food
. I don't want Texstudio to autocomplete to \foo
when I'm working in document B.
Is there some way I can have a custom .cwl file load when I am working in document A and a different .cwl when working on document B?
I know I can go and uncheck .cwl files in the autocomplete config, but I'd like to automate this if possible so I don't have to remember to check/uncheck every time I work on something new.