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

Fade code which was disabled by preprocessor during indexing #89

Open
PathogenDavid opened this issue Oct 20, 2020 · 0 comments
Open

Fade code which was disabled by preprocessor during indexing #89

PathogenDavid opened this issue Oct 20, 2020 · 0 comments
Assignees

Comments

@PathogenDavid
Copy link

When code is disabled by the preprocessor it isn't indexed by the generator, which is both understandable and unsurprising.

To help the user identify that the code isn't enabled in the configuration that was indexed, the code in disabled sections should be faded or grayed out. (Example from a similar tool for C#)

For example, see https://code.woboq.org/linux/linux/include/linux/acpi_dma.h.html#93 At a glance it seems like the code browser is broken and not working, but in reality you just need to scroll up to the enabled implementation above.

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

2 participants