vscode-leetcode icon indicating copy to clipboard operation
vscode-leetcode copied to clipboard

cannot switch default language

Open wangzhankun opened this issue 2 years ago • 1 comments

🐛 Bug Report

I have tried two different ways to change the defalut programming language:

  1. ctrl+shift+p to find leetcode switch defalut language
  2. ctrl+, to change the config

But when I push code now button, it allways use the cpp language rather than the one I have set. I have tried to change to java\ golang\rust\c. All failed.

image

Extension Output

Paste here the LeetCode extension log from output channel.

Guidance: Press Ctrl+Shift+U, and toggle the channel to LeetCode.

Your Environment

  • os: ubuntu 22.04
  • nodejs version: 20.10.0
  • vscode version: 1.87.0
  • extension version: 0.18.1
    "leetcode.endpoint": "leetcode-cn",
    "leetcode.editor.shortcuts": [
        "submit",
        "test",
        "solution"
    ],
    "leetcode.showCDescription": true,
    "leetcode.workspaceFolder": "/home/wang/Documents/github/leetcode",
    "leetcode.hint.configWebviewMarkdown": false,
    "leetcode.defaultLanguage": "golang",
    "leetcode.hint.commandShortcut": false,
    "leetcode.hint.commentDescription": false,
    "leetcode.filePath": {
        "default": {
            "folder": "${ext}",
            "filename": "${id}.${kebab-case-name}.${ext}",
            "exec": "build/${id}.${kebab-case-name}",
        }
    },

wangzhankun avatar Mar 03 '24 07:03 wangzhankun

I ran into the same issue. Did you find a solution?

fakecore avatar Jan 03 '25 14:01 fakecore