-
Notifications
You must be signed in to change notification settings - Fork 53
Add new Xtend editor quickfixes on *.xtend files #1060
Comments
Yes, I can take care of this. Thanks! |
Yes |
Currently, whenever the Xtend IDE recognizes that a method is missing, it offers a quickfix for creating the method:
@loradd Maybe you can fix this first. |
@miklossy This should be discussed. I don't want to have quickfixes for all permutations of modifiers. |
@szarnekow I do not want to have quickfixes for all permutations of modifiers either. But creating a private method would be very useful, at least I would use that one more often than creating a public method. Currently I use the quickfix that creates a public method and have to modify that one to convert the created public method to private. Let's see what others think about this. |
Creating a private method sounds as a likely choice. If this would be added I would not change the text for creating a public method, though. |
JDT uses placeholders in the proposed method. |
@szarnekow It is true: |
Please note that there already two quickfixes |
@szarnekow What about changing the already existing two quickfixes to create private methods instead of public ones? |
@miklossy In Xtend, methods are public by default. Why should the quickfix create a non-default method? What would be a reasonable explanation for that behavior? |
I use Xtend mostly to define JUnit test cases. When following the TDD manner, it is a common way to create test helper methods in the test classes using that quickfix. Since the test helper methods are usually private, it would be useful to be able to create private method stubs using a quickfix. Maybe we can unify the @cdietrich : What do you think? |
@loradd I can still reproduce the problem: |
I reconsidered this. It would be ok for me if we offered |
@loradd How is the progress here? |
@cdietrich @szarnekow @ArneDeutsch @kthoms Could please someone review the PR? |
@miklossy what is the state? |
Add new Xtend editor quickfixes on *.xtend files #1060
I do not know the current state. Someone should take a look at it as requested a month ago. @cdietrich @szarnekow @ArneDeutsch @kthoms Could please someone review the PR? |
Fixed in 2.23 |
The Xtend IDE should provide the following quickfixes on
*.xtend
files:@loradd Would you like to take care of this issue?
The text was updated successfully, but these errors were encountered: