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 won't work when keywords start with a non-word character #19

Open
ktekinay opened this issue Jul 5, 2015 · 0 comments
Open

Comments

@ktekinay
Copy link
Contributor

ktekinay commented Jul 5, 2015

For example, in Xojo there are keywords that start with "#" (#pragma, #endif, etc.). Autocomplete will not trigger on these.

A solution is to scan the first character of every keyword in the definition file for non-word characters and add those to the regex pattern that will identify the start of a new word.

Another solution is to let the user specify such special characters either at runtime and/or through the definition file. This will be needed if the user wants to add such autocomplete words that are separate from the keywords found in the definition file.

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

1 participant