Skip to content

Identify design inconsistencies with UI + JSON expriences #84309

Closed

Description

Overview

This issues is to cover the various experiences where we have a rich editing experiences (UI) and a text based configuration (JSON). Some of these experiences have overlap while others have gaps that we'd like to be covered. Below is a list of areas where we have these experience with a list of features that are either missing or need better coverage.

  • Settings
  • Keybindings
  • Snippets
  • Extensions

Settings

UI

  • Objects
    • files.associations
    • emmet.includeLanguages
    • editor.codeActionsOnSave
    • editor.quickSuggestions
    • editor.tokenColorCustomizationsExperimental
    • terminal.integrated.env.linux
    • terminal.integrated.env.osx
    • terminal.integrated.env.windows
    • remote.extensionKind
    • sync.ignoredSettings
    • emmet.syntaxProfiles
    • emmet.variables
  • Nested Objects
    • editor.tokenColorCustomizations
    • workbench.colorCustomizations
    • workbench.experimental.editorAssociations
    • launch
    • extensions.confirmedUriHandlerExtensionIds
    • workbench.experimental.editorAssociations
    • remote.extensionKind
  • Arrays
    • editor.rulers
  • Boolean or Strings
    • editor.fontLigatures
  • Inputs
    • terminal.integrated.automationShell.linux
    • terminal.integrated.automationShell.osx
    • terminal.integrated.automationShell.windows
  • Deprecated settings

image

JSON

image

Keybindings

UI

  • IntelliSense for when clause
  • Sorting columns
  • Reset keys recorder

image

JSON

image

Snippets

UI

  • Configuring snippets

image

JSON

  • Central management of all snippets

image

Extensions

UI

  • Bulk install/uninstall

image

CLI

code --install-extension ms-azuretools.vscode-azurefunctions

JSON

  • No experience

devcontainers.json is a configuration file for our remote containers, and in that configuration file you can specify extensions via:

{
    "extensions": [
        "ms-azuretools.vscode-azurefunctions",
        "ms-vscode.csharp"
    ]
}

We should look at adopting a similar patter for user extensions, in the same way that you can edit user settings via JSON.

Activity

  1. added
    debt
    ux
    on Nov 8, 2019
  2. SnirBroshi commented on Nov 8, 2019

    @SnirBroshi
    Contributor

    Don't forget extension settings, such as an array of dictionary words in a spell checker extension

  3. miguelsolorio commented on Nov 8, 2019

    @miguelsolorio
    ContributorAuthor

    @NotWearingPants I don't think extension experiences will be part of this scope as we don't control their UI.

  4. changed the title [-]Identify design inconsitencies with UI + JSON expriences[/-] [+]Identify design inconsistencies with UI + JSON expriences[/+] on Nov 10, 2019
  5. chpxu commented on Jan 12, 2020

    @chpxu

    I am not sure but when inputting settimgs via UI, I notice that they aren't sorted (ie, not all the files.* are together),
    Is it possible to have them auto-sorted into their respective categories, as I thinl that would be very beneficial, if it isn't implemented already

  6. gulshan commented on Jan 19, 2020

    @gulshan

    I mostly use JSON settings editor. One thing I always want to know is- what is the default value of this settings. It was possible in he side-by-side UI.

  7. miguelsolorio commented on Feb 3, 2020

    @miguelsolorio
    ContributorAuthor

    Gulshan (@gulshan) you can still see the default value from intellisense:

    image

  8. gulshan commented on Feb 4, 2020

    @gulshan

    I think this is a new feature. Not getting it, in the 1.41.1 stable version, unless it is part of documentation tooltip. Also, this info should be shown in the line edit button.

  9. Gama11 commented on Feb 4, 2020

    @Gama11
    Contributor

    Gulshan (@gulshan) I'm getting it in 1.41.1.

    Note that that "detail" string of a completion item is only shown when it's selected, so if the default of a boolean setting is true (like with outline.showVariables for instance), you'd have to press "down" once to see it:

  10. gulshan commented on Feb 4, 2020

    @gulshan

    I see this-

    code_settings
    You got the tip inlined somehow.

  11. Gama11 commented on Feb 4, 2020

    @Gama11
    Contributor

    You can toggle between those two display modes with Ctrl+Space.

  12. gulshan commented on Feb 4, 2020

    @gulshan

    The default values will be more useful for open value settings involving numbers, strings and arrays. What I feel important in this regard is, a clear way to view the default value of a setting, in both json and visual editor.

  13. regs01 commented on Feb 13, 2020

    @regs01

    workbench.settings.useSplitJSON should be true by default. It's far easier to look default and explore settings when you see options. And it's easier to switch off than to switch on.

  14. usernamehw commented on Feb 22, 2020

    @usernamehw
    Contributor

    Settings UI are not showing deprecated settings. When you mark a setting with deprecationMessage - the message is visible in settings.json, but UI simply ignores those settings.

  15. miguelsolorio commented on Feb 24, 2020

    @miguelsolorio
    ContributorAuthor

    Alexander (@usernamehw) what is your expectation for what you'd want to see from the UI side? Something like below?

    image

  16. miguelsolorio commented on Feb 24, 2020

    @miguelsolorio
    ContributorAuthor

    Closing this issue as it has identified the areas/gaps between our UI and JSON experiences. Feel free to keep commenting on this issue if there are other items that come up that were missed.

  17. usernamehw commented on Feb 25, 2020

    @usernamehw
    Contributor

    Alexander (@usernamehw) what is your expectation for what you'd want to see from the UI side? Something like below?

    image

    @misolori Yes, the purpose of deprecationMessage is so that people would read it.

  18. locked and limited conversation to collaborators on Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debtux

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions