Open seognil opened 5 years ago
Hi @seognil,
Would you mind to describe more about the multi-language session
? Just not quite get your point. 😄
(Oh, I get it now, the session
feature is from leetcode.com, I can manage that on the website.)
The remaining problem is, language
I mean programing language
(or defaultLanguage
from the api),
I thought it could be better if each session has its own defaultLanguage
config in local.
(I only found the global leetcode.defaultLanguage
in settings.json
in vscode now)
For example:
// leetcode-training-folder/.vscode/settings.json
{
"leetcode.sessions": {
"js (session label)": {
"defaultLanguage": "javascript",
"outputFolder": "./js/"
},
"cpp": {
"defaultLanguage": "cpp",
"outputFolder": "./cpp/"
},
"python": {
"defaultLanguage": "python",
"outputFolder": "./py/"
}
}
}
How about that 😄
Switch session is supported in the extension, see: https://github.com/jdneo/vscode-leetcode#manage-session
About your proposed setting schema, I'm not sure if this is a common requirement from others. So I tend to leave it open for a while to see if there is any feedback from other users.
Thank you.
🚀 Feature Proposal
Thanks for the work! 😄
I thought it would be great if it could has
multi language
session switch feature.I saw there was already a session feature, but I'm confused with the configuration, (I could not found much detailed description in readme... 🤔)
Is there a separate config file like
.leetcoderc
? or only in vscode'ssettings.json
(Maybe a local
leetcode-progress
json structure to record, even better)(For self analyze propose...)Motivation
Because I want to practice with multi languages 🙋♀️