Proposal: Update namespace to reflect the directory structure
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 294
- Avg merge
- 2h 30m
- Merged PRs (30d)
- 4
Description
At times I move class files between folders, It would be great if I could update the namespace to reflect the directory structure the file is placed in.
I would like to get the following suggestion when I place the cursor on a namespace and the namespace does not reflect the directory structure.
'Update the namespace to reflect the directory structure'
Maybe we could have this also:
'Move this file to the directory that reflects the namespace'
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by locating the namespace-related analyzer or code-fix entry point, then confirm how suggestions are registered and tested. Done means offering an action to update the namespace to match the file directory, with the optional inverse action clearly resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100