KDev4: "New File" File Location

M Breugelmans mbr.nxi at gmail.com
Thu Sep 25 10:59:02 UTC 2008


On Wed, Sep 24, 2008 at 2:51 PM, Casey Link <unnamedrambler at gmail.com> wrote:
> Here is a patch that changes the behavior of the New File action to
> create the temp file in the same directory as the currently open file.
> One drawback to this approach is that it actually writes a blank file,
> which means you have to clean it up later either by Saving As and
> deleting the tmp file, or Saving and renaming the temp file to be what
> you want.
>
> It would be nice if New File created a blank buffer, or prompted for a
> File Name (and possibly a location).
>

Attached a patch that prompts for a location as you suggested. This at
least makes me not use touch in the konsole-toolview all the time :)
But since blank buffer seems the default in KDE this should probably
also not go in svn.


Manuel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: new_file_dialog.patch
Type: text/x-patch
Size: 1559 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20080925/752e81c8/attachment.patch>


More information about the KDevelop-devel mailing list