generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(rust): add ReadAction to improve performance
This commit adds the `ReadAction` class from the IntelliJ platform to improve performance in the RustTestService.kt file. The `ReadAction` class is used to wrap code that needs to be executed in a read action, ensuring that it runs on the UI thread and has read access to the PSI tree. This change improves the performance of finding or creating a test file in the RustTestService class. Additionally, the commit also includes some code refactoring and formatting improvements in the ClassContext.kt, RustVariableContextBuilder.kt, and RustCodeModifier.kt files.
- Loading branch information
Showing
4 changed files
with
25 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters