• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. Cadence Skill Syntax Highlighting in Notepad++

Stats

  • Replies 3
  • Subscribers 161
  • Views 20946
  • Members are here 0
More Content

Cadence Skill Syntax Highlighting in Notepad++

vramanax
vramanax over 8 years ago

I spent many hours trying to get back my original coding environment, then i realized I want to save everyone some serious headache 

Long Story short

If you need syntax highlighting and use the function list option in Notepad++ Do the following

Install the latest build of notepad++

FunctionList.xml - place it on  %APPDATA%\AppData\Roaming\Notepad++\ - used for the functionlist window on notepad++

userDefineLang.xml - Place it on  %APPDATA%\AppData\Roaming\Notepad++\ - used to highlight the syntax

skill.api - Place it on %APPDATA%\AppData\Roaming\Notepad++\plugins\APIs\ - used for auto complete

myDark.xml place it on  %APPDATA%\AppData\Roaming\Notepad++\themes\ - mine you can use it to tune it to your taste

Notepad++.zip

Another recommendation is install and use Subversion/Tortoise SVN and commit as often as you can 

Have Fun

Regards

Venkata

  • Sign in to reply
  • Cancel
  • Bijanbina
    Bijanbina over 6 years ago

    Thanks, Very promising. BTW in newer version you need to check force background in Settings > Style Configurator

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Ejlersen
    Ejlersen over 6 years ago in reply to Bijanbina

    Hi

    There's a guide for this on Cadence Online Support with a setup xml included.

    https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1O0V000006AhKSUA0&pageName=ArticleContent

    Best regards

    Ole

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • singletree
    singletree over 4 years ago

    Other Options :Updated on 17-Dec-2020

    I started using Microsoft Visual Studio Code and it has been amazing in many levels.

    If you are serious developer then you would appreciate the built-in GIT support and the powerful interface similar to Sublime Text and Atom.

    Here are the highlights of my setup and the extension settings

    1. Every time I save a file the active file is copied to another directory on the local network location. (I do that to stage it)

    I use the extension Run on Save 0.2.0 and edit the user settings.json to modify your own location

    //start    
    "emeraldwalk.runonsave": {
            "commands": [
                {
                    "match": ".il$",
                    "cmd": "copy ${file} \"C:/yourdirctory/Development\""
                },
                {
                    "match": ".il$",
                    "cmd": "echo %time%"
                },
            ],

           },

    //end

    2. Use the Skill Syntax extension by Herbert Agosto v0.1.1 and you can update the settings in c:/users/username/.vscode/extensions/herbertagosto.skill-0.1.1 to customize to your needs

    3. use Bracket Select v2.0.2  extension select within braces

    4. Bracket Jumper 1.1.8 and Bracket Pair Colorizer is also useful

    5. This is the coolest CodeMap 1.16.0

    This one lists all the functions and partially will produce the outline of the code 

    I use the following settings in the user settings.json you can play around to match your requirement 

    //start

    "codemap.il": [
            {
                "pattern": "(?=if\\().[^)]+.?",
                "clear": "",
                "prefix": "",
                "icon": "level3"
            },
    // you can add the similar rules for all the loop functions, don't go overboard
            {
                "pattern": "(?<=procedure\\( ).[^)]+.?|(?<=procedure ).[^)]+.?",
                "clear": "",
                "prefix": "",
                "icon": "class"
            },
            {
                "pattern": "(?=defun).[^)]+.",
                "clear": "",
                "prefix": "",
                "icon": "function"
            },
            {
                "pattern": "(?<=defvar).[^)]+",
                "clear": "",
                "prefix": "var: ",
                "icon": "property"
            }
        ],

    //end

    6. I use GitLens to quickly see the history of my edits

    7. Use Atom One Dark Theme

    Have fun

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information