Skip to content
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

Custom language #4589

Open
2 tasks done
hanChao-IsBigPenisBoy opened this issue Jul 6, 2024 · 1 comment
Open
2 tasks done

Custom language #4589

hanChao-IsBigPenisBoy opened this issue Jul 6, 2024 · 1 comment
Labels
feature-request Request for new features or functionality

Comments

@hanChao-IsBigPenisBoy
Copy link

Context

  • This issue is not a bug report. (please use a different template for reporting a bug)
  • This issue is not a duplicate of an existing issue. (please use the search to find existing issues)

Description

I want to know if there are any experts who have customized constants, such as entering 'Persion.'` So it will prompt operations such as'. name,. id,. sex '. I have seen that the API needs to use' registerCompletionItemProvider 'with' triggerCharacters', but I cannot see how to use them specifically. Please guide me

Monaco Editor Playground Link

No response

Monaco Editor Playground Code

No response

@hanChao-IsBigPenisBoy hanChao-IsBigPenisBoy added the feature-request Request for new features or functionality label Jul 6, 2024
@RomainGuarinoni
Copy link

RomainGuarinoni commented Jul 12, 2024

Find an example here with a Person class and several attributes (id, sexe, name) like you described in your issue :

LINK TO PLAYGROUND

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants