Skip to content

Commit 3556c57

Browse files
authored
Merge pull request #2349 from ahoppen/modify-config-restart
Add comment that SourceKit-LSP needs to be restarted when configuration file is modified
2 parents 0876b7d + 65d84ff commit 3556c57

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Documentation/Configuration File.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
- Initialization options passed in the initialize request
1010
- A `.sourcekit-lsp/config.json` file in a workspace’s root
1111

12+
Modifying the configuration file requires SourceKit-LSP to be restarted for the new options to take effect.
13+
1214
The structure of the file is currently not guaranteed to be stable. Options may be removed or renamed.
1315

1416
## Structure

SourceKitLSPDevUtils/Sources/ConfigSchemaGen/OptionDocument.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ struct OptionDocumentBuilder {
2424
- Initialization options passed in the initialize request
2525
- A `.sourcekit-lsp/config.json` file in a workspace’s root
2626
27+
Modifying the configuration file requires SourceKit-LSP to be restarted for the new options to take effect.
28+
2729
The structure of the file is currently not guaranteed to be stable. Options may be removed or renamed.
2830
2931
## Structure

0 commit comments

Comments
 (0)