AppWizard patch

Kris Wong wongk at seapine.com
Mon Jan 12 17:58:01 UTC 2009


The attached patch makes a few changes to the app wizard.  Currently, if the user changes the value in the location field to a directory that exists, they can't create a new project.  This is because the dialog no longer appends the project name on to the location.  This is not correct.  I understand the motivation for not appending the project name if the user edits the location, but we cannot know whether they are trying to specify the parent directory or the project directory itself.  This is why every IDE I've ever used always appends the project name (I've never run across a situation when I did not want it appended).  I changed this functionality.  If we really want to give the user the option, a checkbox would be necessary to handle it correctly.

It also allows the user to create a new project in a directory that already exists and contains files.  I do this frequently for test applications.  It will display a question prompt that warns the user and asks if they would like to proceed.

Comments or objections to committing?

Kris Wong
-------------- next part --------------
A non-text attachment was scrubbed...
Name: appwizard_fixes.diff
Type: application/octet-stream
Size: 11745 bytes
Desc: appwizard_fixes.diff
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090112/0adfcf26/attachment.obj>


More information about the KDevelop-devel mailing list