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

Word completion includes too many characters #27

Open
zopsicle opened this issue Sep 28, 2023 · 2 comments
Open

Word completion includes too many characters #27

zopsicle opened this issue Sep 28, 2023 · 2 comments

Comments

@zopsicle
Copy link

zopsicle commented Sep 28, 2023

VS Code has a word completion feature that looks at words that are in any of the currently open files. For BQN, it includes characters that aren’t part of the identifier:

bqn-vscode-word-completion.mp4

In the above screen capture, the expected word completions are modifier1 and modifier2.

Another feature of VS Code is to highlight the word that the cursor is currently on. This seems to include too many characters as well, and this is probably caused by the same:

Screenshot

Using BQN language v0.1.5.

@razetime
Copy link
Owner

ah, i will fix identifiers to avoid including punctuation in names. this should be a simple fix.

@razetime
Copy link
Owner

razetime commented Oct 21, 2023

oh, also, please copy and paste the text to replicate the bug. it's best to make that a habit in most issues.

Feel free to provide as much text as you can, so I can make sure i'm matching identifiers right.

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