Skip to content

Orders in pathSortOrderOverride not consistent #16

@yellowbonV

Description

@yellowbonV

I have to packages needs to be import:

import React from 'react';
import { useSelector } from 'react-redux';

import otherCustomComponents from 'absolute paths';

is my settings.json, here is my settings:
"typescript.extension.sortImports.pathSortOrderOverride": [ "react", "react-redux"]
With this override react, react-redux are moved to top after I run F10, which is expected.
However, if I run F10 again the order of react, react-redux swag, if I run F10 again, the order swag back. Can we keep the orders consistent without swagging?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions