Questions about the feature of syntax-highlighting (where code structure is made visually prominent) in software such as text-editors and integrated development environments (ide).

learn more… | top users | synonyms

0
votes
2answers
22 views

Enable syntax coloring in Geany?

Online all the examples for Geany have syntax coloring, but I couldn't figure out how to enable this feature. I downloaded Geany, then created a new python file, but whenever as I type a keyword, ...
1
vote
1answer
23 views

gedit highlighting “ CISCO IOS” can't find one

daily i 'm using gedit in order to configure Cisco devices is there someone who created a cisco highlighting language ??? can't find one .... and it is a loooong way creating one from scratch....
0
votes
0answers
15 views

Switch syntax highlighting in a Gedit file

I have a mixed latex and lua syntax file with .tex extension that has a normal tex highlighting, ignoring the lua one. Is it possible to have both at once, or have a sort of switch in the document to ...
1
vote
0answers
19 views

Gedit PHP syntax highlighting

Does anyone know how to fix this issue? I have PHP inline to HTML. There's an opening quotation and the inline PHP also has a quote, but Gedit thinks it's the closing quote for the HTML. Add this to ...
1
vote
0answers
59 views

How do I get terminator to use syntax highlighting?

When sifting through large amounts of input and output in my terminal emulator (terminator in this case) it would come in handy if I had some syntax highlighting available to make things more ...
0
votes
1answer
34 views

How to make geany or vi understand Maxima (or any other less known) syntax

I tend to program a lot in a symbolic language called Maxima, but I haven't found any editor that highlights its syntax. Is there I way I can make vi or geany (or whatever) understand this syntax and ...
4
votes
2answers
329 views

Creating Highlighted PDF from JSON

I have a JSON file and would like to create a pdf containing the pretty printed and syntax highlighted version of that JSON file. Is there any way to do that in Ubuntu?
0
votes
2answers
30 views

No Syntax Highlighting in Ubuntu SDK

I just installed Ubuntu SDK. But files open without syntax highlighting in general. Is there something missing? I use the common Text Editor. Do I need to install a further package that makes the ...
2
votes
1answer
91 views

Vi syntax highlighting for words followed by a parenthesis

I want to change the color of a keyword that is followed by a left parenthesis in a .R file. For instance, when I type length(), I want the word length to be highlighted (and not the parentheses), ...
0
votes
0answers
92 views

Gedit crashes due to highlight mode

I recently started to have a problem with gedit in Ubuntu. If I try to open a file where the metadata selects a highlight mode, it crashes. I can open files in plain text, but if I try to select a ...
1
vote
1answer
433 views

Change color scheme in Kate

I'm looking to change the color scheme in Kate to something else (e.g Solarized, Zenburn, etc). I tried the instructions found in Using “Oblivion” color scheme from Gedit in Kate, but nothing changed ...
3
votes
1answer
639 views

Create a custom syntax highlight in gedit

Following my question from long ago, I am still trying to tweak my fortune handling capabilities. The display in terminal is awesome, just one thing remains - syntax highlighting in Gedit as I add, ...
1
vote
1answer
177 views

Why does Vim highlight Javadoc comments like this?

I am using vim to edit Java code. I added a Javadoc header above the class definition, but the syntax highlighting is very strange: read the Javadoc comment above Why is the first sentence ...
0
votes
1answer
236 views

Is there a way to get Smarty syntax highlight in gedit?

I'm using smarty to develop a website and I need syntax highlighting. Currently gedit only highlights the html. Since my tpl files contains only html and smarty template functions. I've Google'd for ...
1
vote
2answers
2k views

How to set nano default syntax highlighting for files with no extension?

I'm trying to set a 'default' syntax highlighting scheme for nano when I'm editing files with no extension such as /etc/nginx/sites-available/default or /etc/ssh/sshd_config but I can't seem to make ...
2
votes
2answers
578 views

How to use pygmentize automatically with less [duplicate]

I found pygmentize thanks to this answer, but it would be great if it could be used to highlight text with less or maybe replace the command. Is there a way to do that? Thanks in advance.
5
votes
1answer
1k views

How to change the default highlighting of gedit for a specific extension

Everytime I open a .m file, gedit associates Octave highlighting to it. I would like to change the default behavior to Matlab. How can I, in general, change the default highlighting that gedit gives ...
0
votes
1answer
105 views

my mini project [closed]

I am doing my mini project in Ubuntu. Its actually a text editor like Gedit. I am done with basic elements like cut copy paste delete and save..can I get the source code for bookmarking and syntax ...
1
vote
1answer
174 views

How to highlight Non-consecutive text in Gedit?

Is there any short-cut/keyboard command to highlight, i.e., select, non-consecutive text in gedit? For instance, say I want to highlight the words there and text in the previous sentence at the same ...
3
votes
1answer
546 views

How to get QML syntax highlighting in gedit?

QML files opened with gedit don't have syntax highlighting. Is there a package providing a gtksourceview lang.spec file for QML? If not, has anyone written a lang.spec than can be installed locally?
3
votes
1answer
3k views

How to add a new language definition for syntax highlighting in Gedit?

I've attempted to create a new .lang file for getting Gedit to recognize the Julia programming language. I have read the tutorial, the reference document and the wiki page Gedit/NewLanguage, and I ...
2
votes
2answers
147 views

Is there a graphical pager with syntax highlighting?

Is there a graphical application in the repositories which has keyboard controls like the command-line application "less" and also has syntax highlighting? I would like it to have arrow keys that ...
2
votes
2answers
698 views

VIM does not detect syntax of .ssh/config

On a plain Ubuntu installation (12.04 in my case) when I have no ~/.vimrc VIM does not detect syntax of .ssh/config. Syntax highlighting works, but it does not set the correct filetype. vi ...
66
votes
7answers
71k views

How do I enable syntax highlighting in nano?

Can nano do syntax highlighting like gedit and vim? How can I enable it? I need at least bash and python syntax highlights.
7
votes
2answers
9k views

How do I add a syntax highlighter format to Gedit?

How can I add in the regular expressions for an additional syntax language?
16
votes
3answers
7k views

Can I set a default syntax highlighting in Gedit?

Until you save a document in gedit, syntax highlighting is turned off. There are obviously good reasons for this -- people might get confused if certain words were randomly showing up in different ...
2
votes
1answer
681 views

Is there syntax highlighting for psql?

Is there some setting or package that I could use to give syntax highlighting to psql (the PostgreSQL shell)?
1
vote
0answers
878 views

Gedit thinks everything is an Apache config file [closed]

When I open a text file that does not have the .txt extension, Gedit sets the syntax highlighting to Apache Conf every single time. This only started happening after my upgrade to 11.04. Is there a ...
0
votes
2answers
2k views

How to enable the Code/Syntax highlighting for groovy in VI?

i was using Fedora for about six months. Recently I have been changed to Ubuntu. And here in Ubuntu, there is no Code/Synatax for groovy in VI editor,which was actually there in Fedora VI. How to ...
0
votes
1answer
641 views

Snippet code manager like Snippets? [duplicate]

Possible Duplicate: Code snippet manager for Ubuntu? I'm looking some snippets code manager on Ubuntu like Snippets (for the MAC) with syntax highlighting (html, css, php). Thanks for ...
2
votes
2answers
2k views

Nano syntax highlighting for C# and/or ASP.Net

Has anyone got (or can point in the direction of) a nanorc file that contains syntax highlighting for C# and/or ASP.Net?