Calypso icon indicating copy to clipboard operation
Calypso copied to clipboard

Move to package does not work for new package

Open jecisc opened this issue 7 years ago • 7 comments

I wanted to move some classes to a new package with Calypso, but when using the command "Move to package" it does nothing if the package does not exist yet.

jecisc avatar Oct 03 '18 08:10 jecisc

Are you trying to use filter field in search dialog for this? Do you think it should create package when nothing is found?

dionisiydk avatar Oct 03 '18 21:10 dionisiydk

Yes, I used the filter.

I was expecting the package to be created yes. Maybe it's because I have the habit of Nautilus, but in any way I think would be cool to create the package.

jecisc avatar Oct 03 '18 21:10 jecisc

Yes, it should be nice feature. But are you sure about Nautilus? I can't reproduce it there.

ср, 3 окт. 2018 г. в 22:47, CyrilFerlicot [email protected]:

Yes, I used the filter.

I was expecting the package to be created yes. Maybe it's because I have the habit of Nautilus, but in any way I think would be cool to create the package.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pharo-ide/Calypso/issues/342#issuecomment-426814861, or mute the thread https://github.com/notifications/unsubscribe-auth/AHxaoCwuzskYUdy_Y2Y-60VBAfKKH_6jks5uhTCAgaJpZM4XFk-t .

dionisiydk avatar Oct 03 '18 23:10 dionisiydk

In Nautilus if you do in the protocol pane "New protocol" and type "*MyNewPackage" it will be created.

jecisc avatar Oct 04 '18 09:10 jecisc

Yes. But here it is about classes

чт, 4 окт. 2018 г., 10:01 CyrilFerlicot [email protected]:

In Nautilus if you do in the protocol pane "New protocol" and type "*MyNewPackage" it will be created.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pharo-ide/Calypso/issues/342#issuecomment-426940828, or mute the thread https://github.com/notifications/unsubscribe-auth/AHxaoKqDSwcsS1exvL-Vil69ModPO5_nks5uhc5hgaJpZM4XFk-t .

dionisiydk avatar Oct 04 '18 09:10 dionisiydk

Oh yes sorry, I mixed with another issue :(

jecisc avatar Oct 04 '18 09:10 jecisc

There is a problem to do it. When you search package you can type not full name, press enter and you will got single item as result if there was only item in filtered list. For example type "FFI-Ker" and press enter. Probably we can ask user what to do in that case:

  • do you want create new package "FFI-Ker"
  • or do you want choose "FFI-Kernel"

dionisiydk avatar Oct 04 '18 19:10 dionisiydk