修改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

}

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