Showing posts with label extension. Show all posts
Showing posts with label extension. Show all posts

Reading Notes #717

This week we have a collection of tools and articles that genuinely improve how we build software and manage our daily workflows. From automating pre-push checks to refining SQL formatting, these notes share practical wins for the modern .NET developer. Give them a read through before your next commit or sprint starts.


Databases

Programming

DevOps

Open Source

Miscellaneous

I Built My First VS Code Extension: Meet Rainbow SQL

Rainbow SQL logo

I have a confession to make. For years, every time I had to write or edit a SQL INSERT statement, I did the same little dance: put my cursor on a value, count the commas, scroll back up to the column list, count again, and hope I landed on the right spot. Then I'd change the value... and still not be 100% sure it was the right column.

Vous préférez lire en français? Lisez la version française ici.

With three or four columns, fine. But give me a table with fifteen columns and a few rows of data, and I'm suddenly back in school, counting on my fingers.

So I built Rainbow SQL, my very first VS Code extension. 🎉

The idea: just give me matching colors

The idea was simple. If every column had its own color, and every value used the same color as its column, I wouldn't need to count anything anymore. I could just see it.

Here's what that looks like:

Rainbow SQL highlighting INSERT statements in VS Code

health_points is blue, so the blue value is the health points. That's it. No more counting commas.

It works whether your statement is on one long line, or nicely formatted across multiple lines with many rows:

INSERT INTO items (id, code, price)
VALUES
  (101, 'ITEM_A', 19.99),
  (102, 'ITEM_B', 24.50);

Every id gets the same color, every code gets the same color, and so on, all the way down.

"But which column is this, exactly?"

Colors are great, but sometimes you want to be sure. So I added a little hover popup. Put your mouse over any value and Rainbow SQL tells you the column number, the column name, the table, and which row you're in.

Hover popup showing column details

And if you're more of a keyboard person (like me most of the time), the active column also shows up in the status bar while you move your cursor through the statement.

A small bonus: catching mismatches

While building it, I kept running into a second classic mistake: one value too many, or one value missing. You know, the kind of error that only shows up when you run the script... and of course it's on row 47.

Let me be clear: Rainbow SQL is not a SQL validator, and it doesn't try to be one. But when the number of values in a row doesn't match the number of declared columns, it highlights that row in red so you can spot it right away.

Mismatched column and value count detection

Row 2 is missing a value, row 3 has an extra one. Both jump out immediately.

The rest of the goodies

Here's a quick tour of everything that's in there:

  • Matching column and value colors to follow each column through one or more VALUES rows.
  • Single-row and multi-row statements, on one line or across many.
  • Column details on hover: column number, name, table, and row position.
  • Active column in the status bar while you move through a statement.
  • Mismatch detection for rows with too many or too few values.
  • Theme-aware colors, with separate palettes for light and dark themes. And yes, you can customize them.
  • SQL-aware parsing that handles quoted values, comments, nested expressions, and the usual identifier quoting styles. It activates for SQL, PostgreSQL, MySQL, PL/SQL, T-SQL, and SQLite files. And if you ever want a break from the rainbow, run Rainbow SQL: Toggle Rainbow SQL Highlighting from the Command Palette.

Give it a try (and tell me what you think!)

Rainbow SQL is free and available now on the Visual Studio Marketplace:

👉 Rainbow SQL on the Visual Studio Marketplace

Or install it directly from VS Code: open the Extensions view (Ctrl+Shift+X), search for Rainbow SQL, and click Install.

If it saves you a few minutes of comma counting, I'd really appreciate it if you left a review on the Marketplace. It's my first extension, so every rating and comment means a lot, and it helps other people find it too. 

Found a bug or have an idea? The code is on GitHub at fboucher/vscode-rainbow-sql, and issues are very welcome.

Happy (colorful 🌈) coding! 

Reading Notes #642

This week, I explored posts about improving cache management for ASP.NET Core applications and understanding error handling in Blazor. These articles, along with others on AI model selection and development productivity, offer valuable insights for developers.


Cloud


Programming


AI


Miscellaneous



Sharing my Reading Notes is a habit I started a long time ago, where I share a list of all the articles, blog posts, and books that catch my interest during the week. 


