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 --indent option to timetrace2txt. #4391

Merged

Conversation

JohanEngelen
Copy link
Member

The options indents all list items. Helps with editors (such as SublimeText) that automatically enable "code folding" based on indentation, which makes it easier to navigate large time traces with deep item nested levels.

The options indents all list items. Helps with editors (such as SublimeText) that automatically enable "code folding" based on indentation, which makes it easier to navigate large time traces with
deep item nested levels.
…(with this PR, it can also read Clang's -ftime-trace output).
@JohanEngelen JohanEngelen merged commit f397130 into ldc-developers:master May 7, 2023
@JohanEngelen JohanEngelen deleted the timetrace2txt_indent branch May 7, 2023 14:58
JohanEngelen added a commit to weka/ldc that referenced this pull request Jun 1, 2023
* Add --indent option to timetrace2txt.

The options indents all list items. Helps with editors (such as SublimeText) that automatically enable "code folding" based on indentation, which makes it easier to navigate large time traces with
deep item nested levels.

* Make timetrace2txt a bit more resilient against different JSON files (with this PR, it can also read Clang's -ftime-trace output).
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

Successfully merging this pull request may close these issues.

1 participant