bentoh,
@bentoh@mastodon.online avatar

So over the past year I have been using for my and 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 (despite lack of mode) and 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?

jimgar,
@jimgar@hachyderm.io avatar

@bentoh What is your current setup like?

bentoh,
@bentoh@mastodon.online avatar

@jimgar just the basic extensions. Black and ruff for the code formatting and linting

jimgar,
@jimgar@hachyderm.io avatar

@bentoh In my experience the Python stuff is more complex because so much of the ecosystem is repetitive and just a lot of very similar variations. You may find that having Black and Ruff both enabled is part of the problem because the latter is a drop-in replacement for the former, plus it’s a linter.

For R you at minimum need the R extension and the R package {languageserver}, but also ideally you’ll want the radian terminal too.

bentoh,
@bentoh@mastodon.online avatar

@jimgar yeah in more than one occasion they are fighting to change my code... definitely had the languageserver but haven't tried out radian terminal, will check it out!

jimgar,
@jimgar@hachyderm.io avatar

@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 :)

https://jimgar.github.io/posts/vs-code-macos-r/post.html

  • All
  • Subscribed
  • Moderated
  • Favorites
  • vscode
  • Durango
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • khanakhh
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • cubers
  • GTA5RPClips
  • cisconetworking
  • ethstaker
  • osvaldo12
  • modclub
  • normalnudes
  • provamag3
  • tester
  • anitta
  • Leos
  • megavids
  • lostlight
  • All magazines