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
1answer
22 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 ...
0
votes
1answer
92 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
106 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.
0
votes
0answers
31 views

Code highlighting is not working properly in Eclipse

I have problems highlighting code in eclipse. It looks like this . Does anybody know how to fix it?
3
votes
1answer
299 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
47 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
97 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
221 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?
2
votes
1answer
1k 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 ...
1
vote
0answers
39 views

Mysql gives syntax error

When I try to access mysql I get this: $ sudo mysql -h localhost -u webmaster [sudo] password for webmaster: /usr/local/bin/mysql: 1: /usr/local/bin/mysql: Syntax error: "(" unexpected I used the ...
2
votes
2answers
104 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
408 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 ...
27
votes
4answers
25k 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.
6
votes
2answers
3k views

How do I add a syntax highlighter format to Gedit?

How can I add in the regular expressions for an additional syntax language?
11
votes
3answers
4k 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 ...
1
vote
1answer
445 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
738 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
1k 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
512 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 ...
1
vote
2answers
1k 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?