Skip to content

Enable YAML suggestions by default#1305

Merged
philliphoff merged 1 commit intomasterfrom
philliphoff-intellisense
Sep 26, 2019
Merged

Enable YAML suggestions by default#1305
philliphoff merged 1 commit intomasterfrom
philliphoff-intellisense

Conversation

@philliphoff
Copy link
Member

Enable YAML suggestions by default so that Docker Compose IntelliSense provided by this extension is displayed without requiring CTRL+SPACE. This is also what the YAML extension does.

Users can disable this by setting [yaml].editorQuickSuggestions.strings to false in their settings.

Resolves #243.

@philliphoff philliphoff requested a review from a team as a code owner September 25, 2019 22:59
@bwateratmsft bwateratmsft added this to the 0.9.0 milestone Sep 26, 2019
@philliphoff philliphoff merged commit 19c8343 into master Sep 26, 2019
@philliphoff philliphoff deleted the philliphoff-intellisense branch September 26, 2019 17:01
@f5f89da508430f4596e8456da8eb1784
Copy link

f5f89da508430f4596e8456da8eb1784 commented Jan 14, 2020

For some reason this isn't working anymore in 0.9.0.

I had to manually add the following to my config:

  "[yaml]": {
    "editor.quickSuggestions": {
      "other": true,
      "comments": false,
      "strings": true
    }
  }

When I typed editor.quickSuggestions, it filled in the object for me, and it was prefilled with strings: false, which I had to manually change to true.

Another thing I thought of that might be worth noting: I'm using this with the Remote - SSH extension.

@BigMorty
Copy link
Contributor

@philliphoff Any idea on this?

@philliphoff
Copy link
Member Author

@f5f89da508430f4596e8456da8eb1784 Do you see this issue *only * when using Remote - SSH? (I don't see this issue on 0.9.0 when running locally.) Did you add the configuration at the user or the workspace level? Was there any existing configuration at the user or the workspace level? What other extensions do you have installed (e.g. the RedHat YAML extension)?

@microsoft microsoft locked and limited conversation to collaborators Oct 27, 2021
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.

Intellisense in docker compose files requires pressing CTRL+SPACE

4 participants