Cross-language code editing allows you to use Node-API to encapsulate the APIs exposed to ArkTS or JS.



The Generate native implementation feature is supported in cross-language .d.ts files, allowing for the one-click generation of corresponding function definitions in C++ files.
To use this feature, hover the cursor over the name of an undefined function. In the popup window, click Generate native implementation, or click the red light bulb icon that appears on the page and select Generate native implementation, to create the function definition.
