A VSCode extension that increase productivity by only focusing on the current tasks.
Used Claude for API guidances, Copilot for minor generations and code review, ChatGPT for the logo.
A VSCode extension that increase productivity by only focusing on the current tasks.
Used Claude for API guidances, Copilot for minor generations and code review, ChatGPT for the logo.
I built a VSCode extension that focuses the current working sections and dims out the others. When working on a large file, it’s easy to lose track of what we were working on. With this, we can easily focus on where we left off. The hardest part of this is probably getting the process right, but it’s not that complicated since it’s just a small project. In the end I couldn’t package the extension because I was using pnpm so I had to install webpack
Added time based dimming, also now the currently focused code no longer dims away.
Log in to leave a comment
Improved the dimming/focusing by trying to get the closest brackets(idk how to explain this, but basically it focuses the function or blocks that the line of code is in). The symbols are from VSCode API, then if it’s a single line, it will try to focus the parent instead. If the blocks are too long we also limit the focus lengths like the fallback. If all of that fails then it fallback to range based focus.
Log in to leave a comment
Initialized the project and added a basic lines dimming features. It dims all the lines except the ones that have been touched in the last n minutes(like shown in the picture). This will be refined by adding function(brackets?) based dimming for dimming x surrounding lines.
Log in to leave a comment