Skip to content

Disable inner code completion results (+ a little refactoring) #172

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

Merged
merged 3 commits into from
Jul 27, 2022

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jan 18, 2022

Similar to #171, disable inner code completion results, which are slowing down code completion performance measurements.


While making the change, I noticed that the corresponding UIDs were missing from UIDs.swift. Instead of just adding them, I created a script that generates the majority of the file from UIDs.py in the main swift repo.

While doing that I noticed that SwiftSourceKit.swift was using UIDs that are no longer supported by SourceKit (specifically the syntax tree serialization format) but since none of the definitions in the file were used, I just deleted it.

None of the definitions were used by the stress tester. Probably became obsolute through some refactoring.
I believe the original file was automatically generated and later maintained by hand whenever a UID was needed. Automate the generation at least for those UIDs that are currently defined in UIDs.py of the main swift repo.
@ahoppen ahoppen requested a review from bnbarham January 18, 2022 11:17
@ahoppen
Copy link
Member Author

ahoppen commented Jan 18, 2022

@swift-ci Please test

@ahoppen
Copy link
Member Author

ahoppen commented Feb 25, 2022

@ahoppen ahoppen merged commit 444047a into swiftlang:main Jul 27, 2022
@ahoppen ahoppen deleted the ahoppen/no-inner-results branch July 27, 2022 20:06
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