Azure / Azure/bicep

Don't use Environment.NewLine in BuildDocument for code replacement

Open
#2,988 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.