Skip to content

Instantly share code, notes, and snippets.

@ar-puuk
Last active September 21, 2025 20:58
Show Gist options
  • Save ar-puuk/41ae260a29da6887ee8a8d23332a5f85 to your computer and use it in GitHub Desktop.
Save ar-puuk/41ae260a29da6887ee8a8d23332a5f85 to your computer and use it in GitHub Desktop.
Positron Setup
{
// this is the settings.json file
// file behaviour
"files.hotExit": "onExitAndWindowClose",
"files.defaultLanguage": "r",
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"files.associations": {
"renv.lock": "json"
},
// positron+workbench
"positron.assistant.enable": true,
"positron.plots.darkFilter": "off",
"positron.viewer.interactivePlotsInViewer": true,
"update.positron.channel": "releases",
"workbench.colorTheme": "Default Positron Dark",
"console.fontFamily": "'Monaspace Argon Var', 'Fira Code', Consolas, 'Courier New', monospace",
// diff editor
"diffEditor.ignoreTrimWhitespace": false,
"diffEditor.codeLens": true,
// editor settings
"editor.defaultFormatter": "Posit.air-vscode",
"editor.defaultFoldingRangeProvider": "Posit.air-vscode",
"editor.fontFamily": "'Monaspace Argon Var', 'Fira Code', Consolas, 'Courier New', monospace",
"editor.fontLigatures": true,
//"editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'ss07', 'ss08', 'calt', 'dlig', 'liga'",
"editor.guides.bracketPairs": "active",
"editor.guides.indentation": false,
"editor.cursorBlinking": "phase",
"editor.renderWhitespace": "trailing",
"editor.rulers": [
{
"column": 80,
"color": "#5a5a5a80"
}, // right rule
{
"column": 95,
"color": "#5a5a5a30"
}, // right rule
{
"column": 120,
"color": "#5a5a5a40"
} // extra right rule
],
"security.workspace.trust.untrustedFiles": "open",
// todo tree
"todo-tree.highlights.customHighlight": {
"TODO": {
"background": "#F5910044",
"foreground": "#fffc00FF"
},
"BUG": {
"icon": "bug",
"background": "#D3262655",
"foreground": "#FF3300FF"
},
"HACK": {
"icon": "tools"
},
"FIXME": {
"icon": "flame",
"background": "#00996844",
"foreground": "#25D366FF"
}
},
// git settings
"git.autofetch": true,
"git.confirmSync": false,
"git.suggestSmartCommit": false,
// github PR settings
"githubPullRequests.fileListLayout": "tree",
"githubPullRequests.defaultMergeMethod": "squash",
"githubPullRequests.pullBranch": "never",
"githubIssues.queries": [
{
"label": "My Issues",
"query": "is:open assignee:${user} repo:${owner}/${repository}",
"groupBy": [
"milestone"
]
},
{
"label": "Created Issues",
"query": "author:${user} state:open repo:${owner}/${repository} sort:created-desc"
},
{
"label": "Recent Issues",
"query": "state:open repo:${owner}/${repository} sort:created-desc"
}
],
// Codesnap
"codesnap.boxShadow": "rgba(0, 0, 0, 0.55) 0px 20px 60px",
"codesnap.backgroundColor": "#6090a0",
"codesnap.containerPadding": "1em",
"codesnap.showWindowControls": false,
"codesnap.shutterAction": "copy",
// gemini
"geminicodeassist.project": "",
"geminicodeassist.inlineSuggestions.enableAuto": false,
"geminicodeassist.languages": [
"r"
],
// Other settings
"rewrap.wrappingColumn": 80, // Wrap at 80 columns with the "Rewrap" extension
"debug.toolBarLocation": "docked", // Debugger
"[python]": {
"interpreters.startupBehavior": "disabled"
},
"workbench.productIconTheme": "fluent-icons",
"positron.assistant.showTokenUsage.enable": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment