Ask Your Question
3

How can local settings be overridden in VScode Dev Container?

asked 2022-09-03 11:00:00 +0000

pufferfish gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-04-08 17:00:00 +0000

david gravatar image

Local settings can be overridden in VScode Dev Container by placing the settings in a file named settings.json in the .devcontainer folder at the root of the project. The contents of this file will be applied when the container is started, replacing any existing settings.

To override a specific setting, add it to the settings.json file with the desired value. For example, to change the font size:

{
  "editor.fontSize": 16
}

To reset a setting to its default value, set the value to null. For example, to reset the font size:

{
  "editor.fontSize": null
}
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-09-03 11:00:00 +0000

Seen: 17 times

Last updated: Apr 08 '22