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

Add hook to pretty print code to show in diff in pull requests #113

Open
marcellourbani opened this issue Feb 13, 2025 · 0 comments
Open

Comments

@marcellourbani
Copy link

Is your feature request related to a problem? Please describe.
I often work in ABAP, which is case insensitive, and my diffs are often noisy:

Image

I would like to add a pretty printer hook to atlascode so I can mask most of the irrelevant differences:

Image

Another use case could be for instance unminifying javascript, or format and sort json

was https://bitbucket.org/atlassianlabs/atlascode/issues/5433/add-hook-to-pretty-print-code-to-show-in

Describe the solution you'd like
See the diff between formatted code rather than raw
I do want the ability to see the raw diff, just not as the default
Formatter is provided by another, language specific extension

I already have this working, will send a PR soon

Describe alternatives you've considered
Postprocess in my extension: works but I lose commenting and stuss like that

Additional context
Add any other context or screenshots about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant