-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimizes the file creation logic of the NewFileUtils class (#86)
* Optimizes the file creation logic of the NewFileUtils class 1. Refactor the file creation method to improve code reusability and readability 2. Add Java file specific processing logic to support package name and class name resolution 3. Improve file path and directory processing to enhance adaptability to the project structure * Fixed the import statement order. * Optimize file creation logic and path handling 1. Improved the determination logic of the target directory and handled a variety of project structures 2. Move the file creation operation to DumbService.runWhenSmart to improve IDE responsiveness --------- Co-authored-by: zhaopengjun <[email protected]>
- Loading branch information
Showing
1 changed file
with
108 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