fidley / ABAPQuickFix

ABAP Quick Fix
https://abapblog.com
MIT License
42 stars 9 forks source link

Refactor Full-Line to In-Line Comments + additional cleanup/refactoring #33

Closed g-back closed 2 years ago

g-back commented 2 years ago

The renames may be controversial, I'd understand if you'd want me to remove that from this PR, let me know

fidley commented 2 years ago

No problem for the refactoring. Fine for me :)

fidley commented 2 years ago

check the PR on my installation and then I'll merge and build when everyghings fine. Thanks a lot!

fidley commented 2 years ago

Some minor issue I found during the tests, could you take a look on them?

  1. We recevie the QuickFix to replace the full line comments in the selected area even if there is no selection. Of course after usage it does not work.
  2. When you have a dot in the comment at the end it is left somehow. It should be deleted as well fullLineComments
  3. Not sure if this behaviour is OK? It removes the comment and commented code until 1st dot. Was this done like this on purpose? fullLineComments2
g-back commented 2 years ago
  1. Agreed, the fix shouldn't be proposed there, will take a look tomorrow

In 2 and 3 you are using a fix that already exists in the current version, not the one I'm adding in this PR 😅

Unless this PR changed the behaviour of that fix?

fidley commented 2 years ago

In 2 and 3 you are using a fix that already exists in the current version, not the one I'm adding in this PR 😅

Unless this PR changed the behaviour of that fix?

haha, true seems to be added by me in the past..... funny 😂🤣 I need to remind myself what was the goal 😂

g-back commented 2 years ago

But yeah i noticed that too, we can refractor it in the future 🙂

g-back commented 2 years ago
  1. Should be fixed now!
fidley commented 2 years ago

Thanks Will build new version in the evening :)

fidley commented 2 years ago

Sorry for the delay, but when I opened the code in Eclipse I started directly the refactoring and of course some of my previous quick fixes started not to work correctly. I probaly need some time tomorrow still to find all issues then I'll build.

I need to learn also how to do all the process corectly, means to check the PRs of others while I still have my own changes on the way. this could speed up things.

Sorry once again @g-back.

fidley commented 2 years ago

I've deployed plugin to the update side. Could you please test it this works for you?

fidley commented 2 years ago

@g-back Don't know if I asked, do you have Twitter and/or LinkedIn handle?

g-back commented 2 years ago

I do, but I don't really post anything there 🙂 What for, if I may ask?

fidley commented 2 years ago

To let SAP Community know about your input into the plugin 😊