Talk:Syntax highlighting
From Wikipedia, the free encyclopedia
Contents |
[edit] HELP ME PLEASE
anybody know a good text editor for windows that highlights java syntax?
[edit]
How can I implement Syntax highlighting in vb? or java? what is the funda of syntax highlighting?
Syntax highlighting is a function of the text editor, so to highlight syntax in a given language you simply get a text editor with support for that language. Or if you want to add support for a new language, you read the manual for the editor in question.
Isn't syntax coloring the more accurate term?
- No. Syntax highlighting in some programs uses font changes for different elements, too. "Syntax highlighting" gets lots more google hits than "syntax coloring" — Omegatron 20:40, 4 March 2006 (UTC)
- Not to mention that the whole purpose is to _highlight_ the various pieces of code, not to highlight them. "Syntax coloring" seems to be implying that it's an end in itself (pretty code), rather than a means to an end (better understanding of the code). --Shinyplasticbag 07:17, 19 March 2006 (UTC)
[edit] LimoWreck revert
Please explain why you reverted my edit. Otherwise leave it alone. --klaus
- because people tend to add their own pet editors to articles like this. Listing feature of <insert your favorite piece of software here> doesn't add anything to the principle that's explained in the article; contrary, it makes of the article a platform for spamming software links --LimoWreck 21:32, 23 July 2006 (UTC)
- Please remove the Vim reference as well. Otherwise, leave my change as-is. I have no relationship with PSPad whatsoever but it is one of the very few editors that can do what I mentioned in the blurb. --klaus
- The vim reference was removed as well ;-) --LimoWreck 12:17, 24 July 2006 (UTC)
- Not the last one. I don't want to be difficult here but if you're going to be reverting my changes then you also need to be fair. If it's so important to you that a reference to <whatever> not appear here then the Vim one should also be purged — but I'm not going to do it for you. --klaus
- The vim reference was removed as well ;-) --LimoWreck 12:17, 24 July 2006 (UTC)
- Please remove the Vim reference as well. Otherwise, leave my change as-is. I have no relationship with PSPad whatsoever but it is one of the very few editors that can do what I mentioned in the blurb. --klaus
The link to LEXX, goes to the series, not sure where what the correct link is here, so maybe one of you wikipedians can fix it.
[edit] WikiMedia Built-in Syntax highlighting
Hi, I've recently seen pages that use <source lang="...">code</source>
tags in place of <pre>code</pre>
tags. This is new and a neat feature, however, I don't see any documentation for it on Wikipedia. The header at the top presently reads "For syntax highlighting of source in Wikipedia and other wikis using MediaWiki, see Wikipedia:Text editor support", however, this statement is misleading, as the resulting page offers no feature. Is there a better page to link to for this? Also, as a hint, if you want to know what parameter to use for lang
, try using the tags above on the Wikipedia:Sandbox, and a bad lang
will dump an error that lists the supported keywords and languages. See GeSHi for more information for the code responsible for the syntax highlighting in MediaWiki.+mt 19:46, 6 July 2007 (UTC)
- http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi 71.123.183.141 (talk) 03:42, 4 March 2008 (UTC)