This Visual Studio Code extension provides syntax highlighting and language support for the Phoenix programming language.
Features
Syntax Highlighting: Enjoy syntax highlighting for keywords, comments, strings, numbers, functions, and variables in Phoenix files.
File Association: .phx files are automatically associated with Phoenix language support.
Customization: Easily customize and extend the syntax highlighting rules to suit your preferences.
Installation
Launch Visual Studio Code.
Go to the Extensions view (Ctrl+Shift+X).
Search for Phoenix Language Support.
Click Install to install it.
Reload Visual Studio Code.
Usage
Once installed, the extension automatically provides syntax highlighting for .phx files. You can start editing and see the syntax highlighting in action.
Supported Features
Keywords: fun, var, return, if, else, while, nil.
Comments: Single-line comments starting with //.
Strings: Double-quoted strings with escape sequences (\n, \t, \", etc.).
Numbers: Numeric literals (123, 456.78).
Functions: Function names followed by parentheses.
Variables: Variable names.
Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on GitHub.