We know you have an opinion on how things should be run around here. These are suggestions for the forums, and the website.This forum is not a place to ask for suggestions to your own coding (or otherwise) problems.
tags. What do you think we should do with the hyperlinks on the documented function names? Do you find them useful? :)
Voting ends in 5 days (Friday 10th).
[syntax=php]$foo = 'bar';
function say_it_twice($str)
{
return str_repeat($str, 2); //Documented
}
echo say_it_twice($foo); //Not documented[/syntax]
Last edited by Chris Corbyn on Tue Feb 14, 2006 10:06 am, edited 2 times in total.
although I know it's a bit of work, allowing the colors/style to be chosen would help satisfy all the people. I think everyone, from those that don't like the coloring at all, to those would like the code in a slight different set of colors, to guests that aren't registered at all.
I do believe the default should stay this way, or maybe bold, or even background color (say yellow?) the links to really make them pop. At least that would benefit guests and newbs likely the most.
Bolding the link might bring attention to it without carpping out the style of the highlighter. I would agree that making the links stand out is a necessary feature, but I think we would also want to keep the look and feel as clean as possible.
Either way, the fact that this feature is on this board is a definite improvement and will be a helpful tool to a lot of developers.
I wish you guys had used a css class for styling them instead of style="blah" in the a tags. Now I can't use the Web Developer's Toolbar to edit the CSS on the fly to check the differences and what looks best.
Not a big deal, but now I have to just guess what may look the best
Do you think there would be any benefit to using GeSHi? I believe this application stemmed from the original code highlighting feature found in phpBB. GeSHi also supports multiple language formats (HTML, CSS, Javascript) which are also included in a lot of questions and answers around here.
geshi implementation is being debated (somewhat) amongst the moderators at the moment. It was part of an overall solution I suggested, along with making preparing for new languages a bit easier.
Jenk wrote:With a whopping 4 votes.. hardly conclusive that the entire forum wants them.
I've voted for toggle, but would have voted for "leave as links and blue but with no text decoration".
Agreed, just commenting on early results.
Having toggle in the choices may just confuse the situation.. I've got no issues with having a toggle available. The question was what to do by default.
Jenk wrote:With a whopping 4 votes.. hardly conclusive that the entire forum wants them.
I've voted for toggle, but would have voted for "leave as links and blue but with no text decoration".
There was a "Something else" option
Have you actually thought about the practical implementation of having hyperlinks that look the same as the rest of the text? It's a well known usability no-no...
Here you go... what you're saying is just as silly as trying to find the link in this text:
They should stand out in some way, when they first went live they were just bold I think, that looked just fine to me. Aesthetically pleasing, fits the colors for function names most editors and the official documentation uses, and still functional. I also think bold stands out as a link then a non-standard purple-like color.