Skip to content

Instantly share code, notes, and snippets.

@ivelasq
Last active January 8, 2026 18:37
Show Gist options
  • Select an option

  • Save ivelasq/8e22d163ae33da6aa397b7b038767ae6 to your computer and use it in GitHub Desktop.

Select an option

Save ivelasq/8e22d163ae33da6aa397b7b038767ae6 to your computer and use it in GitHub Desktop.
{
"[python]": {
// automatically selects Python console
"interpreters.startupBehavior": "always"
},
// R language specific settings
"[r]": {
// use Air
"editor.defaultFormatter": "Posit.air-vscode",
// apply formatting on save
"editor.formatOnSave": true,
// must select R console manually
"interpreters.startupBehavior": "manual"
},
// enables experimental features
"application.experimental.": true,
// acknowledges Databot usage popup
"databot.researchPreviewAcknowledgment": "Acknowledged",
// automatically formats pasted code snippets
"editor.formatOnPaste": true,
// disables 'ghost text' suggestions
"editor.inlineSuggest.enabled": false,
"files.associations": {
// treat 'renv.lock' files as JSON
"renv.lock": "json"
},
// // automatically adds a blank line at the very end of a file when saved
"files.insertFinalNewline": true,
// removes any extra empty lines at the end of a file upon saving
"files.trimFinalNewlines": true,
// removes invisible spaces at the end of lines to keep the git diff clean
"files.trimTrailingWhitespace": true,
// show how long a cell took to run and when it finished
"notebook.experimental.showExecutionInfo": true,
// re-formats the code inside a notebook cell after it runs
"notebook.formatOnCellExecution": true,
// formats all cells in a notebook when you save
"notebook.formatOnSave.enabled": true,
// disables AI "Fix" and "Explain" buttons in console
"positron.assistant.consoleActions.enable": false,
// turn on Positron Assistant
"positron.assistant.enable": true,
// define AI providers
"positron.assistant.enabledProviders": [
"amazon-bedrock",
"openai-api",
],
// define Amazon Bedrock credentials
"positron.assistant.providerVariables.bedrock": {
"AWS_PROFILE": "isabella.velasquez@posit.co",
"AWS_REGION": "us-east-2"
},
// disable streaming edits
"positron.assistant.streamingEdits.enable": false,
// ignore R versions found in system/local folders
"positron.r.interpreters.exclude": [
"~/.local",
"/usr/"
],
// ignore R versions found in system/local folders
"python.interpreters.exclude": [
"/usr/",
"~/.local/"
],
// disable the standard Python language server
"python.languageServer": "None",
// match the background color of Quarto code cells
"quarto.cells.background.color": "useTheme",
// enables RStudio-style keyboard shortcuts
"rstudio.keymap.enable": true,
// use native tabs
"window.nativeTabs": true,
// add branch name to top of window
"window.title": "${activeEditorShort}${separator}${rootName}${separator}${profileName}${separator}${activeRepositoryBranchName}",
// default zoom level
"window.zoomLevel": 2.8,
// set theme
"workbench.colorTheme": "Tomorrow Night Bright (R Classic)",
// open geojson files in the standard text editor
"workbench.editorAssociations": {
"*.geojson": "default"
},
// set Catppuccin icons
"workbench.iconTheme": "catppuccin-macchiato",
"workbench.keybindings.rstudioKeybindings": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment