Questions tagged [source-highlighting]

10 questions
9
votes
2 answers

How to make PhpStorm automatically highlight selection

I cannot find a way to make PhpStorm highlight the appearances of a selected word/string in a file automatically at the time of the selection. Example - say I have this code (the logic doesn't matter): $app = new App(); //this is an app var of type…
pazof
  • 896
  • 1
  • 10
  • 23
5
votes
4 answers

jQuery plugin to highlight source code

Are there any jQuery plugins to highlight the source code shown in an HTML page? If there are more than one, which one is better to adopt?
kiamlaluno
  • 24,790
  • 16
  • 70
  • 85
4
votes
1 answer

colour scheme for gnu source-highlight with a dark background

I'm using gnu source-highlight mostly with less (so it's using ANSII terminal codes to make colours). However, with a dark background colour, the highlighted parts are dim and hard to read. Is there an easy way to tell source-highlight to use a…
drevicko
  • 12,832
  • 12
  • 63
  • 87
3
votes
1 answer

Is there a standard way to colorize the output of boost::test

I am working on a set of C++ unit tests in boost::test. After working with the Google test framework, I really appreciate the ability to quickly visually parse colorized output in order to tighten the development cycle. Currently, I'm considering…
Andrew Prock
  • 6,273
  • 5
  • 36
  • 58
1
vote
2 answers

Is there a way to highlight code in NetBeans manually?

When I am figuring out someone's code in NetBeans, it occurred to me I could use a feature to mark code as 'understood', or 'suspicious', etc. while going through it. Is there any way to manually highlight or format code in NetBeans, the way it is…
Ognjen
  • 2,290
  • 2
  • 26
  • 46
1
vote
2 answers

Source code highlight only NSLog lines

Is there a way to assign a color to NSLog statements so that it is easier to find them in the file. Not in the console, the file. Here's a screenshot to clarify what I'm asking
1
vote
1 answer

Add a new language to source-highlight

I created a new language file and added it to source-highlight's language directory (/usr/local/cellar/source-highlight/3.1.7/share/source-highlight), but when I run $ source-highlight --lang-list, it isn't listed. What do I need to do to register…
craig
  • 23,835
  • 20
  • 98
  • 183
1
vote
1 answer

Why ld can't find lboost_regex?

I'm trying to compile GNU Source highlight in my home directory. I configured with a prefix and --with-boost=/path/to/boost/root/dir/ and no errors were reported. But when I try to build I got the following error: $ make ... # lots of…
RSFalcon7
  • 1,981
  • 3
  • 31
  • 52
0
votes
1 answer

Visual Studio - Background Highlighting

In notepad++ there is a function to highlight specific parts of code with a background-color. This is very usefull when the code grows up. Is there anything equal for Visual Studio (using the community-version here). Here's the function of…
C4d
  • 2,824
  • 3
  • 26
  • 44
0
votes
2 answers

Module to highlight the source code shown in a node

What are the possible module candidates for highlighting the source code shown in a node? Is there any module that does the task using Javascript?
kiamlaluno
  • 24,790
  • 16
  • 70
  • 85