Skip to content

String literal completions right after quoteΒ #52675

@zardoy

Description

@zardoy

Bug Report

πŸ”Ž Search Terms

⏯ Playground Link

https://www.typescriptlang.org/play?#code/MYewdgzgLgBAhgLhgcjsmBeFyg

πŸ’» Code

// Trigger suggst after last quote
const a: 'a' = ''

πŸ™ Actual behavior

Suggests string literal completions ("a")

πŸ™‚ Expected behavior

Doesn't suggest string literal completions

This is more general version of #51667 (I also opened this issue to ensure <input type='text'[||] /> case is captured)

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: LS: Completion ListsThe issue relates to showing completion lists in an editor

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions