Closed KatlehoJordan closed 1 year ago
Have you installed other extensions that handle r
files?
This was a user error!
I am typically running r
from within VS Code Dev Containers, and therefore installing the extension into the containers only rather than system-wide.
I still had these settings in my settings.json
file, rather than as customizations
within my devcontainer.json
files.
If I open a dev container with the extension installed, the linter does not complain, regardless of where this setting is specified (settings.json
or devcontainer.son
). However, if looking at settings.json
when not within a Dev Container (i.e., when the extension is not installed in the active environment), then the linter complains.
Sorry to bother you! This was a case of my own misunderstanding!
Thank you for your comment and looking into this, 🙂 .
Describe the bug My VS Code
.json
files yield linting warnings when I set the default editor to REditorSupport.r. It indicates that the value is not accepted.To Reproduce Steps to reproduce the behavior:
settings.json
in VS CodeValue is not accepted. Valid values: null, "vscode.css-language-features", "vscode.html-language-features", "ms-python.isort", "vscode.json-language-features", "ms-toolsai.jupyter", "yzhang.markdown-all-in-one", "vscode.markdown-language-features", "tomoki1207.pdf", "vscode.php-language-features", "ms-python.python", "vscode.references-view", "vscode.search-result", "vscode.typescript-language-features", "KevinRose.vsc-python-indent", "ms-azuretools.vscode-docker", "narsenico.vscode-progressive-increment", "ms-python.vscode-pylance", "ElecTreeFrying.auto-import", "vscode.configuration-editing", "vscode.debug-auto-launch", "vscode.debug-server-ready", "vscode.emmet", "vscode.extension-editing", "GrapeCity.gc-excelviewer", "vscode.git", "vscode.git-base", "vscode.github", "vscode.github-authentication", "eamodio.gitlens", "vscode.grunt", "vscode.gulp", "vscode.ipynb", "vscode.jake", "ms-vscode.js-debug", "ms-vscode.js-debug-companion", "ZainChen.json", "ms-toolsai.jupyter-renderers", "vscode.markdown-math", "yzane.markdown-pdf", "shd101wyy.markdown-preview-enhanced", "vscode.media-preview", "vscode.merge-conflict", "vscode.microsoft-authentication", "vscode.npm", "ms-vscode-remote.remote-containers", "ms-vscode-remote.remote-wsl", "ms-vscode-remote.remote-wsl-recommender", "vscode.simple-browser", "SimonSiefke.svg-preview", "hediet.vscode-drawio", "ms-vscode.vscode-js-profile-table", "ms-toolsai.vscode-jupyter-cell-tags", "ms-toolsai.vscode-jupyter-slideshow", "asvetliakov.vscode-neovim", "richie5um2.vscode-sort-json".(1)
Expected behavior The linter should not complain.
Screenshots
Environment (please complete the following information):