redhat-developer / redhat-developer/vscode-java

Disable block comment formatting still result comment get formated

Open
#2,456 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

So in my profile I already set this
image

However when I format the comment suppose I want the line to be like this

	/**************************************************************
	 * METHOD : countCSVLine
	 * IMPORT : none
	 * EXPORT : lineNum (int)
	 * ASSERTION : Reading csv file & return the number of lines
	 **************************************************************/

but what happens is, it will become like this:

	/**************************************************************
	 * METHOD : countCSVLine IMPORT : none EXPORT : lineNum (int) ASSERTION : Reading csv file & return the number of
	 * lines
	 **************************************************************/

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 issue using the profile setting shown and the block-comment example in the report. Start by locating the Java comment-formatting entry point used by the VS Code extension; the fix is complete when disabling block comment formatting preserves the original line breaks and the behavior is covered by a test.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.