Skip to content

Commit e072677

Browse files
authored
Merge pull request #2677 from ahoppen/ignore-index-build
Exclude `.index-build` folder generated by SourceKit-LSP’s background indexing
2 parents e06f7e3 + 2e1daf0 commit e072677

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Ignore Swift Package Manager build artifacts directory.
22
.build/
3+
.*-build/
34
# Ignore generated Xcode projects
45
*.xcodeproj
56
# Ignore SwiftPM state, such as the generated xcodeproj when opening the project directly

SwiftSyntaxDevUtils/Sources/swift-syntax-dev-utils/commands/Format.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ fileprivate let directoriesToExclude = [
2020
"build",
2121
"Inputs",
2222
".build",
23+
".index-build",
2324
".swift-format-build",
2425
]
2526

0 commit comments

Comments
 (0)