This feels helpful as I have to hold less stuff in my mind, but the UI is way too mouse dependent right now. You guys should make some shortcuts and somehow make it “tiling” like a window manager (dwm), so you don’t have to manually resize windows.
We actually do try to make the canvas as keyboard navigable as possible. There are a list of keyboard bindings in the "Keybindings and Help" button on the bottom right. In terms of manually resizing, we actually do try to tile in the viewport. May I know what's causing you to resize it so I can fix it?
Launch HN: Haystack (YC S24) – Visualize and edit code on an infinite canvas
41–50 of 176 posts
Re: Launch HN: Haystack (YC S24) – Visualize and edit code on an infinite canvas
#42Very cool. I imagined my organizations entire codebase being mapped like this and across different frameworks and languages. I don’t know if I missed this in the video or if it’s not yet possible, but that’s a lot of manual work, so instead of connecting the nodes, give a simple bot to run in the repo folder to automate the visualization. It’s super cool and I’m adding to my watch list. If I were you, i’d target ente…
Re: Launch HN: Haystack (YC S24) – Visualize and edit code on an infinite canvas
#43Interesting, for me this is exactly the opposite of efficient code navigation. LSP + keyboard-driven interface is miles ahead in terms of efficiency and speed. I respect the effort of breaking into less researched lands though. Congrats on the launch, I'm sure some will find this tool useful.
The hard bit is making that to be "smart" and not annoying with things moving that you still need.
Re: Launch HN: Haystack (YC S24) – Visualize and edit code on an infinite canvas
#44Earlier quoted context omitted.
We're going to make a "Haystack-lite" extension in the future! I understand the pain here. We chose to go with a VS-code fork so we could maximize the canvas features. I am curious if you would find the "canvas" view distracting when it's on a sidebar as opposed to the main editor?
Thinking about it, a sidebar "canvas" could be more useful comparing to the main editor to me: * when reading code, I found I jump back and forth the call stack quite often, a visualization of this could help with this navigation, especially with some properly designed shortcut keys. * I mostly code on MacBook so screen real estate is precious. The canvas as main editor looks like waste a lot of screen space. But the…
Re: Launch HN: Haystack (YC S24) – Visualize and edit code on an infinite canvas
#45Earlier quoted context omitted.
We actually do try to make the canvas as keyboard navigable as possible. There are a list of keyboard bindings in the "Keybindings and Help" button on the bottom right. In terms of manually resizing, we actually do try to tile in the viewport. May I know what's causing you to resize it so I can fix it?
In this vein, do you know what the experience has been like for users that use the vim vscode plugin? I see that it's trivial to carry over extensions and whatnot, but is the experience still "good" trying to use both?
I am happy to fix any bugs here. I am the only person I know who uses the Vim plugin in Haystack, so I haven't prioritized fixing the bugs I encounter.
Re: Launch HN: Haystack (YC S24) – Visualize and edit code on an infinite canvas
#46Very cool. I imagined my organizations entire codebase being mapped like this and across different frameworks and languages. I don’t know if I missed this in the video or if it’s not yet possible, but that’s a lot of manual work, so instead of connecting the nodes, give a simple bot to run in the repo folder to automate the visualization. It’s super cool and I’m adding to my watch list. If I were you, i’d target ente…
that would be interesting if you could "link" across API calls to different services.
This is a top user request though!
Re: Launch HN: Haystack (YC S24) – Visualize and edit code on an infinite canvas
#47Very awesome! I want this for C# and Python! Are their any technical challenges there? I would love to use this with Unity.
For Python, it should work just fine!
Re: Launch HN: Haystack (YC S24) – Visualize and edit code on an infinite canvas
#48Does this project take any inspiration from Light Table? Potential feature request - take the visualization beyond 2D. Really complex systems are usually an intricate graph (polite way of saying ball of yarn) and just visualizing in the 2D plane doesn't seem to cut it in my experience. I would love to have something like concentric spheres of visualization - boundary services on the outer layer, core/domain services…
It's interesting that you mention a more 3D view. We were ideating on this, but it's really hard to get right in a way that the user can understand. This is definitely part of our vision for the future though!
EDIT: Deleted the bit about my speculation regarding Light Table since it's false.
Re: Launch HN: Haystack (YC S24) – Visualize and edit code on an infinite canvas
#49Very awesome! I want this for C# and Python! Are their any technical challenges there? I would love to use this with Unity.
For C# unfortunately we're missing a lot of features because the VS Code ecosystem itself lacks them (I think this is due to them being unique to Visual Studio). In most cases, except grabbing incoming/outgoing calls, Haystack should just work. For Python, it should work just fine!
I'll experiment with this over the weekend and I might share it with my game dev friends!
Re: Launch HN: Haystack (YC S24) – Visualize and edit code on an infinite canvas
#50https://www.youtube.com/watch?v=Ox5P7QyL774
More interesting search features were added after this video was made.