The syntax-highlighting tag has no wiki summary.
0
votes
1answer
8 views
Where can I find geany's default global configuration files?
I was trying to install the Vibrant Ink Geany theme, and ended up with it not working. As far as I understand, the filetype defintions weren't working or something. Screenshot.
I messed around with a ...
1
vote
1answer
19 views
Gedit gktsourceview3.0 rules - multiple optional suffixes
I'm trying to write a syntax highlighter rule for arm assembly to use in gedit. In arm, every command has some optional suffixes which make it execute conditionally. So obviously I want the command ...
0
votes
0answers
27 views
change styling in org-mode code block HTML export?
When I export an org-mode file to HTML, my code blocks don't have curly quotes and don't convert --- to —.
I know this is by design but I want to change it.
I have (setq ...
2
votes
1answer
369 views
How can I copy text with syntax-highlighting from Notepad++? [duplicate]
I have an XML snippet in Notepad++ that I would like to share with a co-worker via email. In Notepad++ the syntax highlighting nicely shows off the elements and attributes. Here is a sample picture:
...
2
votes
2answers
101 views
Is it possible to import VIM syntax highlight into Notepad++?
VIM's got a syntax highlight file I would like to have in Notepad++.
But VIM uses ".vim" files for syntax highlight definitions, while Notepad++ uses XML.
At the "Import" button, you can only specify ...
1
vote
1answer
72 views
How can I force dreamweaver to show CSS syntax highlighting for a PHP file?
this is my first ever question here.
Basically I have a dynamic CSS file, meaning the PHP changes the colours of borders and stuff depending on the preferences saved in database. My problem is not ...
0
votes
2answers
47 views
Export File Syntax Highlighting to HTML Using Vim
I wrote a vim syntax highlighting file for a custom file type that I am working and I want to be able to show off my syntax highlighting painlessly by converting my view of the page into an HTML ...
0
votes
2answers
158 views
Editor of txt files for Windows with syntax highlight and foldable/collapsible sections for Markdown [closed]
I asked the same for Notepad++, but in fact I don't mind changing of software.
I am interested in managing txt files that contain Markdown. I would like to find an editor of txt files for Windows ...
3
votes
0answers
329 views
Foldable/collapsable notepad++ markdown syntax
I am using Notepad++ for writing texts using Markdown syntax.
I know there exists at least one Notepad++ style file to hightlight Markdows texts (see MultiMarkdown in Notepad ++ and ...
0
votes
0answers
84 views
how to make '' AND “” syntax highlight strings for python in notepad++?
Currently I have only "doubleQuotes" highlighted but the 'single ones' stay normal.
Can someone confirm? Or have a solution how to fix that?
In the stylers.xml there is WordsStyle named STRING which ...
0
votes
1answer
57 views
vim mail mode with markdown syntax
I've recently switched to Mutt, and am using vim as my main editor, which is working quite well. My only minor annoyance is that I would like to, in addition to the various highlights and such done my ...
-1
votes
1answer
77 views
How do I enable some type of c++ syntax highlighting for pico in terminal? [duplicate]
I use my MacBook for my CS class, using terminal. I usually connect to a Linux server via ssh. The servers are super laggy at times so I've decided to just work on projects on my local machine and ...
0
votes
1answer
66 views
not found in 'runtimepath': “ftdetect/*.vim”
I tried uninstalling pathogen but now am getting no filetype detection. With this issue I get no filetype detection and thus no syntax support. Starting vim via vim -V1 I get the following message:
...
3
votes
1answer
53 views
How to set syntax highlighting by default when I open *.tt file in Vim?
I use Vim for edit files. When I open file with .tt extension I have to use command set filetype=html in order to set syntax highlighting on for this file. How can I use this command by default ...
6
votes
1answer
118 views
How to have VIM show unclosed parenthesis?
Is there a way that I can change my .vimrc file so that unclosed parenthesis/brackets/braces are highlighted?
For instance the following would highlight the parenthesis after the word main:
public ...
0
votes
0answers
38 views
Syntax coloring in Powershell Console?
Is it somehow possible to highlight console output in Window's Powershell console?
E.g. by teaching powershell about Java syntax?
Or telling it to highlight lines, which do match a particular regex?
...
0
votes
1answer
80 views
vim syntax highlighting: remove the long underline
I am using syntax highlighting scripts found from here. I am using java.vim, javacc.vim, html.vim and c.vim. But I am getting a long line under some keywords like this --
Moreover, those syntax ...
0
votes
1answer
256 views
Syntax Color Highlighting for Bash in Mac Terminal
I am programming some bash scripts in Terminal with VIM, on OSX 10.8, but there is no syntax-highlighting for bash. How can I enable it?
1
vote
2answers
388 views
Syntax Highlight and Autocomplete in Geany for GTK+ (C)
I have just started GTK+ coding in C.
I was curious whether i can get syntax highlight and auto-completion working for my GTK code...
because as a beginner it would be helpful.
I was completely ...
1
vote
0answers
88 views
Convert vim syntax highlighting for use with gedit
Is there an easy way to convert vim syntax highlighting definitions for use with GtkSourceView/gedit?
0
votes
2answers
89 views
How to change the colour of the WildMenu background?
I want to change the colour of the WildMenu background but I don't know which highlight group I need to specify.
WildMenu is the highlighted state of whichever item you have selected, not the ...
2
votes
2answers
178 views
Getting the matlab r2009b multiline comment syntax highlighting in Notepad++
I have Notepad++ version 6.1.8
How can I configure it to highlight the matlab multiline comment %{ ... %} as a comment block?
2
votes
1answer
66 views
Highlighting subroutines in Notepad++
I would like to highlight the contents of IF statements in a slightly different colour from the background, so that I can see them more easily.
Is it possible in Notepad++?
it would be amazing to ...
0
votes
1answer
78 views
VIM does not detect syntax of .ssh/config
vi ~/.ssh/config
:set syn?
>syntax=conf
When I do:
set syn=sshconfig
Then the syntax highlighting is as it should be.
Why isn't the filetype automatically identified? And how can it be ...
1
vote
1answer
935 views
Syntax highlighting for .tpl file in Aptana Studio 3
I am trying to edit a smarty php template file in Aptana studio 3, and unfortunately it is very very plain, black text on a white background.
I would like to activate syntax highlighting for .tpl ...
3
votes
1answer
62 views
Highlight/mark/indicate certain lines in LaTeX in Emacs
I use Emacs to edit LaTeX source. I preface notes which I have made with % as required, so that they are considered as comments. These lines appear in Emacs in a different face.
However, when working ...
1
vote
2answers
127 views
Is there some way Linux editors can tell the programming language without the file extension?
I am editing some scripts on Linux without the languages file extensions, and it seems that the editors, namely vi, nano and gedit are not applying syntax highlighting because the filenames don't use ...
1
vote
0answers
167 views
Nested/multiple brace-matching in Notepad++
In Notepad++, is it possible to force all (or at least the 3 or 4 deepest) pairs of braces/brackets/parens/etc. that enclose the cursor to become highlighted? Preferably in different colors for each ...
3
votes
3answers
2k views
How do I make vim automatically apply c++ syntax highlight on Arduino files (.ino/.pde)?
How do I make vim automatically apply c++ syntax highlight on Arduino files (.ino/.pde)?
Or how does vim syntax highlight know what is a c++ file? And how can I tell him that files that is called ...
3
votes
2answers
180 views
How to print code from GitHub.com with its syntax-highlighting?
How can one print just the syntax highlighted source code from a GitHub source code page (e.g.)? I've tried it with a few browsers (Safari, Firefox, both running on OS X) but I have not succeeded in ...
0
votes
1answer
106 views
Match (highlight) invalid Hungarian notation variables syntax
We follow our own defined coding standard (Hungarian notation) as per our checklist, using Notepad++:
Check that all variables are valid according to Hungarian notation identifier naming convention, ...
2
votes
4answers
217 views
Syntax highlighting in vi
I use vi in Linux to edit e.g. JSP files.
The code is not syntax highlighted. I think this should be possible to enable, but I haven't found out how. Is this possible to do in vi?
update1:
# vi ...
4
votes
1answer
2k views
How to get syntax highlighting working in TextMate 2
I just cloned TextMate 2 from GitHub. Followed the instructions in the readme file and everything went smooth with the installation. However, there is no syntax highlighting.
No problem – just need ...
0
votes
2answers
96 views
How do I get syntax elements to be automatically inserted on the next line in vim?
In vim, many syntax elements automatically get inserted on the next line when I start a newline. For example, if I am inside a vim file editing a comment in insert mode, when I go to the next line, I ...
1
vote
1answer
68 views
underline word in vim without changing its color
I'd like use underlined text for some syntactic groups in vim. A simple example would the Search group:
:highlight Search guibg=black guifg=yellow gui=underline
However, when I do that, all search ...
0
votes
0answers
106 views
Getting Notepad++ to highlight Ruby constants
I want to get Notepad++ to highlight Ruby constants (variables starting with a capital letter). I've looked in stylers.xml and lang.xml but can't find it anywhere.
Is there a place I can define a ...
1
vote
0answers
369 views
Get sublime text 2 (sublimecodeintel) to parse mason
So Sublime Text 2 seems to getting a lot of love lately. I am using the Sublime Code intel plugin, for auto completion. The problem is, it does not recognize .mi files as MASON files. I looked into ...
1
vote
1answer
128 views
SQL syntax highlighting and code completion in Eclipse PDT
Is there a way of enabling highlighting (and/or code completion for SQL) for SQL syntax in PHP strings variable while developing some PHP works related to SQL using Eclipse PDT?
8
votes
1answer
627 views
Is it possible Notepad++ to change the theme based on current filetype
For example, if I open a text file, notepad++ would open it in 'default' theme. But if I open a php file for instance, it would open it in 'custom_theme1'. I know notepad++ is highly extensible, so I ...
0
votes
0answers
57 views
Change the color for a keyword in Vim for ALL filetypes
I'm using &showbreak=repeat(' ', 5) to add indentation to wordwrapped lines. What I WANT to do is add a bright red >>>> instead.
How would I change all >>>> occurrences ...
3
votes
1answer
116 views
Getting rid of random syntax highlighting
I'm having a problem with Eclipse. It randomly highlights code in grey, usually as I type something. It doesn't always appear when I type, and goes away at random times too. It's really annoying. I ...
0
votes
1answer
868 views
How to completely disable syntax higlighting in Notepad++
I'm unable to completely disable syntax highlighting for Java source code files in Notepad++.
I've commented out the Java sections in langs.model.xml and stylers.model.xml (even tried deleting those ...
1
vote
1answer
96 views
How to highlight the searched item in Far manager?
Whenever I search an item(F7; Shift+F7) in a file via far manager editor(F4), I have trouble finding my cursor under the found item. It takes time to find it in the lines of code.
How can I highlight ...
3
votes
1answer
387 views
Sass and Haml syntax highlighting in Geany (Ubuntu)
I'm using Sass (not SCSS) and Haml, and I'd like them to be syntax highlighted in Geany rather than appear as plain text. Is there a way to enable or install this functionality?
0
votes
1answer
118 views
VIM: Highlight += with a background
I have been coding in PHP lately, which is weakly typed so integers are added with += but strings are concatenated with .=. That means that I wind up using += where I shouldn't and PHP actually then ...
19
votes
1answer
6k views
How do I get Notepad++ to associate a file type with a language?
I have associated .wxs files with Notepad++. So far so good. However, it doesn't remember that it should use XML syntax highlighting. How do I associate a file-type with a Language?
0
votes
1answer
744 views
No syntax highlighting in GVIM on Windows with _vimrc
My GVIM 7.3.46 install on Windows XP Professional SP3 32bit does not perform syntax highlighting if there exists a _vimrc file, at least not PHP and C. Even explicitly mentioning set syntax=php I get ...
0
votes
1answer
335 views
How to set PHP syntax highlighting in GVIM on Windows?
My GVIM 7.3.46 install on Windows XP Professional SP3 32bit does not seem to have PHP syntax highlighting. I have added this file to C:\Documents and Settings\myUsername\vimfiles\syntax and set this ...
2
votes
1answer
272 views
Vim: How to change the current item highlight color when substituting
I have changed my Vim colours so when I do a /search, every match is highlighted in bright yellow. This makes matches much easier to see.
However, when I perform a substitution with the confirm flag ...
1
vote
1answer
276 views
Enabling syntax highlighting for LESS in Programmer's Notepad?
When I don't feel like firing up the Visual Studio behemoth, or when I don't have it installed, I always turn to Programmer's Notepad. It's an amazingly light and fast little text editor, with the ...