# vscode_pml **Repository Path**: smp_code/vscode_pml ## Basic Information - **Project Name**: vscode_pml - **Description**: vs code for pml - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-06-11 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # PML Extension for `Visual Studio Code` Link in marketplace: https://marketplace.visualstudio.com/items?itemName=angelincalu.pml ## Requirements > Visual studio Code with a version greater than `"^1.21.1"` ## Features It provides syntax highlight for `Programmable Macro Language`. > Supported File Types: `.pmlfrm`, `.pmlmac`, `.pmlfnc`, `.pmlobj`, `.pmldat`, `.pmlcmd` ## Snippets Enable the support for tab-completion in Visual Studio code by setting: > "editor.tabCompletion": "on". Then just type a snippet prefix, and press Tab to insert a snippet. Pressing tab again will move the cursor to different predefined areas. As of this release it has the following snippets defined: - **`pmlform`** : Creates the basic scaffolding for a new pml form. - **`pmlformg`**: Creates the basic scaffolding for a new pml form with a grid. This will also add the following methods out of the box, besides the constructor: - _`rightClickGrid`_ : Defines right click trigger functionality; - _`removeAll`_ : Removes all grid Contents; - _`removeSelected`_ : Removes Selected rows from Grid; - _`exportToExcel`_ : Exports grid contents to .xls file; - _`initializeEmptyGrid`_ : Initialize an empty grid & set up the columns; - _`appendToGrid(rows)`_ : Add an array of rows to the grid. - **`pmlfunc`** : Creates the basic scaffolding for a new pml function. - **`pmlmet`** : Creates the basic scaffolding for a new pml method. - **`pmlobj`** : Creates the basic scaffolding for a new pml object. Less significant snippets like: - **`pmlbut`** : Creates the basic code for adding a new button on a plm form. - **`using namespace`** : Suggests the most commonly used namespaces ## Commands - `PML Uglify` will encrypt the pml file using a trivial encryption (for testing purposes). **`Important Known issue:`** This "encryption" type does not support utf-8 files. If you use any non-ASCII characters in the script this will result in an error and/or will produce unwanted/unpredictable results! ## Code Completion - Basic code completion logic added ## Release Notes For a full list of changes please check `CHANGELOG.md` ### 0.1.12 - Updated vscode requirement to `"vscode": "^1.21.1"` --- ### For more information - [Programmable Macro Language](https://en.wikipedia.org/wiki/Programmable_Macro_Language) - [Visual Studio Code](https://code.visualstudio.com/) **All contributions are welcomed!**