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 not working after upgrading to 0.0.15 #4

Open
ClaudeBirtz opened this issue Oct 5, 2020 · 9 comments
Open

Autocomplete not working after upgrading to 0.0.15 #4

ClaudeBirtz opened this issue Oct 5, 2020 · 9 comments

Comments

@ClaudeBirtz
Copy link

Hi,

thanks for your helpful extension. Unfortunately autocomplete and problem detection stopped working a few weeks ago, I suspected I had somehow messed up my settings. Trying to find the source of the error, I noticed that when I switch back to version 0.0.12 autocomplete and problem detection work again.

0.0.14 has the same behaviour than 0.0.15.

Best regards,
Claude

@ishche
Copy link

ishche commented Oct 5, 2020

Thank you!
What version of Java do you have?

@ClaudeBirtz
Copy link
Author

Hi,

when I enter java -version in a command prompt:

openjdk version "1.8.0_232"
OpenJDK Runtime Environment Corretto-8.232.09.1 (build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM Corretto-8.232.09.1 (build 25.232-b09, mixed mode)

@ishche
Copy link

ishche commented Oct 5, 2020

openjdk version "1.8.0_232"

Formally we don't support Java 8 anymore. But I don't see a reason why it shouldn't work with it. I'll check if where Is something wrong with 0.0.15.

You can try to update java to see if it fixes the problem.

@ClaudeBirtz
Copy link
Author

Thank you very much for your help,

I've updated to Java 11 and I noticed that in a new, empty file the auto completion works fine, but gets slower as the file gets bigger to the point it seems it doesn't work at all. I also see a big increase in CPU usage in taskmanager during that time.

Dropping back to 0.0.12 solves this issue, even in large files.

I also don't have these "abc" suggestions in REXX codes, whereas they appear when I use Broadcom JCL extension, or any other extension. I guess that's not normal either, maybe I should try to reinstall VS Code?

@ishche
Copy link

ishche commented Oct 5, 2020

There is no need to reinstall the vscode. But I want to ask you to disable all other vscode extensions and check if the issue with "abc" and performance is still there.

How big that file when it's almost not working?

@ClaudeBirtz
Copy link
Author

I disabled all extensions, first only in the workspace, then globally.
Performance is fine for a small file with a few instructions, but the "abc" suggestions newer show up. If I disable REXX extension as well, the "abc" suggestions show.
The "large" file I was talking about has 400 lines.
I'm quite sure none of this was an issue when I first started using the extension, but as I did hardly any work in REXX other than editing a few lines in the recent months, I can't say for sure.

@ishche
Copy link

ishche commented Oct 5, 2020

Thanks a lot.
400 lines it's not a big file and REXX extension definitely should work with it.
I'll create separate issues for them:
Performance: #5
"abc" suggestions: #6

@geraldpf
Copy link

geraldpf commented Oct 12, 2020 via email

@ishche
Copy link

ishche commented Nov 2, 2020

I was able to identify the performance problem. It will take some time to resolve it. But I made some performance tweaks for now. There are available in 0.0.17 on the marketplace.

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

3 participants