[Qt-creator] Plugin: open bugtracker links from comments
Thorbjørn Lindeijer
thorbjorn.lindeijer at nokia.com
Fri Feb 5 11:07:48 CET 2010
>> There is currently no way, as I said this will require some refactoring
>> in the way the links are added.
>>
>> Specifically, there would need to be an interface that can be
>> implemented by plugins to add new types of links and that has a method
>> that is called when the link is clicked.
I just wanted to add here, that you shouldn't shy away from making these
changes yourself. I don't necessarily have time to work on these changes
myself, so in explaining the general idea I hope to help you on your way
to a solution that we can consider merging later.
On 02/04/2010 06:31 PM, ext Coda Highland wrote:
> As a suggestion: Would it be more feasible, then, to add a new item to
> the right-click menu on these links? I think I'd prefer that over a
> left-click behavior anyway.
It is indeed straight-forward to add a right-click menu action, using
the action container identified by CppEditor::Constants::M_CONTEXT. It
depends on what you want. I think integration with the mouse navigation
(and the F2 shortcut) would be nicer.
Regards,
Bjørn
--
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Development Frameworks
More information about the Qt-creator-old
mailing list