From 224b97e6aac2da98d23b05ab35f3dbcc25923ecd Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Mon, 9 Sep 2024 12:14:04 -0400 Subject: [PATCH] feat(vscode): add R packages & settings --- user/modules/vscode.nix | 6 ++- user/modules/vscode/settings.json | 79 +------------------------------ 2 files changed, 7 insertions(+), 78 deletions(-) diff --git a/user/modules/vscode.nix b/user/modules/vscode.nix index 0bf6137..640fa9e 100644 --- a/user/modules/vscode.nix +++ b/user/modules/vscode.nix @@ -3,7 +3,7 @@ pkgs, ... }: let - package = pkgs.vscodium; + package = pkgs.unstable.vscodium; vscodePname = package.pname; @@ -78,6 +78,10 @@ in { # Rust rust-lang.rust-analyzer + + # R + reditorsupport.r + quarto.quarto ]; }; }; diff --git a/user/modules/vscode/settings.json b/user/modules/vscode/settings.json index 2be1ef7..4903e86 100644 --- a/user/modules/vscode/settings.json +++ b/user/modules/vscode/settings.json @@ -10,7 +10,6 @@ }, "editor.lineHeight": 20, "editor.suggestSelection": "first", - "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue", "files.exclude": { "**/.classpath": true, "**/.project": true, @@ -18,80 +17,6 @@ "**/.factorypath": true }, "explorer.confirmDragAndDrop": false, - "intelephense.stubs": [ - "apache", - "bcmath", - "bz2", - "calendar", - "com_dotnet", - "Core", - "ctype", - "curl", - "date", - "dba", - "dom", - "enchant", - "exif", - "FFI", - "fileinfo", - "filter", - "fpm", - "ftp", - "gd", - "gettext", - "gmp", - "hash", - "iconv", - "imap", - "intl", - "json", - "ldap", - "libxml", - "mbstring", - "meta", - "mysqli", - "oci8", - "odbc", - "openssl", - "pcntl", - "pcre", - "PDO", - "pdo_ibm", - "pdo_mysql", - "pdo_pgsql", - "pdo_sqlite", - "pgsql", - "Phar", - "posix", - "pspell", - "readline", - "Reflection", - "session", - "shmop", - "SimpleXML", - "snmp", - "soap", - "sockets", - "sodium", - "SPL", - "sqlite3", - "standard", - "superglobals", - "sysvmsg", - "sysvsem", - "sysvshm", - "tidy", - "tokenizer", - "xml", - "xmlreader", - "xmlrpc", - "xmlwriter", - "xsl", - "Zend OPcache", - "zip", - "zlib", - "wordpress" - ], "terminal.integrated.fontFamily": "'CaskaydiaCove Nerd Font Mono', 'Cascadia Mono PL'", "terminal.integrated.fontSize": 13, "[javascript]": { @@ -104,7 +29,6 @@ "editor.defaultFormatter": "esbenp.prettier-vscode" }, "svelte.enable-ts-plugin": true, - "svelte.plugin.svelte.note-new-transformation": false, "editor.accessibilitySupport": "off", "editor.smoothScrolling": true, "workbench.list.smoothScrolling": true, @@ -159,5 +83,6 @@ "nix.enableLanguageServer": true, "nix.serverPath": "nil", "cSpell.userWords": ["typecheck"], - "workbench.colorTheme": "Min Dark" + "workbench.colorTheme": "Min Dark", + "r.plot.useHttpgd": true }