Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.sourcekit-lsp/config.json doesn't allow passing traits #1974

Open
MaxDesiatov opened this issue Feb 10, 2025 · 3 comments
Open

.sourcekit-lsp/config.json doesn't allow passing traits #1974

MaxDesiatov opened this issue Feb 10, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@MaxDesiatov
Copy link
Contributor

MaxDesiatov commented Feb 10, 2025

Description

The configuration file allows selecting Swift SDK and triple, but selecting package traits for indexing is currently not possible.

- `swiftPM`: Options for SwiftPM workspaces.

@MaxDesiatov MaxDesiatov added the bug Something isn't working label Feb 10, 2025
@ahoppen
Copy link
Member

ahoppen commented Feb 10, 2025

Synced to Apple’s issue tracker as rdar://144557689

@FranzBusch
Copy link
Member

This probably needs to go hand in hand with vscode-swift support to select the enabled traits for the root package.

@MaxDesiatov
Copy link
Contributor Author

I don't think VS Code support should preclude any improvements in this area. There are other editors that would benefit from it either way, and VS Code users are free to edit the config file directly in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants