我正在尝试为我的 VSCode 设置不同的行宽 (extension)设置,但没有任何运气。
在 ~root/.vscode/settings.json 中尝试了带前缀或不带前缀的不同变体:
"max-len": 120,
"printWidth": 120
"editor.max-len": 120,
"editor.printWidth": 120
"prettier.max-len": 120,
"prettier.printWidth": 120
都不尊重规则。
我该如何解决?
最佳答案
关于visual-studio-code - VSCode 更漂亮的 printWidth,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61452651/