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

Suggested variable name completions have trouble with leading $, @, and # #262

Closed
jkyeung opened this issue Oct 5, 2023 · 1 comment
Closed
Milestone

Comments

@jkyeung
Copy link

jkyeung commented Oct 5, 2023

Describe the bug
When a variable's name begins with @ or #, it seems to never show up in the suggested completions. When a variable's name starts with $, it can show up in the suggestions, but accepting it doubles up the $.

To Reproduce
Steps to reproduce the behavior:

  1. Declare a variable $myvar (in RPG).
  2. Begin an assignment statement with $m.
  3. Accept the suggested $myvar.
  4. Notice that your cursor now follows $$myvar.

Expected behavior
Accepting $myvar results in $myvar, not $$myvar.

Screenshots
I will add upon request.

Environment (please complete the following information):

  • Extension version: 2.3.1
  • IBM i OS version: 7.4

Additional context
The behavior for leading @ and # is very different. If that needs to be a separate issue, I can create one.

@worksofliam worksofliam transferred this issue from codefori/vscode-ibmi Oct 5, 2023
@worksofliam worksofliam added this to the 2024 features milestone Jan 17, 2024
@worksofliam
Copy link
Contributor

Closing as tracking with #285

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