If you have interesting content, share it!

~Frank

Reading Notes #641

This week's reading notes cover an array of topics, from programming insights and AI advancements to cloud solutions and practical tips for developers. Explore the updates, tools, and advice that could inspire your next project!
web dev in a D&D monsters card style
prompt: Web dev in a D&D monsters card style


 

Suggestion of the week


Cloud


Programming


AI


Miscellaneous


Sharing my Reading Notes is a habit I started a long time ago, where I share a list of all the articles, blog posts, and books that catch my interest during the week. 


If you have interesting content, share it!

~Frank

Reading Notes #581

It is time to share new reading notes. It is a habit I started a long time ago where I share a list of all the articles, blog posts, and books that catch my interest during the week.

If you think you may have interesting content, share it!

Suggestion of the week

Programming

Databases

Miscellaneous


~Frank


Reading Notes #565


It's time to share new reading notes. It is a habit I started a long time ago where I share a list of all the articles, blog posts, and books that catch my interest during the week.

If you think you may have interesting content, share it!


Cloud

Programming

Data

Low Code

Podcast

Miscellaneous

~Frank


Reading Notes #563


It is time to share new reading notes. It is a habit I started a long time ago where I share a list of all the articles, blog posts, and books that catch my interest during the week. 

If you think you may have interesting content, share it!

Cloud

Programming

Open Source

  • Build an Open Source Project: Behind the Scenes (Alexey Yuzhakov) - This post shares a story of a real-life open source project. It's about putting in the effort and doing the extra work to make our project more useful and accessible.

Low Code

Podcast

~Frank

Reading Notes #533


Good Monday!
It's time to share my reading notes. Those are a curated list of all the articles and blog posts, that caught my interest during the week and that I found interesting. It's a mix of the actuality and what I consumed.

If you think you may have interesting content, share it!

Cloud

Programming

Miscellaneous

~Enjoy!


Reading Notes #518


Good Monday, Already time to share new reading notes. Here is a list of all the articles, blog posts, and podcast episodes that catch my interest during the week.

If you think you may have interesting content, share it!

Cloud

Programming

Podcast

  • Measuring DevSecOps with Victoria Almazova (.NET Rocks!) - DevSecOps, what's that? Security, yes, but to what limit, so many great questions are discussed in this nice episode.

  • Photographing Home with Mylo Fowler (Wild Ideas Worth Living) - This post is a great example that there are so many completely different journeys to reach your destination. Follow yours and enjoy it as much as you can.


~frank

Reading Notes #511


Good Monday, it's time to share new reading notes. Here is a list of all the articles, blog posts, and podcast episodes that catch my interest during the week. 

 If you think you may have interesting content, share it!

Cloud

Programming

Miscellaneous

~Frank

Reading Notes #506


Good Monday, Already time to share my reading notes of the week. A list of all the articles, and blog posts, that catch my interest during the week.

If you think you may have interesting content, share it!

Cloud

Programming

Podcasts

  • Docker Desktop for Linux is Here! (DevOps and Docker Talk) - Great episode so much energy! Discussion about the brand new Docker Desktop for Linux, who to report bugs, ask for a new feature, and the DockerCon!
  • Épisode 15 - Gengis Khan (Les Pires Moments de l'Histoire) - I keep those episodes very preciously as a threat, and this one was such a good one! It's in French and the topic is the biggest empire that ever existed... No, it's the Romain.
  • How to Productively Show Off What You've Learned (Modern Mentor) - Nice episode. That's a good idea I should share what I think of books and posts I read! ;) I guess I'm not too bad.
  • Comparing Infrastructure-as-Code with Chris Klug (.NET Rocks!) - Terraform, Pulumi, ARM, and Bicep... All those are mentioned because it's all about Infrastructure-as-Code. Interesting talk about the different options we have.

Miscellaneous


~frank


Reading Notes #473

Every Monday, I share my "reading notes". Those are a curated list of all the articles, blog posts, podcast episodes, and books that catch my interest during the week and that I found interesting. It's a mix of the actuality and what I consumed.

You think you may have interesting content, share it!


Suggestion of the week

Cloud

Programming

