redhat-developer / redhat-developer/vscode-java

Offer code improvement suggestions

Open
#4,095 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I'm trying to migrate from IntelliJ and one of the best features it has is the code improvement suggestions. For example, if I'm using JDK7+ and my code is not using the "diamond operator", it offers me to convert the code to this cleaner version. And it does this for:

  1. Convert to try-with-resources on JDK7+
  2. Convert to lambda on JDK8+

And a lot more.

I know this issue is very broad and probably each of theses code refactoring should have its own issue linked to this one. But first I want to check what the core developers think of this.

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 issue names no files, tests, or entry points and proposes a broad family of Java refactorings. Start by reviewing the project's existing code-improvement capabilities and the scope of each requested transformation; done should be defined as one or more separately scoped suggestions with clear JDK-version behavior and tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.