-
Notifications
You must be signed in to change notification settings - Fork 37.4k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buggood first issueIssues identified as good for first-time contributorsIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiessnippetstypescriptTypescript support issuesTypescript support issuesverifiedVerification succeededVerification succeeded
Milestone
Description
- Create a .ts file
- Type
import - Press tab to activate the "import statement" snippet
Expected and actual: completes to import { } from "module";
- Create a .tsx file (TypeScript + JSX)
- Type
import - Press tab to activate the "import statement" snippet
Actual: completes to import name = require('');
Expected: completes to import { } from "module";
Is there any reason why the snippet is inconsistent between .ts and .tsx files?
jiayihu
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buggood first issueIssues identified as good for first-time contributorsIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiessnippetstypescriptTypescript support issuesTypescript support issuesverifiedVerification succeededVerification succeeded