redhat-developer / redhat-developer/vscode-java

APIs for querying source tree for inheritance or implementation of interface X.

Open
#1,609 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

Hi, I'm developing an extension and looking to include the feature of:

  • scan all .java files in the project folder and return back the filenames of all internal classes that either implement interface X OR descent from a class implementing interface X.

Are there APIs or functionalities included in vscode-java that could accomplish this task? Any help would be appreciated. Thanks

Environment
  • Operating System: OSX
  • JDK version: 11
  • Visual Studio Code version: 1.48.2
  • Java extension version: 0.66.0

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

The request concerns vscode-java APIs used by an extension to scan project .java files for classes implementing or descending from an interface. No implementation file, entry point, or test is named; first determine whether the existing extension APIs expose source-tree inheritance queries, and define completion as returning the matching internal class filenames.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript
Domain
api, developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.