vscode-R icon indicating copy to clipboard operation
vscode-R copied to clipboard

Lintr errors whilst trying to lint staged / indexed files in git

Open gowerc opened this issue 2 years ago • 2 comments

Description of issue

It looks like the lintr is trying to execute on staged/indexed files in git but just errors when trying to do so. Worse still is that these errors end up littering the Problems pane and are never cleared up. Only solution seems to be to restart vscode

Gif of issue

2023-10-11 11 42 06

Versions

MacOS - 13.3.1 (22E261)
REditorSupport.r - 2.8.2
R - 4.3.1
lintr - 3.1.0
language server - 0.3.16

Settings file

	"files.associations": {
		"*.rmd": "rmd"
	},
    "r.alwaysUseActiveTerminal": true,
    "r.liveShare.defaults.shareWorkspace": false,
    "r.lsp.promptToInstall": false,
    "r.session.objectTimeout": 10,
    "r.session.useWebServer": false,
    "r.sessionWatcher": true,

gowerc avatar Oct 11 '23 10:10 gowerc

Having the same issue.

dshemetov avatar Jun 29 '24 07:06 dshemetov