Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#149] Add interface and service to change configuration visibility #160

Merged
merged 2 commits into from
Aug 4, 2023

Conversation

ghentschke
Copy link
Contributor

The new interface ClangdConfigurationVisibility allows vendors to hide the 'Prefer C/C++ Editor (LSP)' check-box and the 'clangd options' group in the preference/properties page.

fixes #149
fixes #153

…isibility

The new interface ClangdConfigurationVisibility allows vendors to hide
the 'Prefer C/C++ Editor (LSP)' check-box and the 'clangd options' group
in the preference/properties page.

fixes eclipse-cdt#149 eclipse-cdt#153
@@ -33,6 +33,7 @@ Require-Bundle: org.eclipse.cdt.lsp;bundle-version="0.0.0",
org.eclipse.ui;bundle-version="0.0.0"
Bundle-Activator: org.eclipse.cdt.lsp.internal.clangd.editor.ClangdPlugin
Service-Component: OSGI-INF/org.eclipse.cdt.lsp.clangd.BuiltinClangdOptionsDefaults.xml,
OSGI-INF/org.eclipse.cdt.lsp.clangd.DefaultClangdConfigurationVisibility.xml,
Copy link
Member

Choose a reason for hiding this comment

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

I have barely used let alone reviewed this type of pattern - so I defer to @ruspl-afed to review this aspect. It looks ok to me, but I don't know what I could be missing.

Copy link
Member

@ruspl-afed ruspl-afed left a comment

Choose a reason for hiding this comment

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

LGTM

@ghentschke ghentschke merged commit 458362c into eclipse-cdt:master Aug 4, 2023
2 checks passed
@ghentschke ghentschke deleted the hide-prefer-lsp-checkbox branch August 4, 2023 09:37
@jonahgraham jonahgraham added this to the 1.0.0 milestone Sep 18, 2023
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.

Hide clangd settings in project properties Change clangd preferences/properties visibility
3 participants