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 plugin that does actual 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.

#vscodium #vscode

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). 🤷

#vscodium #vscode

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 #Copilot appears to be enabled by default now in #VSCode and I can't find any way to turn it off. #dotnet #csharp

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

#vscode

jmcastagnetto,
@jmcastagnetto@mastodon.social avatar

"Researchers Observed Visual Studio Code Extensions Stealing Users' "

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

anderseknert,
@anderseknert@hachyderm.io avatar

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… 😎

#OPA #DevOps #DevSecOps

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…

ruboerner, German

I accidentally discovered today that #vscode has a visual editor for #quartopub documents. What a game changer!

qaqelol,
@qaqelol@toots.niark.nexus avatar

Someone made a Visual Studio Code extension to highlight docstrings in python ! I needed this soo much :pleading_face_3d:

https://github.com/rodolphebarbanneau/python-docstring-highlighter

zoowalk,

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 That's really unfortunate, bit of an annoyance in the vs code workflow. Many thanks for confirming though.

DataAngler,
@DataAngler@vis.social avatar

@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

dmenis,

PyCharm has local history which at times can save you a lot of work.

Didn't know that has this as well. Fantastic.

https://www.kevinboosten.dev/vscode-file-local-history

Taffer,
@Taffer@mastodon.gamedev.place avatar

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

TheJare,

@Taffer It is probably 1) autosaving, and 2) going through a format-on-save formatter. Try looking for settings like those.

anderseknert,
@anderseknert@hachyderm.io avatar

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!

https://github.com/open-policy-agent/vscode-opa/

parcifal,
@parcifal@hachyderm.io avatar

@anderseknert @charlieegan3 epic stuff, quite curious how this was to actually build 😅 maybe we can chat about it sometime! ✌️

charlieegan3,

@parcifal @anderseknert I’d love that! Looking forward to Paris 🥐

tanepiper, (edited )
@tanepiper@tane.codes avatar

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

tanepiper,
@tanepiper@tane.codes avatar

Oh actually no! The guy shared the log with me. Turns out VSCode runs a background npm install of types and it triggers as suspicious😂

voxpelli,
@voxpelli@mastodon.social avatar

Is there any way to have #VSCode stop applying workspace settings from a ”.vscode/settings.json” that exists in a checked out repo?

Or is the only way to not have others preferences forced on me to get it removed from the repository in one way or another?

voxpelli,
@voxpelli@mastodon.social avatar

After research I can't find a way to tell #VSCode to ignore #WorkspaceSettings, so I opened a feature request that requests the simplest of possible opt-outs of workspace settings: https://github.com/microsoft/vscode/issues/206802

voxpelli,
@voxpelli@mastodon.social avatar

Apparently #VSCode is an editor for teams and not a generic editor meant for usage outside of teams.

At least that’s the only way I can interpret the reason for so quickly and without discussion closing that issue: https://github.com/microsoft/vscode/issues/206802#issuecomment-1978494687

I wonder if there is some flavor of #VSCode that’s geared towards individual contributors and freelancers?

wagesj45,
@wagesj45@mastodon.jordanwages.com avatar

Is it just me or is just... bad? How is it so intuitive to just browse an FTP connection and open a file?

wagesj45,
@wagesj45@mastodon.jordanwages.com avatar

OMG. Great. You get to save the file once before 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?"

codemonkeymike,

Made a quick little video of my experience using #HelixEditor coming from #vscode for the past 3 weeks.

Let me know if this is helpful, or if I should do more of these, maybe with better quality lol.

https://youtu.be/PcUjMFYSgjM

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