Skip to content

Commit 48c5604

Browse files
authored
Merge pull request #2298 from bnbarham/re-remove-workspace-folder
Remove documentation for `WorkspaceFolder`
2 parents fa67c22 + f6e4533 commit 48c5604

File tree

1 file changed

+0
-74
lines changed

1 file changed

+0
-74
lines changed

Contributor Documentation/LSP Extensions.md

Lines changed: 0 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -81,80 +81,6 @@ Added case
8181
identifier = 'identifier'
8282
```
8383
84-
## `WorkspaceFolder`
85-
86-
Added field:
87-
88-
```ts
89-
/**
90-
* Build settings that should be used for this workspace.
91-
*
92-
* For arguments that have a single value (like the build configuration), this takes precedence over the global
93-
* options set when launching sourcekit-lsp. For all other options, the values specified in the workspace-specific
94-
* build setup are appended to the global options.
95-
*/
96-
var buildSetup?: WorkspaceBuildSetup
97-
```
98-
99-
with
100-
101-
```ts
102-
/**
103-
* The configuration to build a workspace in.
104-
*/
105-
export enum BuildConfiguration {
106-
case debug = 'debug'
107-
case release = 'release'
108-
}
109-
110-
/**
111-
* The type of workspace; default workspace type selection logic can be overridden.
112-
*/
113-
export enum WorkspaceType {
114-
buildServer = 'buildServer'
115-
compilationDatabase = 'compilationDatabase'
116-
swiftPM = 'swiftPM'
117-
}
118-
119-
/// Build settings that should be used for a workspace.
120-
interface WorkspaceBuildSetup {
121-
/**
122-
* The configuration that the workspace should be built in.
123-
*/
124-
buildConfiguration?: BuildConfiguration;
125-
126-
/**
127-
* The default workspace type to use for this workspace.
128-
*/
129-
defaultWorkspaceType?: WorkspaceType;
130-
131-
/**
132-
* The build directory for the workspace.
133-
*/
134-
scratchPath?: DocumentURI;
135-
136-
/**
137-
* Arguments to be passed to any C compiler invocations.
138-
*/
139-
cFlags?: string[];
140-
141-
/**
142-
* Arguments to be passed to any C++ compiler invocations.
143-
*/
144-
cxxFlags?: string[];
145-
146-
/**
147-
* Arguments to be passed to any linker invocations.
148-
*/
149-
linkerFlags?: string[];
150-
151-
/**
152-
* Arguments to be passed to any Swift compiler invocations.
153-
*/
154-
swiftFlags?: string[];
155-
}
156-
```
157-
15884
## `textDocument/completion`
15985
16086
Added field:

0 commit comments

Comments
 (0)