@anderseknert Indeed! It made me go back to VSCode (while I was assessing them both) and remove tons of bloat I had collected over time, extensions I don't use etc... Also looking forward to a linux version 👀
Check it out, the #Shiny extension for #VSCode now supports both Shiny for R apps and Shiny for Python apps in everyone's second favorite IDE!
Along with the updates come a few neat features for deploying your Shiny apps as serverless ShinyLive apps using https://shinylive.io, or for saving a ShinyLive app as local #RStats or #Python files.
So they've got separate settings directories; copying over the User directory inside seems to have done something useful without breaking anything.
Didn't copy over any extensions or themes though, which is fine. VSCode's settings directory is a mess, I assume there's a spot I could copy over to get the extensions but I'll just install them directly.
So over the past year I have been using #vscode for my #rstats and #python work. my workplace is trying to move to a unified IDE, and vscode allows remote access and WSL integration for free. However, so far it fails to spark joy in me like #RStudio (despite lack of #vim mode) and #PyCharm do. Everything feels clunky, and subpar. The "intelligent" and linting things are also quite broken in R... Has there been extensions that fundamentally change the vscode experience that I should be trying?
@bentoh For R I wrote a guide for macOS users, but most of it applies to Windows too from what I can tell. It’ll probably be obvious which bits - where you set the paths in the settings json and stuff like that. I hope you find it helpful :)
I just turned off the "minimap" feature of #VSCode after realizing I've had it on for like a decade without ever looking at it. Is it useful somehow, or just a gimmick?
@ibboard@jgillich yeah, it feels like something that can easily be motivated as potentially helpful, because we really want it to be… not because we were ever helped by that.
@anderseknert@jgillich Or it's old and outdated. I'm thinking of all of the C code (?) that has huge "region" blocks as comment directives so that you can skip over that group.
Maybe it's useful for that kind of structure, where files are huge but explicitly structured for legacy "our search isn't good enough and we've got outdated code review practices" reasons. Possibly with an intention of printing it (which was in the coding standards of a company that I joined in 2006!)
Trying out #VSCodium it's a fork of VSCode's source code, it's #FLOSS and comes without data collection and other proprietary code from Microsoft. It's avaible for Windows, Linux and MacOS :3
So far it's pretty great, it gives you a guide on how to transfer your #VSCode settings, extensions and Co. and also let's u use VSCode's Extension Marketplace if you prefer it over the #opensource one. Only thing which I miss is a way to sync 🥲, but thats fine.
Looking at the release notes, and It's absoluetely wild how much me and @charlieegan3 managed to get done in just 2 weeks, and all without neglecting our other responsibilities.. 😄
#Regal v0.21.0 is out now, and if you do any work at all with #OPA and #Rego, this release — together with the latest OPA #VSCode extension also released today — takes the Rego development experience to the next level. Try it out and let me know what you think! Changelog and downloads here:
I am extraordinarily annoyed by the fact that #Copilot appears to be enabled by default now in #VSCode and I can't find any way to turn it off. #dotnet#csharp
<--- Last few GCs --->
[192872:0x2014002e4000] 52 ms: Mark-Compact (reduce) 0.6 (2.9) -> 0.6 (1.9) MB, 0.60 / 0.00 ms (average mu = 0.259, current mu = 0.034) last resort; GC in old space requested
[192872:0x2014002e4000] 53 ms: Mark-Compact (reduce) 0.6 (1.9) -> 0.6 (1.9) MB, 0.65 / 0.00 ms (average mu = 0.144, current mu = 0.008) last resort; GC in old space requested
<--- JS stacktrace --->
#
# Fatal JavaScript out of memory: CALL_AND_RETRY_LAST
#
/usr/bin/code: line 62: 192872 Trace/breakpoint trap (core dumped) ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@"
Sneak peek of some of the things coming in the next #Regal release. Language server (#LSP) component extended to do more than linting, as we try to make all aspects of #Rego development more enjoyable. Screenshots from #VSCode where both tooltips and inlay hints are provided via Regal. And there’s more… 😎
Using #sveltekit and #vscode ? Latest version of Code (v1.88, April 2024) allows Custom Labels for files, meaning all your +page and +server files could now display their enclosing directory name.
VS Code > Settings > search "customLabels" > add Item with
Q for #rstats#quarto users in #vscode - am I right that there is no way to see the final appearance of a plot other than rendering the document? There is no preview - other than in rstudio - which gives an accurate representation? The vsc plot window follows its own dimension (distorts proportions).
Love vs code but re-rendering the whole doc for each plot iteration feels quite cumbersome. Tagging the mighty @andrew since I think there was a related discussion on GH which I can't find..🙏🙏👏👏
@zoowalk@andrew Actually, the in-line preview can be quite different when show_text(enable=TRUE) is set. Then I do need to render the document to see the final plot. #rstats#quarto
I've been messing with VS Code for a few days now (despite being an MS hater), and it seems quite good; "all" of my friends use it, and SublimeText is sort of feeling abandoned these days.
One thing that's bugging me, and I can't figure out how to fix it, is that every time the window loses focus, something is reformatting my text. Type "something " with a space, switch to check info, switch back and the space is gone. 🤷
Latest release of the #OPA#VSCode extension integrates #Regal for linting right in your editor! This was something I have wanted since I started working on Regal over a year ago, so to finally see it happen is quite rewarding 😍 Thanks @charlieegan3 for your exceptional work on this!
Every time #VSCode does it's monthly update it spikes the CPU so much it installs an npm package that triggers the corporate spyware so some guy in tech support messages me to check it's genuine activity
OMG. Great. You get to save the file once before #VSCode shits itself and you have restart VSCode for it to reconnect to the remote connection. This editor blows, man. Sorry for all the VSCode lovers out there.
VSCode seems to be the answer if the question was "What if we took a GUI, removed everything that makes a GUI useful, and replaced it with half working CLI?"