feat(editor): Add Object global completions (#5407)

* ✏️ Add i18n info

*  Mount i18n keys

* ✏️ Fix typos in tests

*  Add `Object` global completion

*  Add `Object` global options completions

* 🧪 Add tests
This commit is contained in:
Iván Ovejero
2023-02-08 12:41:33 +01:00
committed by GitHub
parent d469a98073
commit d7b3923c2f
5 changed files with 60 additions and 6 deletions

View File

@@ -135,6 +135,10 @@
"codeNodeEditor.completer.$workflow.id": "The ID of the workflow",
"codeNodeEditor.completer.$workflow.name": "The name of the workflow",
"codeNodeEditor.completer.binary": "The item's binary (file) data",
"codeNodeEditor.completer.globalObject.assign": "Copy of the object containing all enumerable own properties",
"codeNodeEditor.completer.globalObject.entries": "The object's keys and values",
"codeNodeEditor.completer.globalObject.keys": "The object's keys",
"codeNodeEditor.completer.globalObject.values": "The object's values",
"codeNodeEditor.completer.json": "The item's JSON data. When in doubt, use this",
"codeNodeEditor.completer.luxon.dateTimeStaticMethods.fromFormat": "Create a DateTime from an input string and format string.",
"codeNodeEditor.completer.luxon.dateTimeStaticMethods.fromHTTP": "Create a DateTime from an HTTP header date",