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 user-selectable pretty-printing option for showing long-form names. #1608

Open
brianhuffman opened this issue Mar 9, 2022 · 1 comment
Labels
subsystem: saw-core Issues related to the saw-core representation or the saw-core subsystem type: enhancement Issues describing an improvement to an existing feature or capability usability An issue that impedes efficient understanding and use
Milestone

Comments

@brianhuffman
Copy link
Contributor

Names in saw-script are based on globally-unique URIs that also have one or more shorter "preferred" names to be used for parsing and printing. Currently pretty printing is inconsistent: Some commands display the short-form names, while others display the long URI names (see #1277 and #1607).

We should consistently use the short-form names for all pretty-printing commands. But we should also add a user-selectable option (e.g. a command like set_long_names true) that tells the pretty-printer to use long-form names, for those situations where a user would like to see them for debugging purposes.

@sauclovian-g
Copy link
Contributor

also see #747

@sauclovian-g sauclovian-g added type: enhancement Issues describing an improvement to an existing feature or capability usability An issue that impedes efficient understanding and use subsystem: saw-core Issues related to the saw-core representation or the saw-core subsystem labels Nov 2, 2024
@sauclovian-g sauclovian-g added this to the 2025T1 milestone Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
subsystem: saw-core Issues related to the saw-core representation or the saw-core subsystem type: enhancement Issues describing an improvement to an existing feature or capability usability An issue that impedes efficient understanding and use
Projects
None yet
Development

No branches or pull requests

2 participants