Piyathon VSCode Extension provides language support for the Piyathon programming language - a Thai variant of Python that allows developers to write Python code using Thai keywords.
Features
Syntax Highlighting: Full syntax highlighting support for Piyathon (.pi) files
Thai Keyword Support: Write Python code using Thai keywords:
นิยาม for def
คลาส for class
จริง/เท็จ for True/False
And many other control flow keywords in Thai. Check out the Piyathon language guide for details.
Code Formatting: Automatic code formatting support that preserves Thai keywords while applying Python formatting standards
Smart Indentation: Automatic indentation for control structures and function definitions
Requirements
Visual Studio Code version 1.94.0 or higher
Python extension for VS Code (automatically installed as a dependency)
Installation
Open VS Code
Go to the Extensions view (Ctrl+Shift+X)
Search for "Piyathon"
Click Install
The extension will automatically install the required Python extension if it's not already installed.
Usage
Create a new file with the .pi extension
Start writing Piyathon code.
The extension will automatically provide syntax highlighting and formatting support.