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

Autocomplete timing in playground editor #52

Open
touyu opened this issue Oct 2, 2023 · 1 comment
Open

Autocomplete timing in playground editor #52

touyu opened this issue Oct 2, 2023 · 1 comment

Comments

@touyu
Copy link

touyu commented Oct 2, 2023

Hi, Thank you for the useful library.

I've noticed that when writing code in the editor within the Playground, the autocomplete seems to lag by a slight moment. For instance, if there's a router named trpc.user, the autocomplete for 'user' appears as I type 'u'.
Would it be possible to have the autocomplete suggestions appear as soon as I type the '.' in 'trpc.'?

@MatsDK
Copy link
Collaborator

MatsDK commented Oct 7, 2023

Hi, I think this is an issue with CodeMirror's autocomplete plugin. You can trigger the autocompletion manually by pressing Ctrl+Space. You can do this after you type trpc., this should autocomplete all your queries. I hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants