syntax-highlighting

Visual Studio 2008 Syntax Coloring Problem

In a VB.NET Web Site, the User Types syntax coloring doesn't work. What are potential causes of this? Note: C# works as expected. Update: It seems to not understand the difference between a "User Type" and an "Identifier." ...

Vim Configure Line Number Coloring

I'm looking for a way to configure the color used for line numbering (as in: :set nu) in Vim. The default on most platforms seems to be yellow (which is also used for some highlighted tokens). I would like to color the line numbers a dim gray; somewhere in the vicinity of #555. I'm not picky though, any subdued color would be acceptab...

How to print out code?

What's the best way to print out code (e.g. for a code review)? Eclipse's print option only does portrait (afaict), wich is unreadable for longer lines of code. Opening and printing all files in an editor like gedit is a pain. Is there some batch code print program available? Or is there some magic command line chain that does it for m...

Anyone found a PowerShell Syntax highlighting or IntelliSense plugin for Visual Studio?

Has anyone found a plugin for Visual Studio to allow for PowerShell syntax highlighting or IntelliSense? If not, does anyone have any idea why not? I keep hoping someone else with copious free time would have tackled this by now. I have hope since other folks have managed to take the limited documentation and build custom IntelliSense p...

How To Format A Block of Code Within a Presentation?

I am preparing a presentation using Google Docs Presentation though I can also work on the presenation within Open Office that will include code snippets. Is there any easy way to perform basic syntax highlighting on the code snippets with either Google Docs or Open Office Presenter? Edit: Since I believe that I can find a way to embe...

paste on site, syntax highlighting.

I am getting a web host and i have projects with teammats. I thought it be a nice idea to have my own paste site that has no expiry date on paste (i know http://pastie.org/ exist) and other things. i wanted to know. Whats a simple highlight lib i can use on code? i would be only using C/C++. ...

How to import Eclipse syntax highlighting profile in Netbeans for Java projects?

Hello I have to use both IDEs and I would like to use the Eclipse style of syntax highlighting in Netbeans. Does any one know how to import it (or change any configuration file)? I've already set Netbeans to use the Eclipse key bindings. Is there any better way than manually changing the colors of every keyword for the Java editor? Th...

PHP function which does syntax color parsing for multiple languages?

I'm doing a PHP site which displays code examples in various languages (C#, PHP, Perl, Ruby, etc.). Are there any PHP functions which add syntax coloring for these and other languages? If not, I would at least like to find that one built-in PHP function which does syntax coloring for PHP code, can't find it anymore. Thanks. ...

VB.NET Syntax Highlighting in a Rich Text Box

I'm coding a simple code editor for a very simple scripting language we use at work. My syntax highlighting code works fine if I do it on the entire RichTextBox (rtbMain) but when I try to get it to work on just that line, so I can run the function with rtbMain changes, it gets weird. I can't seem to figure out why. Am I even going about...

C# Syntax Highlighter for Blogging on BlogSpot

I'm looking for a syntax highlighter cum code formatter for my blog on BlogSpot. I've tried several today, but the all want to include tags, or reference a stylesheet. I'm looking for one that is ideal for segments of code, and includes styling inline. Any suggestions? ...

Is it possible to make Eclipse ignore syntax checking/formatting for one specific file?

I'm using Eclipse as an IDE for Ruby/Rails development (using Aptana plugin). I have one very, very large file that encompasses an initial data load of several thousand rows of data. When this file is open, everything grinds to a halt (on both Windows and Linux), presumably because Eclipse is tied up trying to parse and format/syntax-che...

Is there anything that will do syntax highlighting that I can put into a word document?

I'm going to be including some code in a word document. Specifically some sql statements but this question applies to any sort of language. I'd like to make the code look a bit nicer and easier to read with some highlighting. Is there any tool that will do syntax highlighting on some code and allow me to copy the result into msword? Pre...

Eclipse colors

I'm using eclipse for a few months, I realy like gvim better but eclipse makes my life easier with pydev and phpeclipse. Everything is pretty nice, I have a black fluxbox and black GTK themes, I've changed the syntax colors for py and php and now everything is dark background, light foreground (including the eclipse menu/borders/etc), ve...

How to color highlight .htaccess files in Eclipse

I spend some time editing configurations in .htaccess files across several projects in Eclipse. How would I go about telling Eclipse to auto color this file in a similar fashion as shell scripts or HTML? ...

Syntax Highlighting library in ActionScript

I let user enter some code in my Flex3 (Flash 10) app and I want to do syntax highlighting. Is there any open-source library that would help me? I'll need a Lua syntax support, but I can add it myself if library has a resonable interface to do this. ...

Eclipse syntax highlighting preferences save and restore

I spend some time customizing the colors for syntax highlighting in Eclipse (Java, JSP, HTML, CSS, etc.) but whenever I try to export these settings via File|Export|General|Preferences and reimport them, the settings never completely get imported back. Some colors are restored and others are left unchanged, leaving me in an 'in between' ...

Free Syntax Highlighting editor control in JavaScript

I need to let user to edit some code in my web-app. I want to highlight the syntax as he types. Note: I need code to be highlighted on the fly, right inside editor control. I do not need offline source highlighters. Is there some free JavaScript-based code editor which does the job? I'll need to highlight Lua syntax, but I can add it ...

Changing font for member variables in Visual Studio

I don't think this is possible, but I'll ask anyway... Is there some way to set the color and font to be used for class member variables in the editor? I just returned to C++ and Visual Studio after being in the Java world for the past 4 years and I'm really missing Jetbrains' IDEA (a killer Java IDE). I've really gotten used to having ...

Which blog service has the best code syntax highlighting?

I'd like to start a 'cookbook' style blog where I post my coding solutions to common problems, mainly for my own use - what's the best blog service or engine to use in terms of posting code snippets (formatting, syntax highlighting etc)? If I have to write my own I will, but I'd rather just go with a pre-built solution if I can. ...

Recommendations for SQL Server 2005 IntelliSense tools/add-ins?

I am your average Visual Studio .NET developer who has become dependent on Intellisense and Pre-compile syntax checking. I am looking for similar Intellisense functionality for MSSQL Server 2005 and T-SQL I was wondering what editors or add-ins people have had success with and would be happy to recommend. What key features do you use r...