-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
A-completionautocompletionautocompletionS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now
Description
Given the following use statement:
use syntax::{ast, match_ast, AstNode, SyntaxKind::*, SyntaxToken, TokenAtOffset, T};
auto-importing syntax::SyntaxKind
via assist ruins the tree by incorrectly replacing the SyntaxKind::*
part with a glob import giving:
use syntax::{self, ast, match_ast, AstNode, SyntaxToken, TokenAtOffset, T, *};
Expected would be:
use syntax::{ast, match_ast, AstNode, SyntaxKind::{self, *}, SyntaxToken, TokenAtOffset, T};
Metadata
Metadata
Assignees
Labels
A-completionautocompletionautocompletionS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now