-
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Benefit
In these case, I normally need to trigger suggestion by shortcut, with auto suggestion would be more convinient.
Note
↓ respensent cursor position.
case1
press space or enter in object destructure after comma:
const { data, ↓ } = useProfile()case2
press space or enter after object literal property comma:
interface A {
name: string;
age: number;
}
// press `space` after `comma`
const a: A = {
name: 'a', ↓
};
// press `enter` after `comma`
const a: A = {
name: 'a',
↓
};case3
jsx component attribute when press enter:
<Stack
direction="column"
sx={{ height: 1, width: 1 }}
↓
alignItems="center"
justifyContent="center"
>
{renderAffiliate()}
</Stack>Metadata
Metadata
Assignees
Labels
No labels