Skip to content

Text changes for completion CodeAction are affected by the completion #39893

@ghost

Description

  • VSCode Version: Code - Insiders 1.19.0-insider (cd906f8, 2017-12-07T06:14:22.977Z)
  • OS Version: Linux x64 4.4.0-21-generic
  • Extensions: none

Steps to Reproduce:

  1. Create b.ts containing:
export const foo = 0;
export const bar = 1;
  1. Create a.ts containing:
; import { foo } from "./b";
  1. Go to the start of the line, type ba, and accept the completion.
  2. You get bar; import { fo, baro } from "./b";
    (expected bar; import { foo, bar } from "./b";)

@mjbvz We were talking about this at the meeting today.

Metadata

Metadata

Assignees

Labels

*out-of-scopePosted issue is not in scope of VS CodebugIssue identified by VS Code Team member as probable bugsuggestIntelliSense, Auto CompletetypescriptTypescript support issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions