Skip to content

Allow excluding folders from SourceKit-LSP #2196

Open
@award999

Description

@award999

Description

A long standing user request of the vscode-swift extension has been the ability to exclude certain Swift packages: swiftlang/vscode-swift#636

With this PR we can exclude configured folders from initializing in the vscode extension swiftlang/vscode-swift#1693. The outstanding issue is that if an excluded file is open, SourceKit-LSP still loads and builds the package.

It would be nice if the documentService/languageService logic in the LSP could be amended to be able to exclude configured files which can be specified in the initialize request or in the .sourcekit-lsp/config.json file

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions