Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Allow temporary changes to examples in rule settings #48

Closed
ConjuringCoffee opened this issue Jun 6, 2023 · 2 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@ConjuringCoffee
Copy link
Contributor

Each rule has some examples that immediately show the result of the selected rule options. With this issue I'd like to request being able to edit the code from the example directly. This would make testing the settings easier and faster.

@jmgrassau jmgrassau added enhancement New feature or request wontfix This will not be worked on labels Jun 7, 2023
@jmgrassau
Copy link
Member

Hi ConjuringCoffee,

I suppose you are aware of the "Paste" button to test cleanup rules and settings on your own code…

image

… so this is about being able to then modify the code directly inside the ABAP cleaner example, right? I do see your point – I usually use Notepad++ to experiment with own code snippets and then copy/paste them into the examples section; and these copy/paste shortcuts could of course be saved with this idea.

Currently, this control is a paintable Canvas to give ABAP cleaner complete freedom on how to display the code. Replacing it with an editable control would be possible, but I don't think we could then easily have the same code coloring, highlighting of changes etc. – that would simply be a bit much just for this purpose.

So, nice idea, but from effort perspective most probably a "won't fix", at least from my end.

Kind regards,
Jörg-Michael

@ConjuringCoffee
Copy link
Contributor Author

That's understandable - thank you for considering it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants