Skip to content

Commit 19421d6

Browse files
Merge branch 'topic/templates' into 'master'
Set proper language for file templates See merge request eng/ide/ada_language_server!2000
2 parents eeb3a1d + 595b589 commit 19421d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration/vscode/ada/src/commands.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ async function restartLanguageServers() {
524524
* @param snippetName - the name of the snippet to insert in the newly created editor.
525525
*/
526526
async function createNewFile(langId: string, snippetName: string) {
527-
const doc = await vscode.workspace.openTextDocument({ language: 'ada' });
527+
const doc = await vscode.workspace.openTextDocument({ language: langId });
528528
await vscode.window.showTextDocument(doc);
529529
await vscode.commands.executeCommand('editor.action.insertSnippet', {
530530
langId: langId,

0 commit comments

Comments
 (0)