Jake Bailey

Results 1408 comments of Jake Bailey

I tried this out in #53173 and I didn't see much of a difference; perhaps we've optimized it enough that this turns out to not be a problem anymore. But,...

Sorry, I thought this was about emit 😅

Testing TS 5.0 with: ``` "typescript.unstable": { "organizeImportsCollation": "unicode", "organizeImportsCaseFirst": "upper", "organizeImportsIgnoreCase": false, "organizeImportsNumericCollation": true }, ``` Both dprint and TS's "sort imports" sort the above example like: ```ts import...

Of course, the best setting for dprint when used with the plugin is _probably_ to set it to maintain on all of the import/export related settings, which makes it match...

Just for reference, this is effectively what TS is setting with the above config: ```ts ["app/app", "app-init"].sort(new Intl.Collator("en", { sensitivity: "base", caseFirst: "upper", numeric: true, }).compare) ``` Which my console...

Yeah, it's tricky; I think I'd actually expect them to be sorted by first splitting on slashes, then sorting them in pieces, but that's not what this new (still unstable)...

Sure, you can set this in your user or workspace config: https://github.com/microsoft/TypeScript/pull/52090/files#diff-3bf027c5abb5653676adae4eb5c21ffc57cbf3b883b7b4ca691f356fde61e792 And then install the TS nightly extension in VS Code and ensure that the selected version is some...

Feedback is welcomed; this isn't fully polished yet.

I'd like to have this for the TS repo, but notably, just for imports. But, I'm pretty sure most options like this get split into different syntax kinds anyhow (just...

I prototyped this for import/exports and sent #473 for feedback/discussion. Seems to work, but I'm sure I did something wrong.