From 2a88d048e4495a865089b864442e1ae808b71490 Mon Sep 17 00:00:00 2001 From: Remy Suen Date: Tue, 20 May 2025 13:05:18 -0400 Subject: [PATCH] Fix the prettier linting errors Signed-off-by: Remy Suen --- README.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 54e49fa..b5c15c2 100644 --- a/README.md +++ b/README.md @@ -84,11 +84,13 @@ See [TELEMETRY.md](./TELEMETRY.md) for details about what kind of telemetry we c > **I can see duplicated code completion suggestions and/or hover tooltips in Compose files.** Do you have any of the following extensions installed? + - [Red Hat's YAML extension](https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml) (powered by [redhat-developer/yaml-language-server](https://github.com/redhat-developer/yaml-language-server)) - 1. To disable duplicates from this extension, create a JSON file with `{}` as its content and save it somewhere. Let's say it is at `/home/user/empty.json`. - 2. Open the [Command Palette](https://code.visualstudio.com/api/ux-guidelines/command-palette) in Visual Studio Code and open "Preferences: Open User Settings (JSON)". - 3. Create an object attribute for `yaml.schemas` if it does not already exist. - 4. Inside the `yaml.schemas` object, map your empty JSON file to Compose YAML files. + 1. To disable duplicates from this extension, create a JSON file with `{}` as its content and save it somewhere. Let's say it is at `/home/user/empty.json`. + 2. Open the [Command Palette](https://code.visualstudio.com/api/ux-guidelines/command-palette) in Visual Studio Code and open "Preferences: Open User Settings (JSON)". + 3. Create an object attribute for `yaml.schemas` if it does not already exist. + 4. Inside the `yaml.schemas` object, map your empty JSON file to Compose YAML files. + ```JSONC { "yaml.schemas": { @@ -99,8 +101,9 @@ Do you have any of the following extensions installed? } } ``` + - [Microsoft's Container Tools extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-containers) (powered by [microsoft/compose-language-service](https://github.com/microsoft/compose-language-service)) - - If [microsoft/vscode-containers#75](https://github.com/microsoft/vscode-containers/pull/75) is merged and you are on a release with this change, then the duplicates should already be taken of. - - To disable duplicates from this extension, you can set the `containers.enableComposeLanguageService` settingto `false` and restart Visual Studio Code. + - If [microsoft/vscode-containers#75](https://github.com/microsoft/vscode-containers/pull/75) is merged and you are on a release with this change, then the duplicates should already be taken of. + - To disable duplicates from this extension, you can set the `containers.enableComposeLanguageService` settingto `false` and restart Visual Studio Code. - [Microsoft's Docker extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker) (powered by [microsoft/compose-language-service](https://github.com/microsoft/compose-language-service)) - - To disable duplicates from this extension, you can set the `docker.enableDockerComposeLanguageService` settingto `false` and restart Visual Studio Code. + - To disable duplicates from this extension, you can set the `docker.enableDockerComposeLanguageService` settingto `false` and restart Visual Studio Code.