We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eeb3a1d + 595b589 commit 19421d6Copy full SHA for 19421d6
integration/vscode/ada/src/commands.ts
@@ -524,7 +524,7 @@ async function restartLanguageServers() {
524
* @param snippetName - the name of the snippet to insert in the newly created editor.
525
*/
526
async function createNewFile(langId: string, snippetName: string) {
527
- const doc = await vscode.workspace.openTextDocument({ language: 'ada' });
+ const doc = await vscode.workspace.openTextDocument({ language: langId });
528
await vscode.window.showTextDocument(doc);
529
await vscode.commands.executeCommand('editor.action.insertSnippet', {
530
langId: langId,
0 commit comments