Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot switch default language #924

Open
wangzhankun opened this issue Mar 3, 2024 · 0 comments
Open

cannot switch default language #924

wangzhankun opened this issue Mar 3, 2024 · 0 comments

Comments

@wangzhankun
Copy link

馃悰 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}",
        }
    },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant