diff --git a/src/compiler/quickFixes.ts b/src/compiler/quickFixes.ts new file mode 100644 index 0000000000000..b89b4d688c5dd --- /dev/null +++ b/src/compiler/quickFixes.ts @@ -0,0 +1,10 @@ +// New quick fix for adding a private method +export function addPrivateMethodFix() { + return { + title: 'Add private method', + edit: (editor) => { + editor.insertText('\nprivate _baz() {\n // method body\n}\n'); + }, + filterText: '_baz' + }; +} \ No newline at end of file