redhat-developer / redhat-developer/vscode-java

Does not resolve to a ICompilationUnit

Open
#667 28 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ls-error/crash
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

RedHat Language for Java is just not working
No linter, no code suggestions, no "popups" on hovering, anything

I'm able to get the following error:
[Error - 21:08:10] 08-Oct-2018 21:08:10 file:///home/diego/GitHub/MAKEROID/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/util/crypt/MakeroidAES256.java does not resolve to a ICompilationUnit

It happens when the extension tries to read any file
I already tried deleting the extension and installing it again

Environment
  • Operating System: Debian 9
  • JDK version: 10 (tried as well on 8)
  • Visual Studio Code version: 1.28
  • Java extension version: Latest
Steps To Reproduce
  1. Just open any file

image

Current Result

It should be working

Expected Result

It's not working

Additional Informations

It was working time ago, but one day it stopped working, I don't know why

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure by opening the reported MakeroidAES256.java file in VS Code with the RedHat Java extension, using the listed Debian 9, JDK, and VS Code versions. Start with the extension's handling of files that do not resolve to an ICompilationUnit; done means the file resolves and linting, code suggestions, and hover popups work.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
developer-experience, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.