+
Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

refactor(vscode): remove beta formatter options #2939

Merged
merged 2 commits into from
Jul 27, 2022

Conversation

ematipico
Copy link
Contributor

@ematipico ematipico commented Jul 27, 2022

Summary

Closes #2938 .

Now that we have a configuration file, users should use that as source to change Rome's defaults. The options in the VSCode were always a beta, with the idea that they were going to be removed once the configuration file was available.

Now it's the time to remove them.

I enabled the serialization of format_with_errors and assigned its value to the WorkspaceSettings. This field it hasn't been used yet in the CLI. I will make a further PR to enable it.

Test Plan

Current tests should pass. I manually built the VSCode extension and verified that the options don't exist anymore.

@ematipico ematipico requested a review from a team July 27, 2022 13:09
@ematipico ematipico temporarily deployed to aws July 27, 2022 13:09 Inactive
@github-actions
Copy link

github-actions bot commented Jul 27, 2022

@ematipico ematipico force-pushed the refactor/remove-editor-configs branch from 3f9cdb0 to 49080a2 Compare July 27, 2022 13:18
@ematipico ematipico requested a review from leops as a code owner July 27, 2022 13:18
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jul 27, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4b240bb
Status:⚡️  Build in progress...

View logs

@ematipico ematipico temporarily deployed to aws July 27, 2022 13:18 Inactive
@ematipico ematipico force-pushed the refactor/remove-editor-configs branch from 49080a2 to d860ae7 Compare July 27, 2022 13:18
@ematipico ematipico temporarily deployed to aws July 27, 2022 13:18 Inactive
Copy link
Contributor

@leops leops left a comment

Choose a reason for hiding this comment

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

I think we could also remove the rome.analysis.enableDiagnostics and rome.analysis.enableCodeActions now that the linter can also be enabled or disabled in the configuration file

@ematipico ematipico temporarily deployed to aws July 27, 2022 14:05 Inactive
@ematipico ematipico force-pushed the refactor/remove-editor-configs branch from fa1f2eb to 05b84d3 Compare July 27, 2022 14:24
@ematipico ematipico temporarily deployed to aws July 27, 2022 14:24 Inactive
@ematipico ematipico force-pushed the refactor/remove-editor-configs branch from 05b84d3 to 379527f Compare July 27, 2022 14:29
@ematipico ematipico temporarily deployed to aws July 27, 2022 14:29 Inactive
@ematipico ematipico requested a review from leops July 27, 2022 14:29
@ematipico ematipico temporarily deployed to aws July 27, 2022 16:41 Inactive
@ematipico ematipico merged commit d6ebaa4 into main Jul 27, 2022
@ematipico ematipico deleted the refactor/remove-editor-configs branch July 27, 2022 16:41
IWANABETHATGUY pushed a commit to IWANABETHATGUY/tools that referenced this pull request Aug 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

remove formatter configuration from VSCode
2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载