You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use TSLint's ordered-imports rule to enforce alphabetized imports in TypeScript, and in general VSCode's organize imports feature adjusts the order correctly. However, I've run into a problem with the following example:
import {
OutputInfo,
OUTPUT_INFO_STORE,
} from 'output-info';
TSLint complains that those imports are out of order, and a JetBrains IDE correctly switches those two when organizing imports. However, VSCode leaves it as shown above (and reverts to that order if I manually swap them). This happens running TypeScript 3.3.3 in VSCode 1.32.3.
VS Code version: Code 1.32.3 (a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4, 2019-03-14T22:46:48.547Z)
OS version: Darwin x64 17.7.0
The text was updated successfully, but these errors were encountered:
Issue Type: Bug
We use TSLint's
ordered-imports
rule to enforce alphabetized imports in TypeScript, and in general VSCode's organize imports feature adjusts the order correctly. However, I've run into a problem with the following example:TSLint complains that those imports are out of order, and a JetBrains IDE correctly switches those two when organizing imports. However, VSCode leaves it as shown above (and reverts to that order if I manually swap them). This happens running TypeScript 3.3.3 in VSCode 1.32.3.
VS Code version: Code 1.32.3 (a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4, 2019-03-14T22:46:48.547Z)
OS version: Darwin x64 17.7.0
The text was updated successfully, but these errors were encountered: