vscode

parcifal,
@parcifal@hachyderm.io avatar

I tried the editor, pretty cool! But I miss the source control panel from :( not sure if this is a deal breaker for me or not 🤔

parcifal,
@parcifal@hachyderm.io avatar

@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 👀

anderseknert,
@anderseknert@hachyderm.io avatar

@parcifal yeah, Linux support is reportedly almost there now

grrrck,
@grrrck@fosstodon.org avatar

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.

Learn more and see the extension in action in our release post: https://shiny.posit.co/blog/posts/shiny-vscode-1.0.0/

FunkyBob,
@FunkyBob@chaos.social avatar

Can anyone recommend a #vscode plugin that does actual #openapi validation and rendering?

I've tried 5 so far and half don't work, the others produce spurious errors :/

(and one even bogged down my whole machine, even when no openapi docs were open)

darrel_miller,
@darrel_miller@mastodon.social avatar

@FunkyBob I've found the 42Crunch one pretty good for validation.

anderseknert,
@anderseknert@hachyderm.io avatar

Syntax highlighting of #Rego inside of fenced code blocks in markdown files, now supported by the #OPA #VSCode extension.

https://marketplace.visualstudio.com/items?itemName=tsandall.opa

Taffer,
@Taffer@mastodon.gamedev.place avatar

Thanks to @hakerdefo, I'm taking another look at VS Codium ('cause I like VS Code, but don't like Microsoft's business practices).

Going to see if it's got access to the extensions I'm using, and see if I can just copy my config over.

Taffer,
@Taffer@mastodon.gamedev.place avatar

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.

Taffer,
@Taffer@mastodon.gamedev.place avatar

There are a half dozen or so extensions I'm using in VS Code that aren't in VS Codium's repo, including my preferred theme (Sunburst). 🤷

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?

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

anderseknert,
@anderseknert@hachyderm.io avatar

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?

anderseknert,
@anderseknert@hachyderm.io avatar

@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.

ibboard,
@ibboard@hachyderm.io avatar

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

legendary_creeper,

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.

More information: https://vscodium.com/

anderseknert,
@anderseknert@hachyderm.io avatar

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:

https://github.com/StyraInc/regal/releases/tag/v0.21.0

bradwilson,
@bradwilson@mastodon.social avatar

I am extraordinarily annoyed by the fact that appears to be enabled by default now in and I can't find any way to turn it off.

bradwilson,
@bradwilson@mastodon.social avatar

@KirillOsenkov Linux and Windows

bradwilson,
@bradwilson@mastodon.social avatar

@JoeyRobichaud Does Intellicode now offer full function implementation suggestions?

anwesha,

Has anyone saw this error before?

<--- 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" "$@"  

jmcastagnetto,
@jmcastagnetto@mastodon.social avatar

"Researchers Observed Visual Studio Code Extensions Stealing Users' #Sensitive #Data"

https://gbhackers.com/researchers-observed-visual-studio/

'... ReversingLabs has uncovered a series of VS Code extensions that designed to siphon off sensitive information from unsuspecting users ...'

#vscode #security #insecure

anderseknert,
@anderseknert@hachyderm.io avatar

Sneak peek of some of the things coming in the next release. Language server () component extended to do more than linting, as we try to make all aspects of development more enjoyable. Screenshots from where both tooltips and inlay hints are provided via Regal. And there’s more… 😎

image/png

parcifal,
@parcifal@hachyderm.io avatar

@anderseknert looks awesome 👏😎

matthiou,

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

  • **/+* as Item
  • ${dirname}/${filename}.${extname} as Value

Happy coding !

simonmic, (edited )
@simonmic@fosstodon.org avatar

users, https://stackoverflow.com/a/60718756/84401 makes your function headers (or function type signatures) bold for easier reading.

dpwiz,
@dpwiz@qoto.org avatar

@simonmic nice!

If only it could start parsing multiline signatures with leading operators…

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