Skip to content

Exposing formatting options settings.#569

Merged
Achal1607 merged 1 commit into
oracle:mainfrom
shivam71:settings_refactor
Apr 1, 2026
Merged

Exposing formatting options settings.#569
Achal1607 merged 1 commit into
oracle:mainfrom
shivam71:settings_refactor

Conversation

@shivam71

Copy link
Copy Markdown
Contributor
  1. New settings key jdk.format.options
  2. Netbeans formatting options can be specified inside the jdk.format.options as key-value pairs
  3. Wiki for formatting to be updated with valid list of key-values and description.

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Mar 13, 2026

@Achal1607 Achal1607 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @shivam71 for making this changes, it would be very useful, for users to be able to provide formatting preferences directly from VSCode.

Comment thread vscode/package.nls.json Outdated
Comment thread vscode/package.nls.json Outdated
Comment thread patches/formatOptions.diff Outdated
Comment thread patches/formatOptions.diff Outdated
Comment thread patches/formatOptions.diff Outdated
@Achal1607 Achal1607 added this to the JVSC 26.0.0 milestone Mar 27, 2026
@shivam71 shivam71 force-pushed the settings_refactor branch from b1e6afe to e7ba86e Compare March 31, 2026 07:17
1) New settings key  jdk.format.options
2) Netbeans formatting options can be specified inside the jdk.format.options as key-value pairs
3) Wiki for formatting to be updated with valid list of key-values and description.
@shivam71 shivam71 force-pushed the settings_refactor branch from e7ba86e to 0b0b55f Compare March 31, 2026 07:26

@Achal1607 Achal1607 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @shivam71

@Achal1607 Achal1607 merged commit d78d5bd into oracle:main Apr 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants