fluttercommunity / fluttercommunity/import_sorter

Sort alphabetically without groupings

Open
#58 1 comment 6 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
183
Forks
42
PR merge metrics
No merged PRs in 30d

Description

Can an option be added to sort all imports alphabetically instead of grouping them?

This is the behaviour I get when organising imports in Android Studio.

```
import 'package:alpha/a.dart';
import 'package:beta/b.dart';
import 'package:charlie/c.dart';
import 'package:delta/d.dart';
```

Many thanks
James

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the import-sorting implementation and the configuration or command entry point where sorting options are defined. Confirm how grouped imports are currently handled, then define completion as an option that produces one alphabetically sorted import list matching the example behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.