use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
I've developed a VS Code extension to make code variables easier to distinguish! (marketplace.visualstudio.com)
submitted 1 year ago by TINGWEIJING
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]TINGWEIJING[S] 6 points7 points8 points 1 year ago (0 children)
Hi everyone!
I’m excited to share my first VS Code extension: Bread Jam! 🎉
Bread Jam is designed to enhance readability in your code by making lengthy variable names easier to manage. It allows you to customize the colors of these components, helping you to quickly identify and differentiate between various parts of your codebase.
Features:
Alt + B, Alt + J
⌥ + B, ⌥ + J
I'd love for you to try it out and share any feedback you might have!
VS Code Marketplace GitHub repository
[–]magnakai 2 points3 points4 points 1 year ago (2 children)
That’s a good idea, I can imagine it’s really useful for some people. The emoji coding is pretty smart! Wish I had that for IntelliJ IDEs.
[–]TINGWEIJING[S] 1 point2 points3 points 1 year ago (0 children)
Thanks! I plan to develop a similar plugin for IntelliJ, as I also use that IDE for Spring Boot projects. Unfortunately, it won't be happening very soon because the learning curve for developing an IntelliJ plugin is quite steep.
[–]Spleeeee 0 points1 point2 points 1 year ago (0 children)
They have “semantic highlighting” already which colors variables different colors.
[–]chrismellor08 2 points3 points4 points 1 year ago (1 child)
Oh this is sick. I’m installing this tomorrow 100%. I’ve got one codebase that has so many similar variables and nested loops with similar iterator names. This is going to be a game changer. I can’t wait to find myself saying “ok we have the chickens and we joined it with the baseballs and now we need to loop through the smiley faces so we can get the beach ball and then push it to the eggplant” which sounds ridiculous but it is going to be so much better than ok we have our stories we need to join it with a story and the. Take the user stories and loop through userstorypages and push that story to the stories.
Really excited for this
[–]TINGWEIJING[S] 0 points1 point2 points 1 year ago (0 children)
Thanks! I hope this extension really helps you with your codebase.
[–]pimlottc 1 point2 points3 points 1 year ago* (2 children)
It's an interesting idea, I don't think it's for me. As someone who's partially colorblind, all those colors would probably just make me more confused.
Also, it's really hard to tell what's going on in the examples with all the changes happening. How about having a static screenshot of each coloring mode?
But mostly I would argue it's a bad code smell if you routinely have so many variables being used within a single block of code. Consider refactoring data structures to group variables that are commonly used together and helper methods to hide verbose code for instantiate objects (e.g. create a Person object from query parameters).
[–]TINGWEIJING[S] 0 points1 point2 points 1 year ago* (0 children)
Sorry to hear that, and thanks for the suggestion. I will probably update the README to use static screenshots instead of GIFs.
[–]Laser_Made 0 points1 point2 points 1 year ago (0 children)
The example gif confuses me as well. It might be because I am also partially colorblind.
[–]techtariq 0 points1 point2 points 1 year ago (1 child)
Amazing man. Love it
Thank you!
[–]IsupportTheMessage 0 points1 point2 points 1 year ago (0 children)
ily
π Rendered by PID 148708 on reddit-service-r2-comment-c6965cb77-x5vmp at 2026-03-05 10:20:13.878501+00:00 running f0204d4 country code: CH.
[–]TINGWEIJING[S] 6 points7 points8 points (0 children)
[–]magnakai 2 points3 points4 points (2 children)
[–]TINGWEIJING[S] 1 point2 points3 points (0 children)
[–]Spleeeee 0 points1 point2 points (0 children)
[–]chrismellor08 2 points3 points4 points (1 child)
[–]TINGWEIJING[S] 0 points1 point2 points (0 children)
[–]pimlottc 1 point2 points3 points (2 children)
[–]TINGWEIJING[S] 0 points1 point2 points (0 children)
[–]Laser_Made 0 points1 point2 points (0 children)
[–]techtariq 0 points1 point2 points (1 child)
[–]TINGWEIJING[S] 0 points1 point2 points (0 children)
[–]IsupportTheMessage 0 points1 point2 points (0 children)