Skip to content

Powerful Rider plugin designed to streamline the management of C# using directives within your codebase.

License

Notifications You must be signed in to change notification settings

DenisSemko/UsingLocator

Repository files navigation

logo

Using Locator for Rider

Powerful Rider plugin designed to streamline the management of C# using directives within your codebase.

Build

Table of Contents

General Information

UsingLocator is a Rider plugin that simplifies the process of moving using directives to a global file, creating one if it doesn't exist, and intelligently sorting and removing duplicates. With UsingLocator, you can effortlessly maintain code cleanliness and organization, making your C# development experience more efficient and hassle-free.

Technologies Used

  • C# 7.0
  • Rider IDE (compatible with Rider version 2023.2.2)

Features

  • Moves all selected using directives to the global file;
  • Creates the global file if it doesn't exist;
  • Sorts and removes duplicates in the global file.

Screenshots

Screenshot 2023-10-18 at 17 54 37

Setup

Before using the plugin, make sure it's compatible with your Rider version! Visit Marketplace to check: UsingLocator

There are two ways how to install the plugin:

1️⃣ Marketplace

  • Open Rider and go to Settings / Plugins / Marketplace
  • Search for "UsingLocator"
  • Click Install -> Save
  • Restart Rider

2️⃣ Install .zip archive

  • Find out the latest Release
  • Download the .zip archive
  • Go to Settings / Plugins / Install plugin from the disk
  • Restart Rider

Usage

  • Select the using directives you want to make global
  • Press Alt + Enter
  • Choose the context action "UsingLocator: Define Using Directive as Global"
  • Be happy
Screen.Recording.2023-10-18.at.17.43.31.mov

Project Status

v1.0 has been released

Rider

Contact

Created by @dench327 - feel free to contact me!

© 2023

License

You can check out the full license here. This project is licensed under the terms of the MIT license.