locked
Handling double click on ErrorItems in Errors window RRS feed

  • General discussion

  • Hi,

    I have created a custom compiler task (similar to IronPython compiler task) that operates on XML created by my DSL package. So I cannot provide the line and column number where the error occurs (if any). I want to be able to open the view of my DSL file and highlight the model element which has error (just like model validation error items behave). My compiler task can log the ElementID and/or unique Name attribute of the model element. How can I implement such a feature? My implementing IVsTaskProvider and IVsTaskItem? Any help/hints would be appreciated.

    Thanks..

    Monday, October 25, 2010 9:09 AM

All replies

  • I ended up writting my own ErrorProivder using ITaskLogger. Also extending the ErrorTask class and override the OnNavigate method. I hope this helps someone else in my position.

    Thanks,

    Zeeshan

    Wednesday, December 1, 2010 2:38 PM