JetBrains / JetBrains/resharper-unity

Order asmdef references alphabetically

Open
#2,314 2 comments 7 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.2k
Forks
142
PR merge metrics
No merged PRs in 30d

Description

With the new feature of adding references to .asmdef files, it would be great if they were kept in alphabetical order. This reduces the chances of getting version control conflicts when working in a team. It also groups related references nicely together.

If reordering existing references (as you can't really do alphabetical otherwise) feels like too intrusive for existing projects, perhaps it could be made an opt-in setting?

Contributor guide

Open the contributing guide

Research direction

The issue does not name a file, test, or entry point. Trace the code that adds references to .asmdef files, then resolve whether existing references should be reordered by default or behind an opt-in setting. Done means references are alphabetized and the chosen behavior for existing projects is covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.