Syntax highlighting is a feature of text editors that displays text, especially source code, in different colors and fonts according to the category of terms.

learn more… | top users | synonyms

2
votes
1answer
609 views

How can I disable color highlighting and marks of versioning in NetBeans?

How can I disable color highlighting and marks of versioning in NetBeans? (in my case, mercurial) PS: Now that I see, highlighting is on html tag attribute values, and doesn't respond to versioning, ...
7
votes
3answers
2k views

How can I highlight XML on the command line?

How can I highlight XML from stdin (e.g. piped from xmllint --format) to stdout? I know how to get highlighting working in nano and view, but is there something that just outputs to stdout and exits? ...
9
votes
3answers
4k views

How do I enable syntax highlighting for .bash_aliases in vim?

I'm working on reorganizing my .bashrc. I moved my aliases to .bash_aliases (which is sourced by .bashrc, but I can't figure out how to enable syntax highlighting for this file. vim seems unable to ...
3
votes
3answers
2k views

Word Syntax Highlighting

I'm writing an article and I would to maintain notepad++ syntax highlight when I paste a code block into word. The code is all in SQL, and I would very much like to the way it is formatted. Also, ...
4
votes
2answers
405 views

How to utilize vim's syntax color to replace the `highlight' utility?

I feel that the `highlight' utility doesn't support as many file types as vim does, and the project isn't very active. When the file is gzipped, highlight doesn't recognize it at all. But in ...
1
vote
1answer
88 views

How do I highlight the whole text in a line that triggers syn-containedin?

Suppose I have these Vim definitions: syn match tasktag "\(\s\)\@<=@[a-zA-Z0-9_]\+" syn match taskdone "\<[Dd]one\>" containedin=tasktag How do I specify taskdone to highlight the entire ...
3
votes
1answer
916 views

Highlighting command line in vim

Is it possible to change the coloring for the command line in vim? I realize that may be somewhat ambiguously stated, so I have some things that should clear it up a little. This image illustrates ...
1
vote
2answers
67 views

$('<tag />') breaks my highlighting

But $('<tag></tag>') doesn't. The problem seems to come with the '/>' thing. This is happening in gedit, aptana and scribes.
0
votes
2answers
453 views

I can't get Scribes recognize my .html.erb files

That's it. Scribes just doesn't highlight or load templates for my Ruby on Rails templates. Any of you had better luck?
8
votes
4answers
5k views

How to I use Textmate color themes with vim?

I have a textmate color theme I really like this, But I am a hardcore vim user. Is there an easy (painless) way for me to use this color scheme with vim?
1
vote
1answer
702 views

Problem with making custom syntax highlighting in TextMate. Help!

I am trying to highlight a custom language in TextMate. However, the following definition does not highlight PHP insertions: { scopeName = 'source.serpent'; fileTypes = ( 'serpent' ); ...
2
votes
2answers
709 views

google chrome: any extensions for code syntax highlighting on some website?

any extensions for code syntax highlighting on some website?
1
vote
3answers
4k views

Syntax Highlighting in Terminal for Python?

Is there a way to turn on python syntax highlighting for Terminal.app on Mac OS X?
1
vote
8answers
258 views

Good text editor for OS X? [duplicate]

Possible Duplicates: Mac Text Editor (with function list) Text editor for Mac OS X I'm considering getting a Mac. I want to make sure I'll be able to get a good text editor for it. I'm ...
1
vote
1answer
2k views

How to make syntax highlighting for source code in Outlook 2007 email? [duplicate]

Possible Duplicates: Syntax highlighting in Microsoft Office Word How do I easily highlight the syntax of PHP code in Word? When I send email to someone with source snippet then how to ...
0
votes
1answer
1k views

Vim: Custom Folding function done, custom highlighting required

I have defined a function in vim to properly indent folds. Ie so they look like this: Unfolded this is text also text indented text indented text not indented text folded with default ...
12
votes
4answers
9k views

Vim highlighting for specific file types (where to put syntax files, vim events, line to put into vimrc)

I have defined a file time jak.vim to offer custom highlighting when I take notes, however it is being applied to some files that do not have the .jak extension. Specifically a file named ...
1
vote
3answers
998 views

Custom Vim Highlighting (only works with specific file types)

I have this in my vimrc: "on will override defaults set. Enable will allow you to set defaults." syntax enable ... "attempting to highlight specific keywords so it is easy to see in code." "see ...
9
votes
6answers
5k views

Custom vim highlighting

I am editing some xml right now and I have been leaving myself some comments of things to come back to. Like this <!-- Question: bla bla --> I am editing with vim right now and I would like ...
0
votes
2answers
605 views

bash html highlighting?

I work in bash/xterm a lot, and do a lot of filtering of HTML. What I was wondering is if there is a simple way to highlight html to stdout? Something like: $ cat file.html | [some html highlighting ...
1
vote
5answers
560 views

Text editor supporting custom syntax with *functions*? [closed]

Most text editors support custom syntax highlighting and, sometimes, simple autocompletion. But, that's not enough for me :) I'm looking for editor with autocompletion/tooltips for functions, similar ...
2
votes
4answers
2k views

Terminal emulator with custom color palette

I'm trying to get more colors in the terminal emulator. Mostly to get prettier syntax highlighting. I've googled quite extensively for a terminal emulator that supports 24bit colordepth and that ...
75
votes
12answers
24k views

How to syntax highlight via Less

is there a way to syntax highlight a file I see in Less? actually I'm using this command to open an xml file (and sometimes a series of them) less htmleditors/htmleditors_config.xml or less ...
9
votes
5answers
4k views

Color coded Windows 7 Preview Pane?

Customizing what files you can preview is cool, but is there a way to create a custom preview extension to add syntax highlighting? I have many .h, .c, .cpp, .cs and .java files on my windows machine ...
7
votes
2answers
853 views

Slowness in Vim's bracket-matching with the default PHP syntax

I am experiencing a noticeable slowness in Vim's bracket-matching and -highlighting feature. When the cursor is placed over a parenthesis or bracket, there is a delay of about 300ms on the console's ...
3
votes
1answer
12k views

Notepad++ custom syntax highlighting setting - where to look for it?

Could you tell me where Notepad++ stores custom syntax highlighting settings?
28
votes
3answers
38k views

Syntax highlighting in Microsoft Office Word [duplicate]

Possible Duplicate: How do I easily highlight the syntax of PHP code in Word? I need to paste some code (ANSI C) in Microsoft Office Word, and I need some form of syntax highlighting ...
2
votes
4answers
3k views

Print code with syntax highlighting on a Mac

What could I use to print javascript, php or css code in colour? I've tried the following: Textmate Dreamweaver CS3 Firefox viewsource extension saving webpage as a pdf All of these result in ...
3
votes
3answers
592 views

Browser which supports syntax highlighting

Does anybody know of some browser or browser addon which supports syntax highlighting when opening a web file like http://gears.googlecode.com/svn/trunk/gears/geolocation/wifi_data_provider_win32.cc ...
181
votes
2answers
64k views

Assigning custom extensions to a language's syntax highlighting in Notepad++

In the current version of Notepad++ opening .sql files results in Notepad applying SQL syntax highlighting to it. I'd like Notepad++ to do the same for other extensions as well, is there some setting ...
27
votes
7answers
16k views

How do I easily highlight the syntax of PHP code in Word?

How do I easily write and syntax-highlighted PHP code (or any others programming language) in a Word 2009 document?
0
votes
1answer
556 views

haml and sass syntax highlight in smultron

Is there a way I could get syntax highlight to work for haml and sass in Smultron? I know there's a bundle to do this in Textmate, but I would like to have it in Smultron.
18
votes
5answers
9k views

Is there any *good* HTML-mode for emacs?

I love emacs, and I want to do my web-programming work in it, but I can't find a way to get it to edit HTML properly. I mean it's seriously awful. It will do HTML fine, but not PHP, javascript, ...
0
votes
2answers
1k views

To have syntax highlighting for codes in LaTex

I would like to know how you can syntax highlighting in a LaTex document for codes. An example of such document is this guide about a Pyhton library and Page 9. Perhaps, the document is not built by ...