redhat-developer / redhat-developer/vscode-java

Support formatting & organize import for multiple files

Open
#2,598 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Currently we can only do formatting or organize import for the current file, is it possible to do these actions for multiple files? e.g., when the user selects a folder in the file explorer, we can offer an option like "format files" in the menu.

Eclipse supports such feature:
image

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

Start by tracing the existing formatting and organize-import actions for the current file, then inspect the file explorer menu entry points for folder selections. The feature is done when both actions can be offered for a selected folder and applied across its files, with behavior matching the requested Eclipse-style workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.