Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Recognise OCaml in settings labels - #325457

#325457
Merged
rzhao271 merged 1 commit into
microsoft:mainmicrosoft/vscode:mainfrom
smorimoto:fix/recognise-ocaml-settingssmorimoto/vscode:fix/recognise-ocaml-settingsCopy head branch name to clipboard
Jul 13, 2026
Merged

Recognise OCaml in settings labels#325457
rzhao271 merged 1 commit into
microsoft:mainmicrosoft/vscode:mainfrom
smorimoto:fix/recognise-ocaml-settingssmorimoto/vscode:fix/recognise-ocaml-settingsCopy head branch name to clipboard

Conversation

@smorimoto

Copy link
Copy Markdown
Contributor

Summary

  • recognise ocaml as the OCaml term when formatting settings labels
  • add a regression test for nested OCaml settings

Configuration keys such as ocaml.server.extendedHover are currently rendered as Ocaml › Server: Extended Hover. This change uses the official OCaml spelling while leaving configuration keys unchanged.

@ulugbekna, could you please have a look? This affects the presentation of settings contributed by the OCaml extension.

Testing

  • npm run typecheck-client
  • npm run gulp compile-client
  • ./scripts/test.sh --grep 'settingKeyToDisplayFormat - known acronym/term'
  • npm run eslint -- src/vs/workbench/contrib/preferences/common/preferences.ts src/vs/workbench/contrib/preferences/test/browser/settingsTreeModels.test.ts

Copilot AI review requested due to automatic review settings July 12, 2026 02:50
@smorimoto

Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree

@smorimoto
smorimoto marked this pull request as ready for review July 12, 2026 02:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds official OCaml capitalization to settings labels without changing configuration keys.

Changes:

  • Maps ocaml to OCaml during label formatting.
  • Adds regression coverage for nested OCaml settings.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/vs/workbench/contrib/preferences/common/preferences.ts Adds the OCaml term mapping.
src/vs/workbench/contrib/preferences/test/browser/settingsTreeModels.test.ts Verifies nested OCaml label formatting.

@vs-code-engineering

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@rzhao271

Matched files:

  • src/vs/workbench/contrib/preferences/common/preferences.ts
  • src/vs/workbench/contrib/preferences/test/browser/settingsTreeModels.test.ts

@ulugbekna ulugbekna left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Lgtm, thanks @smorimoto ! ;)

@rzhao271 hope it's ok to approve

@ulugbekna
ulugbekna force-pushed the fix/recognise-ocaml-settings branch from b71cd27 to cf9c18a Compare July 13, 2026 09:07
@rzhao271
rzhao271 merged commit 3123f80 into microsoft:main Jul 13, 2026
29 checks passed
@rzhao271 rzhao271 added this to the 1.130.0 milestone Jul 13, 2026
@smorimoto
smorimoto deleted the fix/recognise-ocaml-settings branch July 13, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.