diff --git a/vscode-extensions/vscode-manifest-yaml/README.md b/vscode-extensions/vscode-manifest-yaml/README.md index 2377aa788..7e4e324c5 100644 --- a/vscode-extensions/vscode-manifest-yaml/README.md +++ b/vscode-extensions/vscode-manifest-yaml/README.md @@ -17,13 +17,23 @@ an error marker to see an explanation. ![Linting Screenshot][linting] -### Content assist +### Content Assist Having trouble remembering all the names of the attributes, and their spelling? Content assist to the rescue: ![Content Assist Screenshot][ca] +### Dynamic Cloud Foundry Content Assist + +Would you like to see actual Cloud Foundry values for attributes like `services`, `buildpack`, `domain`, and `stack`? If you have [cf CLI](https://docs.cloudfoundry.org/cf-cli/) installed and connected to a Cloud target, the extension will automatically display values for certain manifest attributes. + +For example, if you are connected to a Cloud target that has services, and you invoke content assist in an entry under `services`, you will see the available service instances. In addition, service instances that do not exist in the Cloud target, like `redisserv` in the example below, are highlighted with a warning. + +Dynamic content assist also shows which Cloud target you are connected to. + +![Dynamic Cloud Foundry Content Assist Screenshot][dcfca] + ### Documentation Hovers Having trouble remembering exactly what the meaning of each attribute is? Hover over any attribute and @@ -34,4 +44,6 @@ read its detailed documentation. [linting]: https://raw.githubusercontent.com/spring-projects/sts4/7ba2a3cd1f1a1a7067ccf26266196757cc1acbf3/vscode-extensions/vscode-manifest-yaml/readme-imgs/linting.png [ca]: https://raw.githubusercontent.com/spring-projects/sts4/7ba2a3cd1f1a1a7067ccf26266196757cc1acbf3/vscode-extensions/vscode-manifest-yaml/readme-imgs/content-assist.png +[dcfca]: +https://raw.githubusercontent.com/spring-projects/sts4/c504571767d2a4a95a2442281b66db10e59f5610/vscode-extensions/vscode-manifest-yaml/readme-imgs/cf-dynamic-content-assist.png [hovers]: https://raw.githubusercontent.com/spring-projects/sts4/7ba2a3cd1f1a1a7067ccf26266196757cc1acbf3/vscode-extensions/vscode-manifest-yaml/readme-imgs/hovers.png \ No newline at end of file diff --git a/vscode-extensions/vscode-manifest-yaml/readme-imgs/cf-dynamic-content-assist.png b/vscode-extensions/vscode-manifest-yaml/readme-imgs/cf-dynamic-content-assist.png new file mode 100644 index 000000000..abdd05e92 Binary files /dev/null and b/vscode-extensions/vscode-manifest-yaml/readme-imgs/cf-dynamic-content-assist.png differ