[[PageOutline(2-5,Contents,pullout)]] = Add context menu to source code browser == Description This is a plugin which adds a context menu to the Trac source browser. It defines an extension point and the interface `ISourceBrowserContextMenuProvider`, with which you can implement custom items to the menu. The context menu itself requires !JavaScript to work. Included are menu items which provide direct svn links, like `wiki:SvnUrlsPlugin`, and wiki links: [[Image(ContextMenuPlugin:contextmenuplugin.png, border=2)]] The context menu appears when clicking on the down-arrow and displays: '''Subversion''', '''Wiki Link (to copy)''' and '''Share file'''. == Bugs/Feature Requests Existing bugs and feature requests for ContextMenuPlugin are [report:9?COMPONENT=ContextMenuPlugin here]. If you have any issues, create a [/newticket?component=ContextMenuPlugin new ticket]. [[TicketQuery(component=ContextMenuPlugin&group=type,format=progress)]] == Download Download the zipped source from [export:contextmenuplugin here]. == Source You can check out ContextMenuPlugin from [/svn/contextmenuplugin here] using Subversion, or [source:contextmenuplugin browse the source] with Trac. == Installation General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. Add the following line to your `trac.ini` file to enable this plugin: {{{#!ini [components] contextmenu.* = enabled }}} == Recent Changes [[ChangeLog(contextmenuplugin, 3)]] == Author/Contributors '''Author:''' [wiki:penmark] [[BR]] '''Maintainer:''' [[Maintainer]] [[BR]] '''Contributors:''' [wiki:pipern], [wiki:rjollos]