我是廣告,點擊一下吧!
標籤
#Flutter (11) 、 #PHP (8) 、 #Laravel (6) 、 #Mac (4) 、 #Dart (4) 、 #MySQL (4) 、 #VS Code (2) 、 #IDE (2) 、 #List (2) 、 #Android (2) 、 #Linux (2) 、 #Shell Script (2) 、 #addMonthNoOverflow (1) 、 #Deferred Join (1) 、 #subMonthNoOverflow (1) 、 #floorMonth (1) 、 #資安 (1) 、 #SVG (1) 、 #Directory Structure (1) 、 #SQL Injection (1) 、 #MySQL 效能 (1) 、 #subMonth (1) 、 #addMonth (1) 、 #Carbon (1) 、 #keytool (1) 、 #Play App Signing (1) 、 #copy (1) 、 #file_put_contents (1) 、 #file_get_contents (1) 、 #fwrite (1)從 檔案(File)
> 喜好設定(Preference)
> 設定(Settings)
開啟設定,左下角齒輪也有同樣的選項。
或是使用快捷鍵:
Ctrl
+ ,
Command
+ ,
搜尋 dart.lineLength
即可調整。
若是多人開發,每個人的設定不一樣就糟糕了,會變成每個人存檔都照他的環境再重新排版一次,這時候可以在修改 .vscode/settings.json
一起 push 到 git 上讓大家的設定一致
{
"dart.lineLength": 150,
"[dart]": {
"editor.rulers": [
150
],
}
......你的其他設定
}