Don't use Environment.NewLine in BuildDocument for code replacement
Open
devdiv
story: linter
- Dominant language
- Bicep
- Stars
- 3.6k
- Forks
- 830
- Avg merge
- 1d 21m
- Merged PRs (30d)
- 79
Description
Need a mechanism for use in code fix text generation that uses an "auto" setting for the new line that passed to document.Layout()
Contributor guide
Research direction
Start by locating BuildDocument and the call to document.Layout(), then inspect how Environment.NewLine is used in code replacement text generation. Determine the intended behavior for an auto newline setting and verify that generated code-fix text uses the document's line-ending convention.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100