I am using TexStudio with the subfiles package to split my project into smaller pieces, with the advantage that I can compile a subfile indepentent of the main stuff.
Now using the \autoref command of the hyperref package I would like to have auto completion for the labels when working in a subfile, but TexStudio does not give me a list of labels in the other documents.
One way out that I know is to use a %!TEX root = main.tex at the beginning of a subfile, but then maint.tex will always be executed, making the subfiles package useless.
Any ideas how to use \autoref across different subfiles?