Skip to content

Commit f2dc078

Browse files
committed
- removed settings no longer needed after the changes in workspace viewer scan logic
- bump version to 3.0.8
1 parent 190c3f5 commit f2dc078

4 files changed

Lines changed: 4 additions & 16 deletions

File tree

R/session/vsc.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ load_settings <- function() {
3131
vsc.show_object_size = workspaceViewer$showObjectSize,
3232
vsc.rstudioapi = session$emulateRStudioAPI,
3333
vsc.str.max.level = setting(session$levelOfObjectDetail, Minimal = 0, Normal = 1, Detailed = 2),
34-
vsc.object_length_limit = session$objectLengthLimit,
35-
vsc.object_timeout = session$objectTimeout,
3634
vsc.globalenv = session$watchGlobalEnvironment,
3735
vsc.plot = setting(session$viewers$viewColumn$plot, Disable = FALSE),
3836
vsc.dev.args = plot$devArgs,

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "r",
33
"displayName": "R",
44
"description": "R Extension for Visual Studio Code",
5-
"version": "3.0.7",
5+
"version": "3.0.8",
66
"author": "REditorSupport",
77
"license": "SEE LICENSE IN LICENSE",
88
"publisher": "REditorSupport",
@@ -1646,16 +1646,6 @@
16461646
"default": true,
16471647
"markdownDescription": "Watch the global environment to provide hover, autocompletions, and workspace viewer information. Changes the option `vsc.globalenv` in R. Requires `#r.sessionWatcher#` to be set to `true`."
16481648
},
1649-
"r.session.objectLengthLimit": {
1650-
"type": "integer",
1651-
"default": 2000,
1652-
"markdownDescription": "The upper limit of object length to show object details in workspace viewer and provide session symbol completion. Decrease this value if you experience significant delay after executing R commands caused by large global objects with many elements. Changes the option `vsc.object_length_limit` in R. Requires `#r.sessionWatcher#` to be set to `true`."
1653-
},
1654-
"r.session.objectTimeout": {
1655-
"type": "integer",
1656-
"default": 50,
1657-
"markdownDescription": "The maximum number of milliseconds to get information of a single object in the global environment. Decrease this value if you experience significant delay after executing R commands caused by large global objects with many elements. Changes the option `vsc.object_timeout` in R. Requires `#r.sessionWatcher#` to be set to `true`."
1658-
},
16591649
"r.session.levelOfObjectDetail": {
16601650
"type": "string",
16611651
"markdownDescription": "How much of the object to show on hover, autocompletion, and in the workspace viewer? Changes the option `vsc.str.max.level` in R. Requires `#r.sessionWatcher#` to be set to `true`.",

src/workspaceViewer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ interface WorkspaceChild {
2323
selector?: WorkspaceSelector;
2424
}
2525

26-
export interface WorkspaceSelector {
26+
interface WorkspaceSelector {
2727
kind: 'index' | 'name' | 'slot';
2828
value: number | string;
2929
}

0 commit comments

Comments
 (0)