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

Optimizes the file creation logic of the NewFileUtils class #86

Merged
merged 3 commits into from
Sep 3, 2024

Conversation

PerryZhao
Copy link
Collaborator

  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

zhaopengjun added 3 commits September 1, 2024 16:17
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
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
@xiangtianyu xiangtianyu merged commit aa3a81a into openpilot-hub:main Sep 3, 2024
1 check passed
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