Shell
Shell copied to clipboard
Create blank file focus issue
While creating new folder I can edit folder name instantly, but while creating new file I need to edit file name by myself. Check video below for more details.
Create new file:
item(title='Create blank file' cmd=io.file.create('zfile', '') image=\uE10E)
Create new folder:
item(title='Create folder' cmd=io.dir.create(sys.datetime("ymdHMSs")) image=\uE0E7)
Video: https://github.com/moudey/Shell/assets/7759507/df41e32e-3bf5-4f9a-b21a-1529456155b1
Add a third parameter and set it to true
item(title='Create blank file' cmd=io.file.create('zfile', null, true) image=\uE10E)
Thank you. But how I would know that :) By official documentation io.file.create has only two arguments. Official documentation
This was a newly added feature that I forgot to add to the documentation