Hi everyone,
In my languageservice one can use the "goto definition/declaration" feature by pressing [F12]. In that case, the "Goto()" method of the corresponding AuthoringScope is called as expected. The method is supposed to return an URI of the target file for the goto operation. So far so good!
My problem is that a new file-tab is opened (instead of using the already existing tab if the file is already opened in the editor). So I now have two tabs pointing to the same file. Changes in one tab are immediately visible in the other tab. Another call
to goto then always uses this newly created duplicated tab as goto-target, so no more than two tabs of the same file will be opened.
Has anyone also observed this behavior? Is this a known bug? More probably, what am I doing wrong? I'm always returning the full path to the file, not the relative path. How does VS determine if a file is already opened?
Thanks in advance,
Max