Live data from Hacker News

Show HN: Nogic – VS Code extension that visualizes your codebase as a graph

marketplace.visualstudio.com

41–50 of 55 posts

Re: Show HN: Nogic – VS Code extension that visualizes your codebase as a graph

#41
post #25

All the GitHub links on your extension page are borked (including issues) From the look of the associated domain it looks like you're going full product, best of luck I'm a huge proponent of graph & visual analysis of complex systems - would have loved to try this out, but will always skip closed source editor extensions (especially in the age of widespread npm supply chain attacks & vibe coding)

Here's the source code minified and bundled: https://www.gallery.vsassets.io/_apis/public/gallery/publish... Unzip that archive and the source is in extension/dist folder.

I’m confused - is it the actual source code, or minified/bundled code? I don’t think those two are the same thing - unless of course you write your code minified. That would be really impressive.

Re: Show HN: Nogic – VS Code extension that visualizes your codebase as a graph

#42

I guess it is still useless in Ruby or Ruby on Rails. Standard "find the method declaration" or "used here" do not work in Ruby on Rails. Still, huge companies maintain that Ruby on Rails mess, where you cannot properly investigate, so you just guess and use the search and find option. Those codebases won't be replaced for a while, but good luck working on them. Such a headache!

Man am I glad I don't have to work with Ruby anymore

Re: Show HN: Nogic – VS Code extension that visualizes your codebase as a graph

#43

I definitly think more tools like this are needed, but not open sourcing it is a mistake. You will be quickly replaced by a friendlier competitor.

We will make it open source soon! Follow me on X (@Davellele) to be updated when we do :)

Twitter/X is a big nope.

Re: Show HN: Nogic – VS Code extension that visualizes your codebase as a graph

#45

I guess it is still useless in Ruby or Ruby on Rails. Standard "find the method declaration" or "used here" do not work in Ruby on Rails. Still, huge companies maintain that Ruby on Rails mess, where you cannot properly investigate, so you just guess and use the search and find option. Those codebases won't be replaced for a while, but good luck working on them. Such a headache!

First of all, ruby-lsp does a great job at this, and the recent Herb helps with frontend templates.

This is enough to navigate between controllers, models and libs, unless you're trying hard to be clever which you shouldn't.

Then, in Rails, things have a canonical place in the codebase, that is consistent between codebases.

This is in contrast to languages and frameworks where every codebase is setup differently, but the static typing helps find code wherever it's hidden without pain, and thus without need for cleanup and thoughtful design.

To each their own, I prefer power for me, and pain for whoever drifts from the convention.

Re: Show HN: Nogic – VS Code extension that visualizes your codebase as a graph

#46

I've tried it, but it's very slow on a not too complex codebase with my M3 Macbook Air. -------------------------------------------------------------------------------- Language Files Lines Blank Comment Code -------------------------------------------------------------------------------- Typescript JSX 121 18724 1699 1051 15974 TypeScript 61 5389 629 550 4210 CSS 5 1039 50 22 967 Markdown 3 657 173 0 484 -----------…

We are actively improving on the performance! Also, I am a previous code canvas user too, but I felt like it didn't help me understand my codebase as much as I wanted it to.. that's why I decided to experiment something myself! :)

Thanks, CC is really helpful already for me the more tools like these exists, the better. With AI coding agents, I keep watching the visualization rather than the changeset first.

Re: Show HN: Nogic – VS Code extension that visualizes your codebase as a graph

#47

Earlier quoted context omitted.

How come nobody came up with an LSP that can perform this, all this time ?

Because it's an unsolvable problem without static type annotations and as far as I'm aware Ruby doesn't have a good solution for those yet (or if they do nobody uses it).

Sorbet is a decent one. I don't think it ever solved "jump to definition" though. I would just `rg def (self\.)?function_name` or I eventually developed a vibe for where things were, which is sort of the Ruby excuse for the ungreppability of everything. Sorbet did allow us to generate front end types in Elm and also allowed for type safe Haskell FFI. Past tense because it's an old job; as far as I know it's still happening.

Re: Show HN: Nogic – VS Code extension that visualizes your codebase as a graph

#50
post #23

Looks great, it was actually just playing around yesterday with `code canvas app` which is similar, and also Charkoal.dev and Haystack Editor (before code-review pivot) which are related. Yours looks better than any of them already! I wish it was available in Cursor as well though. Not sure how exactly they manage their marketplace, most VSCode extensions seem to be there but now and then I encounter one that is miss…

It is on Open VSX so you can download it directly from Cursor!
Post reply on HN