Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Thanks for [@yihong0618](https://github.com/yihong0618) provided a workaround wh
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ |
| `leetcode.hideSolved` | Specify to hide the solved problems or not | `false` |
| `leetcode.showLocked` | Specify to show the locked problems or not. Only Premium users could open the locked problems | `false` |
| `leetcode.defaultLanguage` | Specify the default language used to solve the problem. Supported languages are: `bash`, `c`, `cpp`, `csharp`, `golang`, `java`, `javascript`, `kotlin`, `mysql`, `php`, `python`,`python3`,`ruby`,`rust`, `scala`, `swift`, `typescript` | `N/A` |
| `leetcode.defaultLanguage` | Specify the default language used to solve the problem. Supported languages are: `bash`, `c`, `cpp`, `csharp`, `elixir`, `golang`, `java`, `javascript`, `kotlin`, `mysql`, `php`, `python`,`python3`,`ruby`,`rust`, `scala`, `swift`, `typescript` | `N/A` |
| `leetcode.useWsl` | Specify whether to use WSL or not | `false` |
| `leetcode.endpoint` | Specify the active endpoint. Supported endpoints are: `leetcode`, `leetcode-cn` | `leetcode` |
| `leetcode.workspaceFolder` | Specify the path of the workspace folder to store the problem files. | `""` |
Expand Down
13 changes: 13 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@
"c",
"cpp",
"csharp",
"elixir",
"golang",
"java",
"javascript",
Expand Down Expand Up @@ -476,6 +477,18 @@
},
"minProperties": 1
},
"elixir": {
"type": "object",
"properties": {
"folder": {
"type": "string"
},
"filename": {
"type": "string"
}
},
"minProperties": 1
},
"golang": {
"type": "object",
"properties": {
Expand Down
2 changes: 2 additions & 0 deletions src/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const languages: string[] = [
"c",
"cpp",
"csharp",
"elixir",
"golang",
"java",
"javascript",
Expand All @@ -44,6 +45,7 @@ export const langExt: Map<string, string> = new Map([
["c", "c"],
["cpp", "cpp"],
["csharp", "cs"],
["elixir", "ex"],
["golang", "go"],
["java", "java"],
["javascript", "js"],
Expand Down