When trying to use turbo console log , variable gets replaced by character

Viewed 1697

I am new in visual studio code. I was seeking for useful plugins for vs code and I found that Turbo Console Log is a good one.

Now after installing, inside settings.json, I did some changes,

  "turboConsoleLog.wrapLogMessage":true,
  "turboConsoleLog.insertEnclosingFunction":true,
  "turboConsoleLog.includeFileNameAndLineNum":true,

Also I noticed that Turbo Console Log is there and ctrl+alt+L is not have any conflicts with others. enter image description here

Now when I am trying to use by selecting the word and then press ctrl+alt+L,

the variable replaced by ̥

enter image description here

Did anyone face similar issue??

Edit:

Command Palette enter image description here

2 Answers

Ok , By the help of this link I am able to override the settings, currently mine is, keybindings.json

    {
        "key": "ctrl+alt+2",
        "command": "turboConsoleLog.displayLogMessage"
    },
    {
        "key": "ctrl+alt+3",
        "command": "turboConsoleLog.deleteAllLogMessages"
    },
    {
        "key": "ctrl+alt+4",
        "command": "turboConsoleLog.commentAllLogMessages"
    },
    {
        "key": "ctrl+alt+6",
        "command": "turboConsoleLog.uncommentAllLogMessages"
    },

My console right now: enter image description here

While I am aware that changing keyboard shortcut is the preferred solution,the root cause of this problem is with the keyboard language.When I switched to English (UK) keyboard, this problem didn't persist.Now there might be other keyboards that might not have this problem,English(UK) is the one I know so far to be free from this issue.

You can switch keyboards from the bottom right language option in the taskbar or press Windows + Space

Related