Skip to content

Support build path flag that for all vscode-swift operations #283

@smumriak

Description

@smumriak

Is your feature request related to a problem? Please describe.
Swift Package Manager provides ability to customize the location of "build directory" via --build-path argument. Sourcekit-LSP extension used to provide setting called sourcekit-lsp.serverArguments, which was successfully adopted by vscode-swift. There's also swift.buildArguments setting. Both of them allow setting the build directory, but it is only used by build commands and by LSP itself. Other useful features like test view, test running, launch task generation and package resolve are using hardcoded assumption of .build directory instead.

Describe the solution you'd like
Provide a dedicated extension setting that will be used as an argument for --build-path of LSP server and all swift package manager commands spawned by vscode-swift

Describe alternatives you've considered
Keeping the inability of setting custom build directory.

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