如何在VS Code中包装参数?

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

在同一级别的VS Code中包装参数的正确设置是什么?

这就是我所拥有的:

constructor(private stateParams: angular.ui.IStateParamsService, 
  private $interval: angular.IIntervalService) {

这就是我想要的:

constructor(private stateParams: angular.ui.IStateParamsService, 
            private $interval: angular.IIntervalService) {
visual-studio-code settings
2个回答
0
投票

也许这个?

"editor.wrappingIndent": "same"

0
投票

安装Prettier-Code Formatter(esbenp.prettier-vscode)扩展。这将使你的工作变得轻松。插件文档中提供了设置和任何进一步的信息。

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