htmx Code Completion and IntelliSense extension for Visual Studio 2019 and 2022
Start here »
Report Bug
·
Request Feature
·
Read Article
Table of Contents
htmx-pal is a non-official Visual Studio extension that enhances your development experience when working with htmx in Visual Studio 2022. It provides code completion and quick info (IntelliSense) features for htmx attributes, making writing and understanding htmx-powered web applications easier.
This extension is designed to boost your productivity when working with HTMX, providing instant access to attribute information and reducing the need to consult external documentation.
To get htmx-pal up and running in your Visual Studio environment, follow these simple steps.
- Visual Studio 2022
- Open Visual Studio
- Go to Extensions > Manage Extensions
- Search for "htmx-pal"
- Click "Download"
- Restart Visual Studio to complete the installation
Alternatively, you can download the VSIX file directly from the Visual Studio Marketplace.
Once installed, htmx-pal will automatically provide IntelliSense features for htmx attributes in your HTML and Razor files. Here's how you can use it:
- Open an HTML or Razor file in Visual Studio.
- Start typing an htmx attribute (e.g.,
hx-
). - The extension will offer code completion suggestions.
- Select an attribute from the list or continue typing.
- Hover over htmx attributes to see quick info about their usage and purpose.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Pavel - @xakpc
Project Link: https://github.com/xakpc/htmx-pal
- htmx.org - high-power tools for html
- Visual Studio Extensibility Documentation