Auto focus text field when creating new files and folders
Description
When we create a new file or folder, CodeEdit will now automatically focus the renaming field so the user can directly set the file name in one step.
Files and folders are no longer created immediately, instead a "phantom" file will be represented in the project navigator, and will only actually create the file when the user sets a valid file name.
Lastly, we do not automatically set the file extension for the user.
Related Issues
Checklist
- [x] I read and understood the contributing guide as well as the code of conduct
- [x] The issues this PR addresses are related to each other
- [x] My changes generate no new warnings
- [x] My code builds and runs on my machine
- [x] My changes are all related to the related issue above
- [x] I documented my code
Screenshots
https://github.com/user-attachments/assets/299d2664-dbb4-40d0-b50f-8af85c4cb35e
This looks great, just needs the lint fix and we can merge!
@thecoolwinter Looks like just an unrelated issue with the CEActiveTaskTests test
I agree, I can't seem to track down why those tests are failing but they appear to be fixed on main. We can merge without those passing tests.