Hi all, As you know, I’m an avid Ema^c^c^cVisual Code user, it’s clearly the best IDE / Editor out there. So, I’m attaching my settings.json that I currently use for ATS. Of particular interest, I think the following are important for us to use / edit code in the same ways (in addition to our clang-format rules):
For restructured text editing (yes, I’m saying that we should actually stick to 132 characters here too): "restructuredtext.linter.extraArgs": [--max-line-length 132 ] For Lua: "lua.format.lineWidth": 132, For the reflow plugin (very useful): "reflow.preferredLineLength": 132, For other editing: "editor.wordWrapColumn": 132, "rewrap.wrappingColumn": 132, Minimap: "editor.minimap.maxColumn": 132, For proper Makefile editing: "[makefile]": { "editor.tabSize": 8, "editor.insertSpaces": false }, Cheers, — Leif Full configuration (this is still evolving): { "editor.renderWhitespace": "boundary", "editor.cursorStyle": "block", "editor.formatOnSave": true, "editor.tabCompletion": "on", "editor.formatOnPaste": true, "editor.minimap.maxColumn": 132, "restructuredtext.linter.extraArgs": [--max-line-length 132 ] "window.zoomLevel": 1, "window.restoreWindows": "all", "window.newWindowDimensions": "inherit", "terminal.integrated.fontSize": 13, "terminal.integrated.cursorBlinking": true, "terminal.integrated.drawBoldTextInBrightColors": false, "terminal.integrated.macOptionIsMeta": true, "terminal.integrated.scrollback": 2000, "workbench.colorTheme": "Default High Contrast", "workbench.activityBar.visible": true, "workbench.enableExperiments": false, "workbench.editor.highlightModifiedTabs": true, "gitlens.views.fileHistory.enabled": true, "gitlens.views.lineHistory.enabled": true, "gitlens.currentLine.enabled": false, "gitlens.blame.highlight.enabled": true, "gitlens.blame.highlight.locations": [ "gutter", "overview" ], "gitlens.codeLens.recentChange.enabled": true, "gitlens.recentChanges.highlight.locations": [ "gutter", "overview" ], "gitlens.advanced.messages": { "suppressCommitNotFoundWarning": true, "suppressShowKeyBindingsNotice": true }, "clang.executable": "/usr/bin/clang", "C_Cpp.clang_format_path": "/usr/local/bin/clang-format", "C_Cpp.clang_format_fallbackStyle": "Mozilla", "C_Cpp.intelliSenseEngineFallback": "Enabled", "C_Cpp.intelliSenseEngine": "Default", "C_Cpp.navigation.length": 100, "C_Cpp.default.intelliSenseMode": "clang-x64", "cppcheck.outputCommandLine": true, "cppcheck.suppressions": [ "missingIncludeSystem" ], "[makefile]": { "editor.tabSize": 8, "editor.insertSpaces": false }, "editor.minimap.enabled": false, "files.autoSave": "afterDelay", "files.autoSaveDelay": 5000, "files.insertFinalNewline": true, "files.trimFinalNewlines": true, "files.exclude": { "**/.git": true, "**/.svn": true, "**/.hg": true, "**/.DS_Store": true, "**/*.o": true, "**/*.a": true, "**/*.so": true, "**/.deps": true, "**/.libs": true, "**/.dirstamp": true, }, "projectManager.groupList": true, "restructuredtext.confPath": "${workspaceRoot}", "emmet.triggerExpansionOnTab": true, "search.smartCase": true, "search.showLineNumbers": true, "projectManager.git.baseFolders": [ "$home/apache", "$home/hack", "$home/github", "$home/apple", ], "reflow.preferredLineLength": 132, "shellformat.flag": "-i 4 -p", "shellformat.showError": false, "perltidy-more.profile": ".../.perltidyrc", "python.formatting.autopep8Args": [ "--max-line-length", "132" ], "yaml.format.enable": true, "lua.format.lineWidth": 132, "better-comments.highlightPlainText": true, "kite.showWelcomeNotificationOnStartup": false, "git.enableSmartCommit": true, "editor.suggestSelection": "first", "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", "workbench.iconTheme": "vscode-icons", "python.jediEnabled": false, "vsicons.dontShowNewVersionMessage": true, "editor.wordWrapColumn": 132, "rewrap.wrappingColumn": 132, "apple-swift-format.configSearchPaths": [ ".swift-format", "/Users/leif/.swift-format" ], "apple-swift-format.path": "/Users/leif/bin/swift-format" }