[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [Dltk-dev] Delete class/interface should not delete the file itself
|
Committed
Thanks,
Alex
----- Original Message -----
From: "Alex Panchenko" <alex@xxxxxxxxx>
To: "DLTK Developer Discussions" <dltk-dev@xxxxxxxxxxx>
Sent: Friday, November 28, 2008 12:04:52 AM GMT +06:00 Almaty, Novosibirsk
Subject: Re: [Dltk-dev] Delete class/interface should not delete the file itself
Hi Eden,
I think this behavior should be customizable per nature (since we already have the necessary checks) and by default the file should not be deleted, as you suggested.
I can take care of it on Friday or Saturday.
Thanks,
Alex
----- Original Message -----
From: "Eden Klein" <eden@xxxxxxxx>
To: dltk-dev@xxxxxxxxxxx
Sent: Thursday, November 27, 2008 9:17:51 PM GMT +06:00 Almaty, Novosibirsk
Subject: [Dltk-dev] Delete class/interface should not delete the file itself
In the current implementation, if a file contains only a class or an interface and if the user right clicks on it in the scriptexplorer view and choose the the delete action, the file is deleted altogether. This behavior matches the Java notion of a class/interface and a file, which are highly connected. In dynamic languages this is not the case. A file can exists by itself without necessarily containing a class or an interface.
I opened a bug about it and attached the patch that solves the problem. ( #256788 )
Please let me know what you think about it
Thanks,
Eden
Eden Klein
Software Engineer
Zend Technologies, Ltd.
t. +972.3.753.9615
www.zend.com
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev