redhat-developer / redhat-developer/vscode-java
Can't go to definition
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
[Can't go to definition]
Environment
- Operating System:ubuntu 16.0.4
- JDK version:openjdk 11
- Visual Studio Code version:1.48.2
- Java extension version:0.67.0
Steps To Reproduce
- download aosp
- add folder './frameworks/base/services/core/java/com/android/server/policy' to workspace.(to use PhoneWindowManager.java)
- add folder './frameworks/base/core/java/android/content' to workspace.(to use Context.java)
- open PhoneWindowManager.java and find code 'Context mContext;'
- go to definition of Context
[Please attach a sample project reproducing the error]
project is too big
[Please attach logs]
null
Current Result
No definition found for Context
Expected Result
Open Context.java
Additional Informations
null
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with AOSP using PhoneWindowManager.java and Context.java in the two-folder workspace described. Start by checking how the Java extension handles definitions across those workspace folders; completion means Go to Definition opens Context.java instead of reporting no definition found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100