diff --git a/README.md b/README.md index ac752c73..140ea099 100644 --- a/README.md +++ b/README.md @@ -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. | `""` | diff --git a/package.json b/package.json index bcdb5c02..64bd0de5 100644 --- a/package.json +++ b/package.json @@ -307,6 +307,7 @@ "c", "cpp", "csharp", + "elixir", "golang", "java", "javascript", @@ -476,6 +477,18 @@ }, "minProperties": 1 }, + "elixir": { + "type": "object", + "properties": { + "folder": { + "type": "string" + }, + "filename": { + "type": "string" + } + }, + "minProperties": 1 + }, "golang": { "type": "object", "properties": { diff --git a/src/shared.ts b/src/shared.ts index 84b529cc..d8cd3537 100644 --- a/src/shared.ts +++ b/src/shared.ts @@ -24,6 +24,7 @@ export const languages: string[] = [ "c", "cpp", "csharp", + "elixir", "golang", "java", "javascript", @@ -44,6 +45,7 @@ export const langExt: Map = new Map([ ["c", "c"], ["cpp", "cpp"], ["csharp", "cs"], + ["elixir", "ex"], ["golang", "go"], ["java", "java"], ["javascript", "js"], pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy