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
296 views

Creating Custom Code Syntax Highlighting Color Themes

I've come across a couple of websites that have been very helpful in allowing people to create custom color themes for their favorite IDE's. Visual Studio themes Eclipse themes Is there a similar ...
0
votes
1answer
229 views

TextMate indentation “navigation” as in Notepad++

I want to duplicate the function from Notepad++ where you can easily view your indentation in your code. I want the dotted border that is lined within the indent. Is there a plugin for this? Or ...
20
votes
2answers
6k views

Is there any way to get bash to have syntax highlighting like fish?

In the fish shell, the actual command line is syntax highlighted: Is there any way to get this same behavior in bash? There is something just like this but for zsh, not bash. Is it possible that ...
2
votes
1answer
3k views

How can I add HTML5 support to Vim without plugins?

I'm using OS X, but I don't think that matters. By default, both MacVim and [terminal] Vim handle auto-indentation of HTML 4.0 elements, but any HTML5 elements, such as <header> and ...
2
votes
1answer
436 views

emacs smart html syntax highlighting

Is there a syntax highlighting mode for xml/html which supports highilghting of markup associated with given (just like for parentheses)? For example if I select 'div' markup - this 'div' and ...
2
votes
2answers
4k views

How to change the default highlight color of a property in the Aptana-pydev?

The default text highlighting and default font colors that came with Aptana (Eclipse) seems to be a little wacky, anyone have any idea how to fix this? This example isn't the only place where stuff ...
1
vote
1answer
1k views

Vim on Solaris. Coloured syntax highlighting?

I spend a lot of my time in vim, usually on some sort of debian/ubuntu OS. I've recently started playing with a Solaris 11 Express server and wondered if it's possible to enable coloured ...
2
votes
1answer
313 views

Which Mac/PC text editing programs have YAML syntax support?

I write/edit a lot of YAML syntax files, and syntax highlighting really helps determine where I have syntax errors in a YAML file. Recently I've added two contributors who are not too familiar with ...
5
votes
2answers
9k views

How do I create my custom “User-Defined” language in Notepad++?

In Notepad++ there is a menu option: Language->"User-Defined". How do I customize that? What are capabilities of such option? Can I highlight date/time? Can I highlight 21-29th symbols in the ...
1
vote
1answer
1k views

eclipse .conf files coloring syntax (highlighting)

I haven't found an easy way to add a simple syntax to Eclipse, regarding conf files. I took a look at xText, but seems really complex for something really simple. I basically want to color the lines ...
1
vote
1answer
994 views

How let Scite support a custom syntax highlight template?

I need to have a syntax highlighter for a language of mine. I really like Scite, so I was wondering how to support a custom syntax with it.
2
votes
1answer
4k views

How can highlight all the automatic-fields or only references in Microsoft Word 2010+?

Is there any way that I can highlight, to quickly check, all the internal references in a word document? The current version that I'm working with is Office 2010 on Windows or Office 2011 on a Mac ...
12
votes
3answers
6k views

Is there a way to have syntax highlighting or code blocks with Evernote?

How do you take notes on code snippets and or command line sequences in Evernote (Mac or PC)? Is there a way to have code blocks like the 'Code Sample' buttons here: example Any way to have colored ...
10
votes
3answers
5k views

Different language syntax highlighting within same file

I'm trying to get simple syntax highlighting working within a file. Here's the setup. I have an index.php file, which Notepad++ correctly highlights any PHP code between the <? and ?> tags. ...
0
votes
1answer
729 views

How do I get Dreamweaver to deploy syntax highlighting for full script CFC's?

Is there a way to get Dreamweaver CS4 to use syntax highlighting when writing full script CFCs? If the document type is .cfc and they syntax is fullscript, there is no syntax highlighting; the code ...
2
votes
1answer
350 views

What is Christmas Tree Mode in Emacs?

Reading python-mode mailing lists, I've seen something I haven't heard of in a posting: [...] I can't get all syntax highlighting to work, most particular variable highlighting. I have christmas ...
6
votes
2answers
977 views

Multiple foldmethods in vim

I use the folding option of vim quite a lot, and have usually set foldmethod to syntax. Recently I discovered that it is possible to add custom folds, such that I can put whole blocks in /*{{{*/ and ...
4
votes
2answers
6k views

LESS and CSS3 syntax highlighting

I found this post on SU, but it doesn't seem to address my needs exactly, so I'll ask a similar question. I normally use PSPad, and I'm also not too scared of Notepad++. They are both good editors, ...
3
votes
1answer
2k views

Vim syntax highlighting disappeared for text files (.txt)

My to-do list is a plain text .txt file that I load in Vim. In .txt files Vim has always coloured hash marks (#) and the text following them on the same line, which I use to mark out urgent to-do ...
2
votes
2answers
887 views

Enable syntax highlighting on msysgit's version of vim?

I was wondering if there was a way to enable syntax highlighting on msysgit's "built in" vim. I'm specifically trying to get ruby highlighting to work, but nothing I have tried has enabled it. I'm ...
20
votes
3answers
3k views

Convert HTML to image

Background Batch convert various syntax-highlighted source files (C, SQL, Java, PHP, batch, bash) into high-resolution images (600dpi), suitable for an eBook and printed book. Failed Solutions A ...
6
votes
1answer
2k views

How can I configure syntax highlighting for a custom language in vim?

We use our own little language for small tasks, but we do not have Vim highlighting support for it.
2
votes
1answer
577 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, ...
5
votes
3answers
1k 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? ...
7
votes
3answers
3k 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
386 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
819 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
451 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
689 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
692 views

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

any extensions for code syntax highlighting on some website?
1
vote
3answers
3k 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
256 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
988 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 ...
11
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
970 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
557 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
542 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 ...
59
votes
12answers
20k 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 ...
8
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
793 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?
27
votes
3answers
35k 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 ...