Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to specify set of required plugins in .workspace and .vscode files for a project #89157

Closed
SiarheiKuchukBelitsoft opened this issue Jan 23, 2020 · 4 comments
Labels
extensions Issues concerning extensions

Comments

@SiarheiKuchukBelitsoft
Copy link

As a developer in a team, I would like some common settings of VS Code that are in common for entire team - to be stored in a project folder in .workspace/.vscode file,

Teams has usually set of obligatory plugins, such as beautifiers and other commonly used ones that all developers have to install upon starting working on a project.

I would like to have a possibility to specify them in mentioned files, so VS Code would install them by itself (or with user consent (out of a warning 'This project demands those plugin to be installed: A, B, C. Press Install to install them.'))

@vscodebot vscodebot bot added the extensions Issues concerning extensions label Jan 23, 2020
@gjsjohnmurray
Copy link
Contributor

This technique looks interesting, but I haven't tried it myself.

@SiarheiKuchukBelitsoft
Copy link
Author

@gjsjohnmurray Thanks for the interest. It seems like an easy feature to implement. Benefits will be to not install for other team members plugins by list in docs. And if a list will be changed in a future, to have less communication about that with a team.

@sbatten
Copy link
Member

sbatten commented Jan 23, 2020

Under the .vscode folder for a folder, you can specify common settings in the settings.json file and recommended extensions in the extensions.json file. Take a look at our repository for an example https://github.com/microsoft/vscode/tree/master/.vscode

If you are using multi-root workspaces with .code-workspace file, the same can be done there following the guidance at: https://code.visualstudio.com/docs/editor/multi-root-workspaces#_settings and https://code.visualstudio.com/docs/editor/multi-root-workspaces#_extensions.

@sbatten sbatten closed this as completed Jan 23, 2020
@SiarheiKuchukBelitsoft
Copy link
Author

Guys, you are awesome! I thought I've been adding unique value to your masterpiece project and this feature is already here! Fabulous

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
extensions Issues concerning extensions
Projects
None yet
Development

No branches or pull requests

3 participants