New line between sections in razor files
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 7
Description
I propose we add to the team standards to put a new line in razor files between the different sections, for example in this file I think there should be a new line after the first line then after the next two lines. Implements, Injects and Usings should be their own sections basically, thoughts?
before:
@page "foo"
@implements IDisposable
@inject IRateCalculatorContext Context
@inject IStringLocalizer L
@using Microsoft.Extensions.Localization
@using ResortOperationsControl.Client.Resources
@using ResortOperationsControl.Client.Services.RateCalculator
@using ResortOperationsControl.Shared.RateCalculator
after:
@page "foo"
@implements IDisposable
@inject IRateCalculatorContext Context
@inject IStringLocalizer L
@using Microsoft.Extensions.Localization
@using ResortOperationsControl.Client.Resources
@using ResortOperationsControl.Client.Services.RateCalculator
@using ResortOperationsControl.Shared.RateCalculator
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue provides a before/after example for Razor directives but names no standards file or test. Start by locating the repository's team standards or Razor guidance, then document the requested blank-line grouping and confirm the convention is recorded where those standards are maintained.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100