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

Configuration UI #3479

Merged
merged 24 commits into from
Apr 17, 2019
Merged

Configuration UI #3479

merged 24 commits into from
Apr 17, 2019

Conversation

michelleangela
Copy link
Contributor

  • add a configuration UI to edit certain IntelliSense properties
  • add command palettes to either open configuration in UI or JSON
  • add command to open configuration in UI or JSON from toast notification
  • add telemetry to new commands
  • inherit workbench.settings.editor settings from VS Code to determine whether the configuration UI or JSON is opened by default

Extension/src/LanguageServer/configurations.ts Outdated Show resolved Hide resolved
Extension/src/LanguageServer/configurations.ts Outdated Show resolved Hide resolved
Extension/src/LanguageServer/settingsPanel.ts Show resolved Hide resolved
Extension/src/LanguageServer/settingsPanel.ts Outdated Show resolved Hide resolved
Extension/src/LanguageServer/settingsPanel.ts Outdated Show resolved Hide resolved
Extension/src/LanguageServer/settingsPanel.ts Outdated Show resolved Hide resolved
Extension/src/LanguageServer/settingsPanel.ts Outdated Show resolved Hide resolved
Extension/ui/settings.html Show resolved Hide resolved
Extension/ui/settings.html Show resolved Hide resolved
Extension/ui/settings.html Outdated Show resolved Hide resolved
Copy link
Member

@WardenGnaw WardenGnaw left a comment

Choose a reason for hiding this comment

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

Could you also add images to show how it looks?

Extension/src/LanguageServer/settingsPanel.ts Show resolved Hide resolved
Extension/src/LanguageServer/settingsPanel.ts Show resolved Hide resolved
Extension/ui/settings.html Show resolved Hide resolved
Extension/ui/settings.ts Show resolved Hide resolved
@michelleangela
Copy link
Contributor Author

This is what the configuration UI looks like without styling. I will add styling on a separate pull request after this one is checked-in.

config-ui

Extension/src/LanguageServer/client.ts Outdated Show resolved Hide resolved
Extension/package.nls.zh-cn.json Show resolved Hide resolved
Extension/src/LanguageServer/settingsPanel.ts Outdated Show resolved Hide resolved
@michelleangela michelleangela merged commit 99b2905 into master Apr 17, 2019
@@ -1,7 +1,8 @@
{
"c_cpp.command.configurationSelect.title": "Select a configuration...",
"c_cpp.command.configurationProviderSelect.title": "Change configuration provider...",
"c_cpp.command.configurationEdit.title": "Edit configurations...",
"c_cpp.command.configurationEditJSON.title": "Edit configurations... (JSON)",
Copy link
Collaborator

Choose a reason for hiding this comment

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

@michelleangela I think the "..." are always supposed to be at the end of the command text, e.g. "Edit configurations (JSON)…"

@michelleangela michelleangela deleted the mimatias/configUI branch April 18, 2019 20:17
@aenima1891
Copy link

missing fields:

  • "forceInclude"
  • "env"

@bobbrow
Copy link
Member

bobbrow commented Apr 24, 2019

Thanks for the feedback @aenima1891. Those properties didn't make the cut for the first version of the UI. We are currently designing the UI for what we term the "advanced" properties for a subsequent update (perhaps the June release).

@github-actions github-actions bot locked and limited conversation to collaborators Oct 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants