alibaba / alibaba/lowcode-engine

源码编辑器this.utils的提示问题

Open
#2,990 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

## **Describe the bug (required)** / **详细描述 bug(必填)**
请问一下,在源码编辑器中编辑代码时,如何实现用户在输入this.utils时,提示相关的静态变量或者是自定义的一些属性值,如下图片红色方框所示,目前提示的东西太少了,编写代码不太方便。或者是输入this. 的时候也能提示其他的一些方法或者属性值。
我看FAQ中有「如何通过 this.utils 使用第三方工具扩展」,但是这个和我说的应该不是一回事吧,另外我自己在代码的init的 appHelper:中添加了相应的函数,但是输入this.utils.还是没有相应的自定义函数提示。
![image](https://github.com/alibaba/lowcode-engine/assets/64902360/16424435-27c5-4a3b-8f96-88a52cef9b1a)

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no source files, tests, or entry points. Begin by locating the source editor's completion logic and how this.utils and appHelper are exposed; done means relevant static variables, custom properties, methods, and attributes appear in suggestions for this. and this.utils.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.