Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@aiday-mar
Copy link
Contributor

No description provided.

…options which allows to keep the original line formatting
@aiday-mar aiday-mar requested a review from aeschli July 7, 2022 15:53
@aiday-mar aiday-mar self-assigned this Jul 7, 2022
CHANGELOG.md Outdated Show resolved Hide resolved
.vscode/extensions.json Outdated Show resolved Hide resolved
src/impl/format.ts Outdated Show resolved Hide resolved
src/impl/format.ts Outdated Show resolved Hide resolved
@aeschli aeschli force-pushed the aiday/keepNewLines branch from 76f1311 to 26a70df Compare July 8, 2022 13:17
@aiday-mar aiday-mar requested a review from aeschli July 8, 2022 14:17
CHANGELOG.md Outdated Show resolved Hide resolved
src/impl/format.ts Outdated Show resolved Hide resolved
src/impl/format.ts Outdated Show resolved Hide resolved
src/test/format.test.ts Outdated Show resolved Hide resolved
@microsoft microsoft deleted a comment from aeschli Jul 8, 2022
@aiday-mar aiday-mar requested a review from aeschli July 9, 2022 06:32
replaceContent = newLineAndIndent();
if (options.keepLines && numberLineBreaks > 0 || !options.keepLines) {
replaceContent = newLinesAndIndent();
} else if (options.keepLines) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think at that point, options.keepLines is always true -> can remove the check

…hanged `withFormatting` so that keepLines option is always false.
@aiday-mar aiday-mar requested review from aeschli and removed request for aeschli July 11, 2022 14:17
@aiday-mar aiday-mar requested a review from aeschli July 11, 2022 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.