webksde / ddev-vscode-devcontainer-drupal-template

Drupal DDEV based development container with attached Visual Studio Code
23 stars 3 forks source link

Try .code-workspace file for extension recommendation? #86

Closed JPustkuchen closed 2 years ago

JPustkuchen commented 2 years ago

Just saw

https://code.visualstudio.com/docs/editor/multi-root-workspaces#_extension-recommendations

Perhaps that file works better for installing the recommendations?

joshsedl commented 2 years ago

"You can also provide GLOBAL Workspace extension recommendations by adding them to your .code-workspace" I don't think we would like to set the recommendations for every single workspace, we only want the recommendations for the "ddev devcontainer drupal" workspace.

In the future we won't recommend the extensions any more anyway, but rather provide an extensions and settings file which can be used as a "devcontainer.json" by the attached container. With this setup the extensions will be automatically installed. For reference, you can have a look at https://github.com/microsoft/vscode-remote-release/issues/5944#issuecomment-989740529 but this feature is currently postponed on https://github.com/microsoft/vscode-remote-release/issues/5278