generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(middleware): improve RunCodeProcessor execution logic
Update the RunCodeProcessor's execute function to handle code execution more effectively. The changes include: - Refactor argument list to multiline for better readability. - Add a condition to check if the code contains new lines before creating a new file. - Use ReadAction.compute for finding the PsiFile to handle it in a read-safe context.
- Loading branch information
Showing
1 changed file
with
24 additions
and
6 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