[Ann] Calypso scoped refactoring
I finally implemented scopes support for refactorings in Calypso to be able restrict system changes to particular set of packages or classes. The new preview tool is copy of old ChangesBrowser with additional scopes list widget: In this picture I requested Announcer>>initialize rename and switched scope to the Announcer package. Scopes are filled by browser where refactoring was requested. It is same logic how method browser receives scopes from original browser. When user changes scope all refactoring changes are recomputed. It was last dependency of Calypso from Nautilus related packages. Now it can be loaded without Nautilus. Best regards, Denis
On 15 Jan 2018, at 12:10, Denis Kudriashov <dionisiydk@gmail.com> wrote:
I finally implemented scopes support for refactorings in Calypso to be able restrict system changes to particular set of packages or classes. The new preview tool is copy of old ChangesBrowser with additional scopes list widget:
<CalypsoScopedRefactoring.png>
In this picture I requested Announcer>>initialize rename and switched scope to the Announcer package.
Scopes are filled by browser where refactoring was requested. It is same logic how method browser receives scopes from original browser.
When user changes scope all refactoring changes are recomputed.
It was last dependency of Calypso from Nautilus related packages. Now it can be loaded without Nautilus.
Best regards, Denis
Very nice !
This scope list in the widget was definitely something missing in Nautilus. Thanks a lot for this! Julien --- Julien Delplanque Doctorant à lâUniversité de Lille 1 http://juliendelplanque.be/phd.html Equipe Rmod, Inria Bâtiment B 40, avenue Halley 59650 Villeneuve d'Ascq Numéro de téléphone: +333 59 35 86 40
Le 15 janv. 2018 à 12:10, Denis Kudriashov <dionisiydk@gmail.com> a écrit :
I finally implemented scopes support for refactorings in Calypso to be able restrict system changes to particular set of packages or classes. The new preview tool is copy of old ChangesBrowser with additional scopes list widget:
<CalypsoScopedRefactoring.png>
In this picture I requested Announcer>>initialize rename and switched scope to the Announcer package.
Scopes are filled by browser where refactoring was requested. It is same logic how method browser receives scopes from original browser.
When user changes scope all refactoring changes are recomputed.
It was last dependency of Calypso from Nautilus related packages. Now it can be loaded without Nautilus.
Best regards, Denis
Tx denis!!! Stef On Mon, Jan 15, 2018 at 12:10 PM, Denis Kudriashov <dionisiydk@gmail.com> wrote:
I finally implemented scopes support for refactorings in Calypso to be able restrict system changes to particular set of packages or classes. The new preview tool is copy of old ChangesBrowser with additional scopes list widget:
In this picture I requested Announcer>>initialize rename and switched scope to the Announcer package.
Scopes are filled by browser where refactoring was requested. It is same logic how method browser receives scopes from original browser.
When user changes scope all refactoring changes are recomputed.
It was last dependency of Calypso from Nautilus related packages. Now it can be loaded without Nautilus.
Best regards, Denis
participants (4)
-
Denis Kudriashov -
Julien -
Stephane Ducasse -
Sven Van Caekenberghe