Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.37 KB

File metadata and controls

49 lines (35 loc) · 1.37 KB

PowerMill Macro Syntax Highlight for VSCode

Autodesk's CAM software "PowerMill" has a powerful macro language.

For detailed language specifications, please see Autodesk PowerMill Macro Programming Guide.

If you wish to develop with .NET, please use here. 'PowerShape and PowerMill API'

Installation

  • Install the 'PowerMillMacro-x.x.x.vsix' file into VSCode.

Features

  • syntaxes

    • Functions in Powermill 2020 'Parameter Reference'.
    • Language specification control statements.
  • snippets

    • function
    • if , if..else , if..elseif
    • switch
    • foreach
    • while
    • message info

Known Issues

  • The parameter at the time of function declaration does not syntax highlight correctly.

License

  • MIT

Acknowledgments

日本語環境で使用する

  • 日本語言語でマクロを作成する際、エンコード "Shift-JIS" にする必要があります。setting.jsonに以下を追記すると便利です。
    "files.associations": {
        "*.mac": "pmillmacro",
        "*.inc": "pmillmacro"
    },
    "[pmillmacro]": {
        "files.encoding": "shiftjis"
    }