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

Ignore inactive IfConfigDecls in SourceKit's syntax model, formatting, and placeholder expansion #76332

Merged
merged 4 commits into from
Sep 9, 2024

Conversation

DougGregor
Copy link
Member

Clients that need syntactic information, formatting, or expansion should use other tools based on the swift-syntax tree, including SourceKit-LSP, swift-format, or SwiftFormat.

Clients that need syntactic information should use SourceKit-LSP or
swift-syntax.
The SourceKit code formatting tools have effectively been replaced
by swift-syntax's basic formatting functionality and more full-featured
formatters like swift-format and SwiftFormat. Remove the special
handling of IfConfigDecl as staging for the removal of IfConfigDecl.
…nsion

This is another step toward the removal of IfConfigDecl
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

@swift-ci please smoke test Linux

@DougGregor DougGregor merged commit ada0ceb into swiftlang:main Sep 9, 2024
3 checks passed
@DougGregor DougGregor deleted the sourcekit-drop-ifconfigdecl branch September 9, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants