Prettier 使用 Salesforce APEX 时出现问题

问题描述 投票:0回答:1

Prettier 使用 Salesforce APEX 时出现问题 before formattingafter formatting。我需要解决方案...

salesforce apex formatter prettier
1个回答
0
投票

Prettier 有一些配置选项,例如括号间距(我认为这就是您所指的)。

查看此配置列表:https://prettier.io/docs/en/options.html

以及有关在何处编辑这些值的说明:https://developer.salesforce.com/tools/vscode/en/user-guide/prettier

我相信您想编辑项目中的 .prettierrc 文件:https://prettier.io/docs/en/configuration

希望这有帮助!

© www.soinside.com 2019 - 2024. All rights reserved.