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

[BUG] Auto-Complete list of subroutines keeps growing, and across tabs #127

Closed
kpowick opened this issue Sep 16, 2020 · 1 comment · Fixed by #147
Closed

[BUG] Auto-Complete list of subroutines keeps growing, and across tabs #127

kpowick opened this issue Sep 16, 2020 · 1 comment · Fixed by #147
Labels
bug Something isn't working help wanted Extra attention is needed
Milestone

Comments

@kpowick
Copy link
Member

kpowick commented Sep 16, 2020

Each time the auto-complete list is displayed, the number of entries for every subroutine name in the program grows by one entry per subroutine.

For example, if the program has 2 subroutines SUB.01 and SUB.02, the first time the auto-complete list is displayed you see:
SUB.01
SUB.02

The second time it shows:
SUB.01
SUB.01
SUB.02
SUB.02

The third time it shows:
SUB.01
SUB.01
SUB.01
SUB.02
SUB.02
SUB.02

And so on, and so on, for each time it is displayed.

Screen Shot 2020-09-16 at 15 41 49

The second problem is that the growing list is carried across separate documents (tabs) within the same VS Code window. i.e. All document tabs within a window, with the language mode set to "MultiValue Basic", will show the growing list of subroutines from other tabs.

So, you're editing one program, but seeing the subroutines (repeated) from a different program that's on a separate tab. Note that this does not happen across separate VS Code Windows, just the tabs within one window.

O/S
macOS 10.14.6 (Mojave)

MV Extension
2.0.11

VS Code
Version: 1.49.0
Commit: e790b931385d72cf5669fcefc51cdf65990efa5d
Date: 2020-09-10T17:39:53.251Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Darwin x64 18.7.0

@itsxallwater
Copy link
Member

Fixed in develop and will be included in release 2.1.3. Thanks @kpowick and @tcharts-boop! 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants