Mapping interface methods - revisit
Is it possible to revisit how interface methods are mapped? It is rather clunky. There are a few issues listed below.
The main issue is when you go to implement the interface, it would get the method names wrong or you can't see the method listed. So you end up writing down an action list of what to change. I have had to repeat this a few times because the methods you want to map to never show, and in the end I give up and type the method to map to manually.
Is there some other way to do it than the old fashioned dialog way? Possibly an overlay window of interface methods and drag n drop to the method you want.
Other clunky issues:
1. If you have a method already created, with the same signature, and you go to implement the interface it seems to disregard the existing method and adds 0001 as the suggested method. e.g. getAmount : Decimal already exists, go to implement an interface and Jade would suggest a new method of getAmount0001.
2. You already have the method existing on the interfaced class and the interface is already mapped, but you create a new method stub of the same name, it will most of the time create a new method anyway. I think this could be when the interface method prefix is defined.
3. The method you want to map to never will appear even though you get the signature
exactly the same. Perhaps this is a bug?
4. Oh here is a new one since I submitted the idea. If you accidentally have the method with say i_SetPreview already mapped, but you want it to use i_setPreview. Jade will keep reverting it to the i_SetPreview because it is the only one that exists in the combobox. Solution is to copy code to i_SetPreview, delete method i_setPreview and rename i_SetPreview to i_setPreview.
How is fixing the bug where the scroll bar keys going back to the top for each keypress in JEDI going?