-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Auto-Suggestion for fields and values for structure LG #2681
Conversation
@cwhitten |
ok @cosmicshuai - is this still a draft or ready for review? |
It's ready for review. |
Composer/packages/tools/language-servers/language-generation/src/utils.ts
Show resolved
Hide resolved
@a-b-r-o-w-n is the visual editor container doing the clipping? |
@cwhitten possibly. I thought it was the form, but didn't see any element with |
…t#2681) * init * improvement * change suggestion item kind * add fixedOverflowWidgets to base editor options Co-authored-by: Andy Brown <asbrown002@gmail.com>
closes #2680
Now when user entering structure LG. The editor is able to suggest all possible fields and a value for each field. The effect can be
Full LG mode:
![full lg card](https://user-images.githubusercontent.com/17074777/79463437-6f735580-802b-11ea-8498-65b5696b9b32.gif)
![full lg suggest](https://user-images.githubusercontent.com/17074777/79463444-71d5af80-802b-11ea-9c64-05de48e57245.gif)
Inline LG mode:
![inline lg attachment](https://user-images.githubusercontent.com/17074777/79463467-78642700-802b-11ea-957d-96fbb12a9b0b.gif)
![inline lg card](https://user-images.githubusercontent.com/17074777/79463472-7ac68100-802b-11ea-9dab-ed5e0946deef.gif)