Open iwasherefirst2 opened 5 years ago
Definitely not intentional, though the refactoring code is somewhat outdated since it has been pending to be replaced with server-side refactoring functionality for a while and I must admit I don't use the method extraction functionality that often, hence the minor bugs that are creeping up.
Marking as bug, since this should be fixed at some point - either by fixing it in the current implementation or providing the new, server-side implementation that doesn't have this bug.
Hi,
I installed the plugin and everything works fine. I also can extract methods. Except when I try to select a for loop like this:
If I click
alt
+m
and enter a name for the extracted method and hitextract
, atom scrolls to the bottom but no new method is inserted. Now for each click in the document the following error message is thrown:This is what I tried so far:
Every time I could reproduce the issue. I am using Ubuntu 18.04.
Also I noticed, that whenever I extract a method, the method is inserted at the bottom of the file below the class. So I actually always need to copy and paste the method from outsite to inside of my class. Is this intended?