CodeEdit
CodeEdit copied to clipboard
🐞 Can't create a `New File`
Description
In an existing project, right click in the project explorer

click file.
Nothing appears
Go to directory on disk , do ls
you will see some blank files (untitled
)

To Reproduce
create a new project in tmp
I did yarn init
open the project in codeedit
right click an existing file and click "new file"
Expected Behavior
should open a dialogue to create a file and the appropriate extension. the file should appear in the project explorer
Version Information
0.0.3 alpha (30)
ventura 13.2.1
Additional Context
No response
Screenshots
No response
This is certainly a regression introduced recently and most likely also linked to the following issue since the files are actually created but the project navigator isn't updating:
- #1188
@avnerbarr thank you for the detailed report.
@lukepistrol are you looking into this ? I'm trying to work up a fix, I did get to the not updating part so this line is not working correctly on the OutlineMenu
class :
200 outlineView.expandItem((item?.isFolder ?? true) ? item : item?.parent)
@armartinez not really for now - just triaging some newer issues. If you want to take on this issue just let me know and I'll assign you 😊 (Also leave a comment on the other linked issue so I can assign you there too)
@lukepistrol yes I'll take the issue, it seems like a nice one to start contributing to the project
Perfect!
@lukepistrol https://github.com/CodeEditApp/CodeEdit/pull/1236