/pspad-customization

Customization files (syntax, colors, third party scripts) for PsPad

Primary LanguageJavaScriptMIT LicenseMIT

pspad-customization

Customization files (syntax, colors, third party scripts) for PsPad

Supported versions

  • 4.6.2 (32bit)
  • 5.0 (32bit)

Package contents

The pspad-customization project contains several items, using various licenses:

Color schemes

  • adjusted_darkness
    • A dark theme. Initially started from the "Oceandepths" theme, this grew to look quite different in the end.
    • Author: Augustin Preda.
    • MIT license.

Syntax highlighters

  • wccoa
    • previously used as PVSS syntax highlighter
    • is used for syntax highlighting for SIMATIC WinCC OA script files.
      • (note: you can find out more about WinCC OA here)
    • Author: Augustin Preda.
    • MIT license.
  • wccoa_cfg
    • previously used as PVSS INI syntax highlighter
    • is used for syntax highlighting for SIMATIC WinCC OA configuration files.
    • Author: Augustin Preda.
    • MIT license.

Templates (for new files)

  • wccoa
    • Author: Augustin Preda.
    • MIT license.
  • wccoa_cfg
    • Author: Augustin Preda.
    • MIT license.

Styler

Scripts

General configuration files

These files are added mostly due to me being lazy. I want to use these files right out of the box for a new PsPad installation and have it configured just the way I like it.

  • shortcut key definition file (KeyMap.ini)
  • overall ini file (PSPad.ini)

Installation

Take the contents of this archive and overwrite the contents of the PsPad installation directory. You may skip the general configuration files.

Scripts recompilation

For scripts, you may need to recompile them after you enter PsPad:

  • [Scripts] --> [Recompile scripts]

Important!

⚠️ If there is no [Scripts] menu in PsPad, you need to go to : [Settings] --> [System integration] --> enable [Integrated scripting support (WSH)]

Activating the wccoa syntax and color scheme

Launch PsPad and go to [Settings] --> [Highlighter Settings...] Highlighter settings

Select one of the available Syntax slots (marked in bold writing). From the Specification tab, select the desired entry in "User Highlighters" (E.g. "wccoa").

Highlighter wccoa specification

You can also customize the color, by using the Colors tab. Highlighter wccoa color

Usage

Run AStyle reformatter in PsPad: [CTRL] + [ALT] + [G]