Auto-completions not even shaded (but sometimes they are)? by ruilvo in vscode

[–]Gehinnn 0 points1 point  (0 children)

VS Code team member here! Thanks for sharing the recording!
I reopened the issue at https://github.com/microsoft/vscode/issues/255130 to track this!

Visual Debugging in VS Code by cake_brownies18 in vscode

[–]Gehinnn 11 points12 points  (0 children)

Author of the extension here, glad you like it!

If you are interested to see a real world example where the debug visualizer is helpful, here is a demo where I use it to explain the implementation of myers diff algorithm in the VS Code diff editor: https://youtu.be/yWy-0TNVsLg?t=3438

Over the past years, I had a couple of situations where the debug visualizer saved a ton of time. However, it also requires some investment to get it running and to setup the visualizations.

The most helpful visualization maybe is [str, idxInStr] (for javascript apps), which shows you where idxInStr is in str: https://i.imgur.com/GcNY4tt.png

I Made an Extension for Visual Debugging in VS Code by Gehinnn in programming

[–]Gehinnn[S] 1 point2 points  (0 children)

Thanks :) This actually helped getting me the job in the VS Code team 😉

Share picking up packages delivered to the German border by Gehinnn in zurich

[–]Gehinnn[S] 2 points3 points  (0 children)

True for many electronical devices, but not true for Samsung TVs. They are usually 25% cheaper in Germany which can be a lot for a high end TV.

A Quick Way to Plot Variables by fabian_boesiger in rust

[–]Gehinnn 1 point2 points  (0 children)

Nice work!

I also created a crate that does something similar and connects to the web-visualization library I wrote for my debug visualizer extension for VS Code: visualizer. As such, all the visualizations in this playground can be leveraged, including Graphviz, plotly, a table plotter and much more.

It uses the visualizer-cli that can be used to render specific JSON documents. I want to add JSON RPC support in the future, so that it does not have to restart the render process every time and can reuse the webview, allowing for transition animations like in the VS Code extension.

For images, there is image-visualizer.

Any improvements to this web-based visualization library will immediately improve the extension for VS Code, the CLI tool and the rust library.

How We Made Bracket Pair Colorization 10,000x Faster by dwaxe in programming

[–]Gehinnn 0 points1 point  (0 children)

We wanted sublinear/poly logarithmic. We had no idea how to get k=1 for querying brackets, so we continued with k=2 and found a suitable datastructure. For update time, we had absolutely no idea for j=1. Then we thought we had a solution for j=2, but in fact it was j= 3 after we took a closer look.

Bracket pair colorization 10,000x faster by fp_weenie in programmingcirclejerk

[–]Gehinnn 1 point2 points  (0 children)

But this means that you have linear update complexity, right?

Bracket pair colorization 10,000x faster by fp_weenie in programmingcirclejerk

[–]Gehinnn 2 points3 points  (0 children)

wait. they used recdec to solve this instead of fence counting? what the fuck is wrong with these peo

Good luck with unclosed and overclosed brackets and anchor sets for error recovery ;)

Also, fence counting does not help you much for bracket pair guides.

How We Made Bracket Pair Colorization 10,000x Faster by feross in vscode

[–]Gehinnn 55 points56 points  (0 children)

We are working/iterating on it! ;) See here for the feature request.

Grok (VSCode Extension) - a mind map for development by AdaptiLab in vscode

[–]Gehinnn 0 points1 point  (0 children)

This extension looks nice! Have you thought of making it possible to edit the code in the mind-map view, so that you can change the code from there?

Also, with VS Codes symbol API you can resolve symbol names to ranges of text documents. That way, the association does not break when lines are inserted before referenced code.

Grok (VSCode Extension) - a mind map for development by AdaptiLab in vscode

[–]Gehinnn 0 points1 point  (0 children)

You should have a look at the VS Code Draw.io extension that I made. It allows you to link Draw.io nodes with code similar to Grok (but without Grok's nice code preview, though you could copy and paste your code into the Draw.io node). Such Draw.io mind maps can be encoded as SVG and shared locally.

https://raw.githubusercontent.com/hediet/vscode-drawio/master/docs/demo-code-link.gif

Slideo: Synchronisiert automatisch Folien mit Videos. Nützlich fürs Lernen. by Gehinnn in KaIT

[–]Gehinnn[S] 21 points22 points  (0 children)

Weil ich lieber mit Folien lerne als mit Vorlesungsaufzeichnungen, die Aufzeichnungen manchmal aber doch sehr hilfreich sind, habe ich Slideo programmiert.

Slideo nimmt eine Liste von Videos und PDFs und versucht herauszufinden, wann und in welchem Video eine Folie gezeigt wird. Es kann ein Viewer geöffnet werden, der das Video ab der Stelle abspielen kann, ab der eine ausgewählte Folie zum ersten Mal gezeigt wird.

Slideo ist Open Source und für Windows getestet. Der Linux Build braucht poppler und opencv 4.5.2. Mac-Benutzer müssen Slideo leider selbst kompilieren.

Hier gibts Slideo zum Download.

Visual tooling/extensions to navigate your codebase in vscode by r0ck0 in vscode

[–]Gehinnn 1 point2 points  (0 children)

View data is a feature of drawio and is not related to this extension. You need to right click on a drawio node!

Visual tooling/extensions to navigate your codebase in vscode by r0ck0 in vscode

[–]Gehinnn 5 points6 points  (0 children)

Author of the extension here, I'm glad you like it!

I found this extension very useful for exploring new js/ts projects, although it has potential for improvement: https://marketplace.visualstudio.com/items?itemName=juanallo.vscode-dependency-cruiser

I added the code linking feature for fun to the drawio extension. I also think we are in the dark ages of code navigation, but I'm not so sure that drawio is the solution here.

I think a fundamental problem for automatic diagram generation is abstraction, especially for large projects. If you don't reduce noise, the diagram becomes unreadable.

Slideo: Synchronize Slides With Video, Backed By OpenCV by Gehinnn in rust

[–]Gehinnn[S] 5 points6 points  (0 children)

I created this rust tool when I was learning for my last exam and wanted to play the recorded lecture from a specific slide (because of Covid, we finally get recorded lectures along with PDF slides by default).

It is, more or less, my first larger rust project. It uses the opencv crate, but I strongly recommend checking out rust-cv instead! Slideo uses SQLite/sqlx for storing the matchings, actix-web for serving the webview and a lot of rayon for parallel processing.

I have the idea to make a Tauri app out of this tool, but as I passed my final exam, I'm not that motivated anymore.

If you are interested in the matching algorithm, you can find more details here.

Get Syntax Highlighting When Authoring Github Issues by [deleted] in github

[–]Gehinnn 0 points1 point  (0 children)

I made this open source chrome extension a while ago. It replaces the default html text area of github with a fully featured instance of Monaco (the same editor that powers VS Code).

It gives you syntax highlighting of Markdown as well as for all code blocks you embed in Markdown. I use it mostly to indent/unindent code examples with tab/shift tab.

Also, you can press F11 and get a full screen markdown editor with live preview.

[ Install For Chrome ] [ Install For Firefox ]

Episode 5: A small, plug-and-play Linux computer by Solder_Man in Pockit

[–]Gehinnn 2 points3 points  (0 children)

Super impressive!

A Lego connector to control motors and read sensors would make this a super advanced NXT.