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

Show autocomplete even when cursor is placed within text #33

Open
ComFreek opened this issue Jul 22, 2020 · 1 comment
Open

Show autocomplete even when cursor is placed within text #33

ComFreek opened this issue Jul 22, 2020 · 1 comment

Comments

@ComFreek
Copy link
Member

Currently, if the cursor is placed after punctutation (e.g. a bracket), autocomplete works:

image

But it doesn't if the cursor is right after a normal alphabet character:
image

For instance, this is a bit of a hassle if you write substitutions like f⟬γ⟭.

@Jazzpirate
Copy link
Contributor

autocomplete uses a default IntelliJ-API-component, which is intended for... well, actual autocomplete, via a list that links e.g. "jDD" to the declaration delimiter. Unfortunately, if you have an alphabetic character (like "a") before it, IntelliJ looks for autocompletions for "aj", which are... well, none ¯_(ツ)_/¯

I'm almost sure that can be changed but that requires digging into the API again, and... sigh... `:D

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