It is already possible to create a directory with a keyboard shortcut (F10 in
Dolphin). This patch adds the same possibility for creating a file.
The file template used will be the first one encountered in the list, so it should
be a text file by default, or a user defined one if any.
Details
Details
- Reviewers
dfaure elvisangelaccio - Group Reviewers
Frameworks - Commits
- R241:8100e99e1465: Add the possibility to have a keyboard shortcut to create a file
Diff Detail
Diff Detail
- Repository
- R241 KIO
- Branch
- newfileshortcut (branched from master)
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 4188 Build 4206: arc lint + arc unit
src/filewidgets/knewfilemenu.cpp | ||
---|---|---|
755 ↗ | (On Diff #44178) | !m_firstFileEntry |
1263–1299 ↗ | (On Diff #44178) | Can we try to not duplicate this code? We should create this new createFile() function such that we can also call it from executeRealFileOrDir() |
src/filewidgets/knewfilemenu.h | ||
162 ↗ | (On Diff #44178) | Missing @since |