feat(editor): Add most important native props and methods to autocomplete (#5486)

*  Implemented support for documentation links in autocomplete tooltips
*  Added support for arguments and code stying in autocomplete documentation. Added build-in string functions docs.
*  Added support for args without types in autocomplete, Added array native functions.
*  Added native Number and Object methods to autocomplete
*  Added support for native properties in autocomplete
* 📚 Added comment for next phase
* ✔️ Updating tests to account for native autocomplete options. Fixing lint errros.
* 👌 Addressing design review comments
* 🎨 Using design-system tokens instead of colors for autocomplete
This commit is contained in:
Milorad FIlipović
2023-02-16 12:47:19 +01:00
committed by GitHub
parent af703371fc
commit 6592d144d1
11 changed files with 673 additions and 56 deletions

View File

@@ -1,5 +1,9 @@
import { stringMethods } from './String.methods';
import { arrayMethods } from './Array.methods';
import { numberMethods } from './Number.methods';
import { objectMethods } from './Object.Methods';
import type { NativeDoc } from '@/Extensions/Extensions';
const NATIVE_METHODS = [stringMethods];
const NATIVE_METHODS: NativeDoc[] = [stringMethods, arrayMethods, numberMethods, objectMethods];
export { NATIVE_METHODS as NativeMethods };