vs代码的缩进 - 拉恩维
我已经安装了更漂亮的代码格式器,它使2个空间作为代码的标准凹痕。但是,缩进弓将其强调为红色,因此认为默认的缩进件是4个空间。我该怎么办? 这是图像
I have prettier code formatter installed, which makes 2 spaces as a standard indentation for the code. However, indent-rainbow highlights it as a red, so it thinks that default indentaion is 4 spaces. What do I do?
here is the image
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
更多
发布评论
评论(2)
如果安装了缩进弓,则可以通过将这些添加到设置为json和Reload VScode来删除错误颜色。
希望这有所帮助。
If you installed indent-rainbow, you could remove errors color by adding these to settings.json and reload vscode.
Hope this help.
确保“更改选项卡显示大小”,然后将其2
按F1并搜索它
Make sure to "Change Tab Display Size" and make it 2
press f1 and search for it