Skip to content

Commit e11e322

Browse files
committed
Add positron.r.symbols.includeAssignmentsInBlocks setting
1 parent 90b4e5c commit e11e322

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

extensions/positron-r/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@
189189
"type": "boolean",
190190
"default": true,
191191
"description": "%r.configuration.diagnostics.enable.description%"
192+
},
193+
"positron.r.symbols.includeAssignmentsInBlocks": {
194+
"type": "boolean",
195+
"default": false,
196+
"description": "%r.configuration.symbols.includeAssignmentsInBlocks.description%"
192197
}
193198
}
194199
},

extensions/positron-r/package.nls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
"r.configuration.pipe.native.description": "Native pipe available in R >= 4.1",
6565
"r.configuration.pipe.magrittr.description": "Pipe operator from the magrittr package, re-exported by many other packages",
6666
"r.configuration.diagnostics.enable.description": "Enable R diagnostics globally",
67+
"r.configuration.symbols.includeAssignmentsInBlocks.description": "Controls whether assigned objects inside `{}` blocks are included as document symbols, in addition to top-level assignments. Reopen files or restart the server for the setting to take effect.",
6768
"r.configuration.defaultRepositories.description": "The default repositories to use for R package installation, if no repository is otherwise specified in R startup scripts (restart Positron to apply).\n\nThe default repositories will be set as the `repos` option in R.",
6869
"r.configuration.defaultRepositories.auto.description": "Automatically choose a default repository, or use a repos.conf file if it exists.",
6970
"r.configuration.defaultRepositories.rstudio.description": "Use the RStudio CRAN mirror (cran.rstudio.com)",
@@ -81,4 +82,3 @@
8182
"r.walkthrough.migrateFromRStudio.formatting.description": " \n[Configure Air to format on save](command:r.walkthrough.formatOnSave)"
8283

8384
}
84-

0 commit comments

Comments
 (0)