Skip to content

ptsonev/ReSharperPlugin.BlazorCssHelper

Repository files navigation

BlazorCssHelper for ReSharper

A small plugin for personal use that enables CSS class IntelliSense in Blazor components for ReSharper.
The plugin is built using the ReSharper/Rider Plugin Template.
It implements the IInjectionNodeProvider interface as described in Language Injections in ReSharper Ultimate 2016.3.

The plugin triggers on parameters that contain CssClass in their name, such as:

  • CssClass
  • HeaderCssClass
  • BodyCssClass

This follows the naming convention used by Havit.Blazor

HeaderRowCssClass

Installation

Follow the instructions on Managing Extensions - Install an extension from a local .nupkg file.

Building from Source

  1. Clone the repository
  2. Execute ./buildPlugin.ps1

Note for Rider Users

Rider already provides this functionality through its built-in language injection feature.
See WEB-10278: Inject Reference for CSS class for more information.

About

ReSharper IntelliSense for CSS classes in Blazor components

Resources

Stars

Watchers

Forks

Packages

No packages published