• 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 Scripting - Skill
  3. Syntax highlighting for SKILL in 'VS Code'

Stats

  • Replies 17
  • Subscribers 22
  • Views 11934
  • Members are here 0
More Content

Syntax highlighting for SKILL in 'VS Code'

JuanCR
JuanCR over 1 year ago

Did you know you can set up your VS Code to highlight Syntax from SKILL?

Syntax highlighting, snippets, hover tips, and declaration search are some of the features that can be added to text editors to enhance the coding environment. These features do not change the behavior of the code but make it easier to code and debug issues.

The following image shows a snippet of code with and without highlighting. Microsoft Visual Studio Code, also known as VS Code, is one of the popular text editors. You can do SKILL programming in VS Code due to the third-party extensions. This article talks about how to use SKILL extensions in VS Code.

About Microsoft Visual Studio Code, VS Code

VS Code is a free, lightweight, and open source text editor developed by Microsoft for Windows, Max, and Linux. It should not be confused with Visual Studio by Microsoft, though they share some similarities like the name and logo. Visual Studio code feature-rich, straightforward user experience and powerful extensibility has made it top choice for code editors in recent years ahead of Nodepad++ and VIM. See more details about VS Code at https://code.visualstudio.com/.

VS Code allows third parties to develop extensions for many programming language to common file extensions like CSV, passing by markup languages, GUI styling and much more.

Extensions in VS Code

VS Code extensions lets you add languages, debuggers, and tools to different languages to support your development workflow. The extension may provide highlights, snippets, autocomplete with structure templates, code outline, declaration search, and highlighting of errors for example when a variable is not declared. The following image shows autocomplete with a structure template for the 'if' construct in Allegro SKILL. 

How to install Allegro SKILL extension in VS Code 

Allegro SKILL extension is available in VS Code Extension Marketplace. You need to search it and install it for VS Code as follows:

You can browse and install extensions from within VS Code. Bring up the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of VS Code or using the View > Extensions command (Ctrl+Shift+X).

This will show you a list of the most popular VS Code extensions on VS Code Marketplace.

Search by typing SKILL.

Choose Skill 0.1.1, Syntax highlighting for Cadence Skill.

Click on Install.

You can now open an Allegro SKILL file (.il) in VS Code.

  • Cancel
  • Sign in to reply
Parents
  • Gelzone
    Gelzone 2 months ago

    It shows "Skill must provide a name." error message after I open my .il file.
    Does anyone face this error?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • JuanCR
    JuanCR 2 months ago in reply to Gelzone

    Hi Gelzone . You're saying you followed the steps in the post and got that error? Can you share a screenshot of where this error appears?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Gelzone
    Gelzone 2 months ago in reply to JuanCR

    JuanCR 

    I use the latest version of this SKILL plugin and it shows this in the first line.
    But the feature for highlighting and code-completion are workable.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Hoangkhoipcb
    Hoangkhoipcb 2 months ago in reply to JuanCR

    Hi JuanCR



    I'm also experiencing this problem. VS Code version of 1.113.0

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • JuanCR
    JuanCR 2 months ago in reply to Hoangkhoipcb

    That's strange ... I'm on VS Code version 1.113.0 and the "Syntax highlighting for Cadence SKILL" version 0.10.0

    I don't see this issue. Does it appear when you hover over any function? 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • JuanCR
    JuanCR 2 months ago in reply to Hoangkhoipcb

    That's strange ... I'm on VS Code version 1.113.0 and the "Syntax highlighting for Cadence SKILL" version 0.10.0

    I don't see this issue. Does it appear when you hover over any function? 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • Hoangkhoipcb
    Hoangkhoipcb 2 months ago in reply to JuanCR

    Hi JuanCR

    This warning disappeared after I added the name and description to the .il file

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • JuanCR
    JuanCR 2 months ago in reply to Hoangkhoipcb

    hmmm ... Are you sure you can run this file? Because it doesn't seem like this is the correct way of commenting in SKILL syntax

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Gelzone
    Gelzone 2 months ago in reply to JuanCR

    JuanCR 

    You're right.
    I guess the syntax for Cadence Skill and Agent Skills are mixed in this plugin...

    So the way adding name & description in the .il file just for ignoring the message error. If you need to run the code, the section needs to be removed or commented.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Hoangkhoipcb
    Hoangkhoipcb 2 months ago in reply to Gelzone

    Hi Gelzone


    I tried on this

    Rename the extension's language ID to something unique that won't conflict:

    "skillpp" (SKILL++)

    It works for me.


    I'm hoping Mr. Herbertagosto will look into this and release the newest version, 0.11.0


    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Hoangkhoipcb
    Hoangkhoipcb 2 months ago in reply to Gelzone

    Hi Gelzone,

    While waiting for Mr. Herbertagosto’s update, you can try CadenceSkill++, which I’ve been developing over the past few days. If it suits your needs, I’d really appreciate your feedback so I can continue improving it.

    You can install the extension from the VS Code Marketplace by searching for “CadenceSkill++”.

    • 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.

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

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