Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fade code which was disabled by preprocessor during indexing #89

Open
Assignees
@PathogenDavid

Description

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /