Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Add description text to the File Encoding list #13680

Merged
merged 3 commits into from
Jan 24, 2017
Merged

Conversation

Down10
Copy link
Contributor

@Down10 Down10 commented Jan 23, 2017

Requirements

  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
  • All new code requires tests to ensure against regressions

Description of the Change

I updated the list of text encodings that appear in the Settings configuration menu to properly reflect the code pages supported by encoding-selector, as well as present descriptive text for the selection menu.

In the process, I removed what appeared to be a duplicate entry ('iso88597').

Alternate Designs

None considered. I based the syntax on the code below it (the Telemetry selection options).

Why Should This Be In Core?

It's a more user-friendly presentation of the list of supported code pages.

Benefits

Users may more easily recognize the available text encodings that Atom supports from the Settings configuration page.

Possible Drawbacks

The code may break the functionality of the menu, because I'm not aware of how the menus are constructed, to be honest. I presume a more experienced coder can figure this out.

I just thought this could be an improvement to the menu. 😃

Applicable Issues

None cited.

I updated the list of text encodings that appear in the Settings configuration menu to properly reflect the code pages supported by [encoding-selector](https://github.com/atom/encoding-selector), as well as present descriptive text in the selection menu.

In the process, I removed what appeared to be a duplicate entry ('iso88597').

Note: I don't know if this change will affect the functionality of the menu, but I presume a more experience coder can figure this out.
@Down10 Down10 changed the title 🎨 Added description text to the File Encoding list Add description text to the File Encoding list Jan 23, 2017
@lee-dohm
Copy link
Contributor

Looks good so far. Putting them into alphabetical order by description would be best.

I kept the Chinese entries together, however.
Caught a typo.
@Down10
Copy link
Contributor Author

Down10 commented Jan 23, 2017

I sorted the list, and I added the name "Unicode" to the related entries.

@lee-dohm lee-dohm merged commit 88a1905 into atom:master Jan 24, 2017
@lee-dohm
Copy link
Contributor

Thanks for contributing!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants