GoogleChrome / GoogleChrome/chrome-types

Enums should be alphabetized

Open
#43 1 comment 0 reactions 0 assignees View on GitHub
extensions-reference
Dominant language
JavaScript
Stars
274
Forks
44
PR merge metrics
No merged PRs in 30d

Description

Enums such as [those for `chrome.offscreen`](https://developer.chrome.com/docs/extensions/reference/offscreen/#type-Reason) are rendered in the same order they are entered into [the IDL source file](https://source.chromium.org/chromium/chromium/src/+/main:extensions/common/api/offscreen.idl). Rather than editing all source files to put enums in alphabetical order, we should just call a sorting function at the time the IDL is rendered as API reference.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.