I added personnal commands in a .cwl file so that TXS could recognize them and
provide the autocompletion but it seems that I can't figure where to put this
file on my Mac. The user manual only specifies the proper directory on Windows
and Linux but not a word about Mac.
Does anybody know how to handle this ?
I have no background on OSX, but there should be some application data
Try locating "texstudio.ini" or "*.cwl" files that TXS autogenerates.
Please report back, if you found the actual directory, so we can add it to the
Benito van der Zander
That's the directory where it looks
CFURLRef appUrlRef = CFBundleCopyBundleURL(CFBundleGetMainBundle());
CFStringRef macPath = CFURLCopyFileSystemPath(appUrlRef,
const char pathPtr = CFStringGetCStringPtr(macPath,
i.e. "Contents/Resources/completion" within the application bundle. (whatever
a bundle is)