This is basically what I had in mind. By default have comments use
variable width text (as they do now) and not be interpreted as code,
but if certain indentation is applied (ala StackOverflow) then the
text is interpreted as code, a fixed width font is applied and the
code is highlighted accordingly. Adding a small toolbar in the comment
box's text input to simplify adding a code block could make this even
better.

On May 4, 2:47 pm, Christian Hammond <chip...@chipx86.com> wrote:
> I assume being able to have syntax-highlighted code in comments. If
> so, I'll say that I've wanted this for a while but never came up with
> a UI I love, as I really don't want to clutter the comment dialog.
>
> One thing that could work is following a ReST model where indented
> blocks of text are considered code. We could try to apply highlighting
> based on the highlighter for the code being commented on.
>
> Christian
>
>
>
>
>
>
>
>
>
> On Wednesday, May 4, 2011, David Trowbridge <trowb...@gmail.com> wrote:
> > Thanks for the feedback!
> > Can you clarify what you mean by "ability to format fixed-width blocks of 
> > code"?
> > -David
>
> > On Wed, May 4, 2011 at 7:29 AM, Stephen Tyree <tyree...@gmail.com> wrote:
>
> > Hello all,
>
> > I've been using ReviewBoard for over a year now, and the only thing I
> > find a lacking from a user perspective is the commenting
> > functionality. When posting comments, I don't have the ability to
> > format fixed-width blocks of code or have the code in those blocks be
> > properly syntax highlighted. Given that ReviewBoard is (AFAIK)
> > typically used for code reviews, this seems like an obvious win
> > functionality wise. Are there any plans to add this in future
> > versions?
>
> > Thanks!
> > Stephen Tyree
>
> > --
> > Want to help the Review Board project? Donate today 
> > athttp://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://www.reviewboard.org/users/
> > -~----------~----~----~----~------~----~------~--~---
> > To unsubscribe from this group, send email to 
> > reviewboard+unsubscr...@googlegroups.com
> > For more options, visit this group 
> > athttp://groups.google.com/group/reviewboard?hl=en
>
> > --
> > Want to help the Review Board project? Donate today 
> > athttp://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://www.reviewboard.org/users/
> > -~----------~----~----~----~------~----~------~--~---
> > To unsubscribe from this group, send email to 
> > reviewboard+unsubscr...@googlegroups.com
> > For more options, visit this group 
> > athttp://groups.google.com/group/reviewboard?hl=en
>
> --
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to