rpodcast / r_dev_projects

Boilerplate and configs for my R development projects
76 stars 32 forks source link

fix terminal.integrated.shell.linux setting #11

Closed rpodcast closed 2 years ago

rpodcast commented 2 years ago

Within the settings section of devcontainer.json I configured the default shell of the container using this: "terminal.integrated.shell.linux": "/usr/bin/fish". In recent updates to VS Code, this setting became deprecated. From the lint output:

The new recommended way to configure your default shell is by creating a terminal profile in #terminal.integrated.profiles.linux# and setting its profile name as the default in #terminal.integrated.defaultProfile.linux#. This will currently take priority over the new profiles settings but that will change in the future.

rpodcast commented 2 years ago

In a specific repo's dev container settings I was able to get it working. Add this to the settings block of devcontainer.json:

"terminal.integrated.profiles.linux": {
    "fish": {
        "path": "/usr/bin/fish"
    }
},
"terminal.integrated.defaultProfile.linux": "fish",