D20396: Don't show "Open With" menu items for empty directories
Nathaniel Graham
noreply at phabricator.kde.org
Mon Apr 15 15:06:10 BST 2019
ngraham added a comment.
In D20396#450521 <https://phabricator.kde.org/D20396#450521>, @franga2000 wrote:
> > Any app that registers itself as able to open directories generally can't do anything useful with an empty directory.
>
> If I may offer a counter-example (rather late, I know), one category of applications that an "Open with" on an empty dir is quite useful for are code editors. The way many people start new projects, for example, is by creating a new dir (in Dolphin) and using "Open with" to open it in their editor (like VS Code).
>
> I know this workflow can be re-created with an action (like the one for Konsole), but at least to me, "Open with" seems more intuitive for this.
Most code editors I'm aware of don't install MIME type handlers for directories though, so they don't even show up in the Open With menu by default. You would need to set that up yourself. However I can see how once you do, it could be very useful.
REPOSITORY
R318 Dolphin
REVISION DETAIL
https://phabricator.kde.org/D20396
To: ngraham, #dolphin, elvisangelaccio
Cc: franga2000, trmdi, kfm-devel, alexde, feverfew, meven, spoorun, navarromorales, firef, andrebarros, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20190415/de2e6170/attachment.htm>
More information about the kfm-devel
mailing list