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 the way of restoring original java code by tokens stream. #86

Closed
Pilipets opened this issue Nov 19, 2020 · 1 comment
Closed

Add the way of restoring original java code by tokens stream. #86

Pilipets opened this issue Nov 19, 2020 · 1 comment

Comments

@Pilipets
Copy link

I believe that will be useful to add the option in tokenizer to restore the original indentation and java code with a given stream of tokens.

I can commit to this functionality if you don't mind.

@Pilipets
Copy link
Author

Original code might contain tabs and spaces so one needs to change the way the column index is calculated by treating '\t', ' ' and other spaces as different column biases.

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