[go: up one dir, main page]

Skip to content
/ HtmxPal Public

htmx Code Completion and IntelliSense extension for Visual Studio 2022

License

Notifications You must be signed in to change notification settings

xakpc/HtmxPal

Repository files navigation

Stargazers MIT License VS Marketplace Downloads Rate it


Logo

htmx-pal

htmx Code Completion and IntelliSense extension for Visual Studio 2019 and 2022
Start here »

Report Bug · Request Feature · Read Article

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact
  7. Acknowledgments

About The Project

htmx-pal Extension Screenshot

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.

Key Features

Code Completion: Get suggestions for htmx attributes as you type.

htmx-pal Extension Screenshot

Attribute Code Completion: Get possible values for some attributes with .

htmx-pal Extension Screenshot

Quick Info: Hover over htmx attributes to see detailed information and usage tips.

htmx-pal Extension Screenshot

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.

Built With

(back to top)

Getting Started

To get htmx-pal up and running in your Visual Studio environment, follow these simple steps.

Prerequisites

  • Visual Studio 2022

Installation

  1. Open Visual Studio
  2. Go to Extensions > Manage Extensions
  3. Search for "htmx-pal"
  4. Click "Download"
  5. Restart Visual Studio to complete the installation

Alternatively, you can download the VSIX file directly from the Visual Studio Marketplace.

(back to top)

Usage

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:

  1. Open an HTML or Razor file in Visual Studio.
  2. Start typing an htmx attribute (e.g., hx-).
  3. The extension will offer code completion suggestions.
  4. Select an attribute from the list or continue typing.
  5. Hover over htmx attributes to see quick info about their usage and purpose.

(back to top)

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Pavel - @xakpc

Project Link: https://github.com/xakpc/htmx-pal

(back to top)

Acknowledgments

(back to top)

About

htmx Code Completion and IntelliSense extension for Visual Studio 2022

Resources

License

Stars

Watchers

Forks

Languages