From 6d97c7c1b7586cd91ef9f373820363b8116f8895 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Tue, 8 Aug 2023 18:29:14 +0530 Subject: [PATCH] multiple visibility options --- .../editor/src/lib/providers/quickfixes.ts | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/libs/remix-ui/editor/src/lib/providers/quickfixes.ts b/libs/remix-ui/editor/src/lib/providers/quickfixes.ts index 24fb34c86b..023779a5f9 100644 --- a/libs/remix-ui/editor/src/lib/providers/quickfixes.ts +++ b/libs/remix-ui/editor/src/lib/providers/quickfixes.ts @@ -23,10 +23,25 @@ export default { } }], "SyntaxError: No visibility specified. Did you intend to add \"public\"": [{ - "id": 3, + "id": 3.1, "title": "Add visibility 'public'", "message": "public ", "nodeType": "FunctionDefinition" + },{ + "id": 3.2, + "title": "Add visibility 'private'", + "message": "private ", + "nodeType": "FunctionDefinition" + },{ + "id": 3.3, + "title": "Add visibility 'internal'", + "message": "internal ", + "nodeType": "FunctionDefinition" + },{ + "id": 3.4, + "title": "Add visibility 'external'", + "message": "external ", + "nodeType": "FunctionDefinition" }], "Warning: Function state mutability can be restricted to view": [{ "id": 4,