(评论)
(comments)

原始链接: https://news.ycombinator.com/item?id=41068719

隆重推出 Haystack Editor - 一种用户友好的集成开发环境,旨在通过处理重复性任务(例如重构和查找代码)来简化编码流程,从而使开发人员能够专注于编程的创新方面。 目前仅适用于 macOS,并计划未来支持 Linux 和 Windows 系统。 Haystack 背后的概念源于在导航复杂且已建立的代码结构时面临的挑战,特别是在管理功能工作流程(例如更新亚马逊购物车内的商品列表)时。 为了简化此任务,Haystack 提供了几个关键功能: 1. 使用画布对代码库进行可视化表示,以逻辑图形格式显示互连的函数、类和其他元素。 2. 智能导航工具,方便修改后无缝地进行跨文件和功能调整。 该系统预测即将发生的操作,并提供创建新函数或方法的建议,以及改进代码的相关部分,而无需大量的手动操作。 3. 自然语言搜索功能,无需在代码库中进行耗时的搜索来定位特定功能。 虽然尚未完全实施,但正在稳步改进。 对于感兴趣的人,请提供反馈,以帮助改善整体用户体验。 此外,由于 Haystack 基于 Visual Studio Code,因此用户可以转移现有的扩展和键盘快捷键。 如果在此过程中出现任何问题,请随时与我们联系。

相关文章

原文
Hi HN, we’re building Haystack Editor (https://haystackeditor.com/), a canvas-based IDE that automates the boring stuff (plumbing, refactoring, and finding code) so that you can focus on the exciting parts of software development! You can see a quick overview of Haystack at https://www.youtube.com/watch?v=c2uZnR5D_cc!

(It's currently only on Mac OS but we're working on Linux and Windows. Edit: just added a Linux download!)

Haystack was born out of our frustrations with working in large and mature codebases, specifically with navigating and editing functional flows (e.g. the code flow for adding an item to the Amazon shopping cart).

Oftentimes dealing with such flows would involve navigating a maze of files and functions, and making any edits would involve a lengthy process of doing corresponding downstream/upstream plumbing.

Haystack attempts to address this in the following ways:

    1. It allows you to explore your codebase as a directed graph of functions, classes, etc on the canvas. We feel like this better fits how your mind understands your codebase and helps you find and alter functional flows more intuitively. We especially want to utilize this for pull request reviews!

    2. It has a navigational copilot that makes edits across files or functions much easier. After you make some changes, Haystack will try to predict your next action and create functions/methods or refactor upstream/downstream code for you. Haystack will surface these speculative edits on the canvas in a way that you can easily dismiss or incorporate them, allowing you to make large changes with a few clicks or keystrokes.

    3. Haystack will utilize natural language search so you don’t have to play “Where’s Waldo” to find a functional flow in your codebase. This is coming soon!

We’re still pretty early in development and we really want to perfect the experience of navigating and editing code on a canvas. Any feedback would be much appreciated!

PSA: Since Haystack is a VS Code fork, you should be able to move your extensions and keyboard shortcuts. Please let us know if you have any issues with this!

联系我们 contact @ memedata.com