Skip to content

Provide option to disable ?. completions #34542

@DanielRosenwasser

Description

@DanielRosenwasser

Was speaking with @mjbvz today who asked if it made sense to disable optional chaining (a.k.a null propagation, safe navigation, elvis) ?. completions since

  • .js users in strict mode might not have a compiler.
  • Users in general might find it annoying.

I suppose this would be surfaced in Visual Studio or VS Code's completion options.

Metadata

Metadata

Labels

CommittedThe team has roadmapped this issueDomain: LS: Completion ListsThe issue relates to showing completion lists in an editorFixedA PR has been merged for this issueSuggestionAn idea for TypeScript

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions