Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Error List View opens a duplicate tab of respective file

$
0
0

Hi,

in my language-service, I use the AuthoringSink.AddError() method to populate syntax-errors which have been found during parsing. These errors are automatically displayed in the default Visual Studio "Error List" window. Everything actually works fine, except one strange and annoying issue:
Assume a file, say file.vhd, which I opened with a double-click in the solution explorer. After opening the file in a text-editor tab, a syntax error is found somewhere in the file. This error is displayed as expected in the "Error List" window. However, when I now double-click the error-message (in order to jump to the source location of the error), Visual Studio opens the same file again in a separate, duplicate tab.

Does anyone have any idea what's the matter here? Is there any possibility for me to intercept the double-click event and use, e.g., a DTE command to jump to the location to avoid the duplicate tab? I would hate to implement my own Error-Window because of this issue.

Regards,
f_max


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>