Open
Description
🐛 Bug Report
If you are going to start a problem which doesn't support your default language, it will throw an error and create an empty file with it.
To Reproduce
- Set default language to
JavaScript
- Start a problem which doesn't support it, for example, LC181, which is a SQL problem.
- An error arose and an empty file with extension
.js
will be created
Expected behavior
- should not create file if failed to fetch code template
- If current problem doesn't support default language, it's better to have a QuickPick for user to select among supported languages.
Extension Output
[ERROR] Not supported language "javascript"
[WARN] Supported languages: mssql mysql oraclesql
Your Environment
- os: macOS Catalina 10.15.6
- extension settings: -
- nodejs version: v11.15.0
- vscode version: 1.48.0
- extension version: 0.17.0
Metadata
Metadata
Assignees
Labels
No labels