8

1

There is a new "Code Snippets" plugin for FogBugz 8.

  1. Is there any way to customize the CSS style of text it produces?

  2. Any way to disable the horizontal separetion lines it produces?

  3. It really lacks preview in edit mode. When I edit document and I have code block, I want to see it while editing as well.

  4. FogBugz search doesn't support searching into snippets (if I search something that occurs in my code snippet I won't find it).

Fog Creek Case FC1958454

flag

2 Answers

3

Hi Vasili,

Thanks for your suggestions! We're always interested in making our products (and their plugins) better.

To answer/address your questions/points:

  1. No, not currently. What styles would you be interested in changing? The CSS used for code snippets could potentially be overwritten using your wiki template's CSS. Similarly, you can't currently modify the CSS used for code snippets in case view either, but you could potentially change this using BugMonkey.
  2. This is done with CSS, so it would fall under your first point/question.
  3. Great point. I've been playing with various ways of improving this, but I haven't settled on one just yet.
  4. For code snippets in case events, you should be able to search for them just fine. For code snippets in wiki articles, you're correct--they're not currently searchable. I'll look into finding a way of exposing them.

I'll be sure to update this question if/when we release a new version of the plugin.

link|flag
Thank you! 1, 2 indeed can be solved by wiki template. I fixed the style as wanted :) Waiting eagerly for 3, 4 in next plugin release. I would try fixing these myself by playing with the source code, but unfortunately I don't think I find time for this in the near future :( – Vasili Galka Oct 5 2010 at 14:08
2 
This is particularly important for the conflict resolution diff, which doesn't expand the snippets. – Bryce Schober Oct 27 2010 at 22:00
1 
Hm. Guys, you should really add the search inside wiki code snippets feature. How can we vote up for this feature? – Grigory Jun 30 2011 at 7:27
1

This will work for the time being

select top 100 URL = 'http://intranet/fogbugz/default.asp?W' + convert(varchar, ixWikiPage), p.* 
from wikipage p (nolock)
where sBody like '%repolist%'
order by  p.ixWikiPage desc
link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.