最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

visual studio code 设置flutter编辑器两条竖线,80,128

IT圈 admin 21浏览 0评论

visual studio code 设置flutter编辑器两条竖线,80,128

修改settings.json 里的两处 editor.rulers。 一处默认,一处dart的。

{

    "workbench.colorTheme": "Default Light+",

    "cmake.configureOnOpen": true,

    "C_Cpp.updateChannel": "Insiders",

    "http.proxySupport": "off",

    "[dart]": {

        "editor.formatOnSave": true,

        "editor.formatOnType": true,

        "editor.rulers": [

            80,128

        ],

        "editor.selectionHighlight": false,

        "editor.suggest.snippetsPreventQuickSuggestions": false,

        "editor.suggestSelection": "first",

        "editor.tabCompletion": "onlySnippets",

        "editor.wordBasedSuggestions": false

    },

    "editor.fontSize": 15,

    "terminal.integrated.defaultProfile.windows": "Command Prompt",

    "editor.wordWrapColumn": 120,

    "editor.columnSelection": true,

    "editor.rulers": [80,128],

    "dart.lineLength": 128

}

visual studio code 设置flutter编辑器两条竖线,80,128

修改settings.json 里的两处 editor.rulers。 一处默认,一处dart的。

{

    "workbench.colorTheme": "Default Light+",

    "cmake.configureOnOpen": true,

    "C_Cpp.updateChannel": "Insiders",

    "http.proxySupport": "off",

    "[dart]": {

        "editor.formatOnSave": true,

        "editor.formatOnType": true,

        "editor.rulers": [

            80,128

        ],

        "editor.selectionHighlight": false,

        "editor.suggest.snippetsPreventQuickSuggestions": false,

        "editor.suggestSelection": "first",

        "editor.tabCompletion": "onlySnippets",

        "editor.wordBasedSuggestions": false

    },

    "editor.fontSize": 15,

    "terminal.integrated.defaultProfile.windows": "Command Prompt",

    "editor.wordWrapColumn": 120,

    "editor.columnSelection": true,

    "editor.rulers": [80,128],

    "dart.lineLength": 128

}

发布评论

评论列表 (0)

  1. 暂无评论