[Plugin Request] Syntax highlighter

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
interDist
Junior Member
Junior Member
Posts: 36
Joined: 2003-11-15, 15:02 UTC
Contact:

[Plugin Request] Syntax highlighter

Post by *interDist »

Since I'm a developer, I'm missing such functionality for a very long time: to be able to highlight source files in the Lister. Most if not all of the modern editors have the ability to do this, even if they are not explicitely destined to work with source files. But I do not want to start an editor (which is usually a complex enviroment, much more then the Lister) each time I would like to simply glance at a file.

The plugin would maintain a library of text files in certain format defining comment styles, variables, reserved words etc, and the color for each of them. Upon viewing a file with known extension (C, CPP, PHP, ASP, JS, ASM, HTM(L), XML and so on) the plugin would apply a set of rules and simply color the text according to the settings in the library.
I think the way Winsyntax does it is very simple yet powerfull (the KISS principle :D ) and could be cloned for such plugin.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6507
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

There are many plugins available doing that.
Look at the pages of Max Wish and use SynUS for example.

http://clubtotal.free.fr/modules.php?name=Downloads&d_op=viewdownload&cid=18
User avatar
henrich.fukna
Junior Member
Junior Member
Posts: 60
Joined: 2003-03-07, 10:18 UTC
Location: Bratislava, Slovakia

Post by *henrich.fukna »

2interDist
  • HPQ_ED plugin
    SynUs
    SynUs plus
    Syntax Colorizer
User avatar
interDist
Junior Member
Junior Member
Posts: 36
Joined: 2003-11-15, 15:02 UTC
Contact:

Post by *interDist »

Thanks for the information!

I have tried SynUs (v1.6). Wow!!! That is a damn piece of a plugin :D I wasn't expecting so much functionality. A laudable work, thumbs up to Serge.

Unfortunately, I was yet to find an easy/locatable way to add new file types. Maybe in the inner confuiguration somewhere?
User avatar
interDist
Junior Member
Junior Member
Posts: 36
Joined: 2003-11-15, 15:02 UTC
Contact:

Post by *interDist »

(edited... has to check more often on TCmd's plugins page :? )
Last edited by interDist on 2003-11-28, 14:19 UTC, edited 1 time in total.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2interDist

http://www.wincmd.com/plugins.htm#lister

This is the playce where all offical lister plugins are listed. SynUs is listed here too.
Post Reply