Aleksandr
Aleksandr

Reputation: 2321

Visual Studio Code replaces console.log()

Visual Studio Code randomly (50 percents of cases) replaces the console.log( with console( in JavaScript (ES6, Vanilla). All settings are set by default, no shortcuts or extensions used.

Have anybody experienced this behaviour?

Demonstration

Version

Upvotes: 5

Views: 1688

Answers (1)

VonC
VonC

Reputation: 1329512

This is followed by issue 56026

Can you try setting editor.acceptSuggestionOnCommitCharacter to false and see if you still have this issue?

It is possibly solved in 1.27.1 (possibly without having to change that setting).

Upvotes: 1

Related Questions