We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ce60f5 commit 665e992Copy full SHA for 665e992
firebase-vscode/src/data-connect/file-utils.ts
@@ -69,8 +69,10 @@ export function insertToBottomOfActiveFile(text: string) {
69
return;
70
}
71
const lastLine = editor.document.lineAt(editor.document.lineCount - 1);
72
+ const escapedText = text.replace(/\$/g, "\\\$"); // escape $ symbols
73
+
74
editor.insertSnippet(
- new vscode.SnippetString(`\n\n${text}`),
75
+ new vscode.SnippetString(`\n\n${escapedText}`),
76
lastLine.range.end,
77
);
78
0 commit comments