- edited description
Support for {code:title=xxx}
We have a problem with your plugin. When entering in a comment you can press the yellow '?' to see wiki text markup that can be used. The example for the {code} tag is this:
{{{ {code:title=Bar.java|borderStyle=solid} // Some comments here public String getFoo() { return foo; } {code} }}}
However this doesn't work with your plugin - no title is added and there is no border.
Do you not think that if you are going to override the inbuilt {code} tag then it should use the same formatting options? Otherwise we're going to get reports from users thinking it's a bug (we've had 1 such report already).
Comments (11)
-
reporter -
reporter I think, title would be useful, but I don't want to add any layout options.
Kind regards Holger
-
reporter - changed milestone to 1.7.0
-
assigned issue to
- edited description
-
reporter Issue
#27was marked as a duplicate of this issue. -
reporter - attached title.png
How do you like this layout? (see attached screenshot)
-
Visually, it looks similar to below: HelloWorld.java {code:java} ... {code} If there is no extra layout displayed after specifying options like for panel (border, color, etc), a simpler solution is to not allow options so it is simpler and no extra typing/memorizing the syntax is needed. You just need to update the samples in Help (?).
-
reporter Yes, the layout is simple. The HelloWorld.java has 20px margin left. That's it. :-)
I don't want to give options for border etc. But there is no way to change the help files using JIRA plugin concept. The only way is to replace the corresponding JPS files manually by the system admin and this gone with every JIRA update.
-
I looked at how {code: title=foo}...{code} is displayed. It draws border and title. If we lose the title, existing issues that have them suddenly lose information and that is not good :(. Please ignore my previous comment. It will be nice to keep the existing functionality, i.e. title displayed and border drawn. Thank you for this great plugin.
-
reporter -
reporter - changed status to resolved
Released as part of version 1.7.0
-
reporter - removed version
Removing version: 1.5.0 (automated comment)
- Log in to comment