Needed to rename a test fixture in a #Python file, and find/replace wasn't up for the job. So I decided to give #VSCode a go:
I started by pressing Ctrl+F2, for "Change All Occurrences". I think that is basically find/replace, and hence didn't do what I wanted.
Instead, I installed the recommended Python extension, and pressed F2 for "Rename Symbol". That claims to have only made one change, and the references to the function are still using the old name.
So, consider me confused. I'm using #pytest, whereby the test fixtures are referenced as function arguments rather than being called directly. Maybe that's what VS Code is struggling with? Either way, I've now spent more time on this than just manually editing the text.
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.
Data Wrangler is a new Microsoft VScode extension for data exploratory analysis. It supports Python 🐍 and Pandas 🐼 DataFrame objects and is integrated into VScode Jupyter Notebooks. Here are some of the functionalities of Data Wrangler:
✅ Data review
✅ Column filtering
✅ Summary statistics
✅ Data cleaning and transformation
✅ Hadeling missing values
✅ Creating new fields
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?
In the past few months, I created a bunch of Docker 🐳 tutorials covering random topics, from a fun setting for a Python 🐍 environment on the CLI to advanced topics such as multi-stage builds 🏗️. I organized all the tutorials under one folder, and I plan to keep updating this folder with future-related ones 😎.
Currently on my Docker tutorial TODO list:
➡️ Docker ENTRYPOINT vs CMD
➡️ Docker multi-architecture build
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?
🧏 People who code have a tendency to spend a lot of time in various IDEs (Integrated Development Environments). They can be as simple as a text editor or as complex as a full-blown development environment. In this post, I'll go through my two go-to IDE's, RStudio and VScode, and why I switch between them rather than sticking to a single one. ---
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
I've been thinking about myself as a coder a lot. I learnt #Python through its #Anaconda variety and #SpyderIDE. The course I initially went on used those, so I use them to write #SpatialAnalysis scripts.
However, I wonder whether I should learn what #JupyterNotebooks are about and potentially another IDE like #PyCharm or #VSCode / #VSCodium, but also actual software architecture and development things. Not to mention things like #Rstats, #RustLang, or #GoLang that interest me.
<--- 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… 😎
What's your #editor / #IDE of choice, and why is it so? Do you use that for all tasks and #programming languages, or do you switch between editors depending on what you're working on?
I mostly use #IntelliJ / #Goland for large projects, and #VSCode for simpler ones. But tbh, I find myself increasingly using VS Code even for projects where I'd previously would reach for IntelliJ. And their poor story around language server integrations makes them feel less relevant today than they used to be.