Podcasts

  • Bonus: Understanding Digital Body Language (Modern Mentor) - That we wanted or not, we need to get better with those new tools: the webcam, the microphone. We need to understand how to use them correctly and how to understand what the person on the other hand is really sharing. Great episode.
  • Social Robots with De'Aira Bryant (Hanselminutes with Scott Hanselman) - Okay I crack at... If only they knew! A very interesting episode about... yes robots!
  • Write Great APIs (Coding Blocks) - What's an API, what's a good API, why it's good, or why it's bad... Great episode that may me think... I really need to get back to my code and update a few things.

~frank

Reading Notes #472


Cloud

Programming

Podcasts

Miscellaneous


~frank


Reading Notes #464


Every Monday, I share my "reading notes". This is a curated list of all the articles, blog posts, and books that catch my interest during the week and that I found interesting. It's a mix of the actuality and what I consumed.

Cloud


Programming


Miscellaneous



~Frank


Reading Notes #425

Every Monday, I share my "reading notes". Those are a curated list of all the articles, blog posts, podcast episodes, and books that catch my interest during the week and that I found interesting.

It's a mix of the actuality and what I consumed. You think you may have interesting content, share it!

Cloud

Programming

Shameless Plugs

Podcast

  • 070: Securing DevOps in the Cloud (CloudSkills.fm) - Great episode talking about security yes but also best practices and to change mindsets. Love it.
  • Running a successful dev shop with Martin Gratzer (Software Engineering Unlocked) - This show is one of my new favorites. Always interesting and very dynamic. This time it was about the hard reality of "dev shop". Very interesting, so true!
  • The Overreaction Paradox (Developer Tea) - I never thought about it that way... But it's so true. Are we celebrating the wrong things?
  • #34: Michael Jolley - The Fresh Prince of Live Coding [S02-E13] (The Solo Coder Podcast) - Okay, I'm a total fanboy of Michael... but how can you resist?! If you feel the passion inside you... Don't way, share, create, enjoy! Another great episode.
  • 197: I Need a Website (Merge Conflict) - They got me 50% of the time... I think they are talking to me: 'Frank we are ....'. Nice episode sharing some dreams about a perfect tool (aka website) for apps developers.
~

Reading Notes #402

Every week, I publish my reading notes. Those are the articles, blog posts, podcast episodes, and books that catch my interest and that I found interesting. It's a mix of the actuality and what I was looking for.

Cloud

Programming

Miscellaneous

Books

The Art of Thinking Clearly

by Rolf Dobelli

I'm still balanced about this book. It was a good book, even if I found some chapters that were too long. I also got lost by moments. I had the impression that some thoughts or ideas were not developed correctly and more quickly wrapped. In counterpart, some were very well served and clear.

Reading Notes #389

Cloud


Programming


Miscellaneous

Reading Notes #375

Cloud

Programming

Podcast

  • Anthos Migrate, with Issy Ben-Shaul (Kubernetes Podcast from Google) - Nice update. I like the talk about Anthos it look like a great migration tool. I need to find that GitHub repo...

Reading Notes #374

Cloud


Programming


Podcast

  • Hevesh5 - Making a YouTube Career from Viral Domino Art (#46) (That Creative Life) - Great show. An amazing story.
  • Azure Functions using Node with Simona Cotin (.NET Rocks!) - Great show. I just switch my website following that Jam stack pattern. I was planning to use Azure Functions to add a few little twists.... I'm happy to see that I not alone thinking like that!
  • 0230 - Alain Vezina - Le métier du DevOps (Visual Studio Talk Show) - Super épisode, très intéressant d'entendre parler du rôle de DevOps de quelqu'un qui le vie au quotidien. Merci de la suggestion, je crois, bien que je suis du pour relire The Pheonix Project.
  • Goal Setting Tips & Tracking KPIs (Video Pursuit Podcast) - Really interesting episode. Everybody is talking about matrix and KPI... But it's not frequent to hear about the "how". I really like how the goals are explained, achievable, but not easy... And how we should react when we don't reach them.

Miscellaneous


~ Good week!

Reading Notes #325

can-chat-chatting-362Suggestion of the week



Cloud



Programming



Data



Miscellaneous


Books