From aeff3a821e03ee628a3e0ff81ef4504ca75c9ba6 Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Thu, 29 Aug 2024 14:50:36 +0100 Subject: [PATCH] tweaked vscode support --- .swift-format | 4 ++-- .vscode/launch.json | 4 +++- .vscode/settings.json | 6 ++++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.swift-format b/.swift-format index baedcec..6f9dde4 100644 --- a/.swift-format +++ b/.swift-format @@ -11,7 +11,7 @@ "lineBreakBeforeControlFlowKeywords": false, "lineBreakBeforeEachArgument": false, "lineBreakBeforeEachGenericRequirement": false, - "lineLength": 100, + "lineLength": 200, "maximumBlankLines": 1, "multiElementCollectionTrailingCommas": true, "noAssignmentInExpressions": { @@ -64,6 +64,6 @@ "ValidateDocumentationComments": false }, "spacesAroundRangeFormationOperators": false, - "tabWidth": 8, + "tabWidth": 2, "version": 1 } \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json index e3f072a..2142f81 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,7 +6,9 @@ "sourceLanguages": [ "swift" ], - "args": ["--version"], + "args": [ + "--version" + ], "cwd": "${workspaceFolder:ReleaseTools}", "name": "Debug rt", "program": "${workspaceFolder:ReleaseTools}/.build/debug/rt", diff --git a/.vscode/settings.json b/.vscode/settings.json index decdcce..366d238 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,10 @@ { + "lldb.library": "/Applications/Xcode-16.1.0-Beta.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB", + "lldb.launch.expressions": "native", + "swift.debugger.useDebugAdapterFromToolchain": true, + "editor.formatOnSave": true, + "editor.formatOnPaste": true, +}{ "lldb.library": "/Applications/Xcode-15.4.0.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB", "lldb.launch.expressions": "native" } \ No newline at end of file