Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>phxNew to Visual Studio Code? Get it now.
phx

phx

TomtheCoder2

|
28 installs
| (0) | Free
Phoenix language support
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Phoenix Language Support for Visual Studio Code

Phoenix Logo

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

  1. Launch Visual Studio Code.
  2. Go to the Extensions view (Ctrl+Shift+X).
  3. Search for Phoenix Language Support.
  4. Click Install to install it.
  5. 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.

License

This extension is licensed under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft