Skip to content

Commit 62fd0c0

Browse files
Apply suggestions from code review
Co-authored-by: Paul LeMarquand <plemarquand@gmail.com>
1 parent 86e1bde commit 62fd0c0

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

userdocs/userdocs.docc/Articles/Advanced/install-pre-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Try out the latest updates by switching to the pre-release version.
44

5-
The Swift extension provides pre-release builds that can be used to test out unreleased features or get bug fixes before an official release can be published. Pre-release build numbers are always one minor version ahead of the most recent release.
5+
The Swift extension provides pre-release builds that let you test out unreleased features or get bug fixes before an official release can be published. Pre-release build numbers are always one minor version ahead of the most recent release.
66

77
The "Switch to Pre-Release Version" button in the VS Code extensions view is used to install the latest pre-release builds:
88

userdocs/userdocs.docc/Articles/Features/automatic-task-creation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Tasks added for common operations with your Package.
77
For workspaces that contain a **Package.swift** file, the Swift extension will add the following tasks:
88

99
- **Build All**: Build all targets in the Package
10-
- **Build Debug <Executable>**: Each executable in a Package.swift get a task for building a debug build
11-
- **Build Release <Executable>**: Each executable in a Package.swift get a task for building a release build
10+
- **Build Debug <Executable>**: Each executable in a Package.swift gets a task for building a debug build
11+
- **Build Release <Executable>**: Each executable in a Package.swift gets a task for building a release build
1212

1313
These tasks are available via the commands **Terminal ▸ Run Task...** and **Terminal ▸ Run Build Task...** in the command palette.

userdocs/userdocs.docc/Articles/Features/language-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Language features to help you write Swift code.
66
77
The Swift extension provides language features such as code completion and jump to definition via [SourceKit-LSP](https://github.com/apple/sourcekit-lsp).
88

9-
> ⚠️ Important: With Swift toolchains prior to 6.1 you will need to build your project at least once for SourceKit-LSP to function correcly. Whenever you add a new dependency to your project, make sure to rebuild it so that SourceKit-LSP can update its information.
9+
> ⚠️ Important: With Swift toolchains prior to 6.1 you will need to build your project at least once for SourceKit-LSP to function correctly. Whenever you add a new dependency to your project, make sure to rebuild it so that SourceKit-LSP can update its information.
1010
1111
SourceKit-LSP provides background indexing in Swift toolchain 6.1 which will automatically index your project on startup. All indexing results are cached in the `.build/index-build` folder within your workspace.
1212

userdocs/userdocs.docc/Articles/Features/project-view.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Swift Project View
22

3-
Navigate your Swift project.
3+
Use this view to navigate your Swift project.
44

55
If your workspace contains a package, this extension will add a **Swift Project** view to the Explorer:
66

userdocs/userdocs.docc/Articles/Features/test-explorer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ If your package contains tests then they can be viewed, run and debugged in the
88

99
![](test-explorer.png)
1010

11-
Once your project is built, the Test Explorer will list all your tests. These tests are grouped by package, then test target, and finally, by XCTestCase class. From the Test Explorer, you can initiate a test run, debug a test run, and if a file has already been opened, you can jump to the source code for a test.
11+
Once your project is built, the Test Explorer will list all your tests. These tests are grouped by package, then test target, and finally, by XCTestCase class. From the Test Explorer, you can initiate a test run, debug a test run, and if you have already opened a file, you can quickly jump to the source code for a test.
1212

1313
## Run Tests with Coverage
1414

userdocs/userdocs.docc/Articles/Reference/commands.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ The following command is only available on macOS:
3838

3939
#### Testing
4040

41-
- **`Test: Run All Tests`** - Run all the tests across all test targes in the open project.
42-
- **`Test: Rerun Last Run`** - Perform the last test run again.
41+
- **`Test: Run All Tests`** - Run all the tests across all test targets in the open project.
42+
- **`Test: Rerun Last Run`** - Repeat the last test run.
4343
- **`Test: Open Coverage`** - Open the last generated coverage report, if one exists.
4444
- **`Test: Run All Tests in Parallel`** - Run all tests in parallel. This action only affects XCTests. Swift-testing tests are parallel by default, and their parallelism [is controlled in code](https://developer.apple.com/documentation/testing/parallelization).
4545

userdocs/userdocs.docc/Articles/Reference/settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ Alternatively you can specfiy which specific command the arguments should apply
6767

6868
## SourceKit-LSP
6969

70-
[SourceKit-LSP](https://github.com/apple/sourcekit-lsp) is the language server used by the the Swift extension to provide symbol completion, jump to definition, etc. It is developed by Apple to provide Swift and C language support for any editor that supports the Language Server Protocol.
70+
[SourceKit-LSP](https://github.com/apple/sourcekit-lsp) is the language server used by the Swift extension to provide symbol completion, jump to definition, etc. It is developed by Apple to provide Swift and C language support for any editor that supports the Language Server Protocol.
7171

7272
### Background Indexing
7373

7474
Background Indexing was added as an experimental feature in Swift toolchain version 6.0 and then enabled by default in 6.1. This feature removes the need to do a build before getting code completion and diagnostics.
7575

7676
On startup, SourceKit-LSP will read your project information from your `Package.swift` and begin indexing your project automatically. All indexing results are cached in the `.build/index-build` folder within your workspace.
7777

78-
To enable or disable this feature you can use the [`swift.sourcekit-lsp.backgroundIndexing`](vscode://settings/swift.sourcekit-lsp.backgroundIndexing) setting.
78+
You can enable or disable this feature with the [`swift.sourcekit-lsp.backgroundIndexing`](vscode://settings/swift.sourcekit-lsp.backgroundIndexing) setting.
7979

8080
### Support for 'Expand Macro'
8181

0 commit comments

Comments
 (0)