FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Flip imports to case insensitive sorting by jakebailey · Pull Request #51579 · microsoft/TypeScript · GitHub

Flip imports to case insensitive sorting - #51579

Merged
Jake Bailey (jakebailey) merged 1 commit into
microsoft:mainfrom
jakebailey:reformat-imports-2
Nov 17, 2022
Merged

Flip imports to case insensitive sorting#51579
Jake Bailey (jakebailey) merged 1 commit into
microsoft:mainfrom
jakebailey:reformat-imports-2

Conversation

Copy link
Copy Markdown
Member

After merging #51565, I went to merge it into SFT only to hit issues with auto-imports; it looks like auto-imports always inserts new imports at the bottom unless the imports are sorted case-insensitivly.

Flipping these imports to case insensitive means that future auto-imports seem to be inserted in the right place.

Wesley Wigham (weswigham) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

We should file 2 bugs:

  1. To fix auto imports insertion order on case-sensitive import lists
  2. To swap our imports back once we've shipped said fix

Copy link
Copy Markdown
Member Author

How much do we need 2? My only problem is just that it's more churn for other PRs again if I reorder everything. I suppose it's one time, but I don't know that it actually matters what the order is as long as it merges well (which any sort will do).

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL