-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorDomain: JSX/TSXRelates to the JSX parser and emitterRelates to the JSX parser and emitterEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Fix AvailableA PR has been opened for this issueA PR has been opened for this issueHelp WantedYou can do thisYou can do this
Milestone
Description
From microsoft/vscode#97220
TypeScript Version: 4.0.0-dev.20200708
Search Terms:
- jsx
- react
- aria
- suggest / suggestions / completions
Code
For the TS
import * as React from 'react';
export const a = (<div className="fdsa"></div>)
After the classname attribute:
- Manually trigger suggestions.
- Type
aria
Expected behavior:
Suggestions for aria show up
Actual behavior:
No suggestions.
In my testing, the suggestions do show up in a few different cases:
- When you manually trigger suggestions before className
- When you start typing to trigger suggestions
deadcoder0904
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Completion ListsThe issue relates to showing completion lists in an editorThe issue relates to showing completion lists in an editorDomain: JSX/TSXRelates to the JSX parser and emitterRelates to the JSX parser and emitterEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Fix AvailableA PR has been opened for this issueA PR has been opened for this issueHelp WantedYou can do thisYou can do this