One more Kate wish completed by me
. Bug no. 93230 and this will also be in KDE 4.5
.
Problem/Wish: There is no way to add a file by rightclicking to a folder in Filesystem Broswer(filebrowser plugin).
Solution: Updated the KDirOperator with KNewFileMenu wrapper “setNewFileMenuSupportedMimeTypes” which will Only show the files in a given set of mimetypes it Internally uses KNewFileMenu::setSupportedMimeTypes. In general now we can restrict options to be shown in Create New, this is useful in specialized applications like kate etc. while file managers, on the other hand, want to show all mimetypes. (thanks to David Faure for moving KNewMenu to kdelibs as KNewFileMenu).
* for more details here is the bug description.
This is how the new context menu of kate Filesystem Browser will look:
To download patch click here.
Tags: bug fix, kate, kde, programming, wish-list

Very nice, thanks Abhishek! I am sure it is possible to add more text templates, for example “Create New > C++ Header”, which starts with the license headers and empty class definition.
Hi Christoph,
.
..
Thanks Comments
Well I am not sure about that, what I know is, the templates are taken from /usr/share/templates/ so if we can add the C++ Header template there, we can have that in Create New
Get syndicated on planetkde, please