Live data from Hacker News

Show HN: Toast, a beautiful by default in terminal IDE

github.com

71–80 of 91 posts

Re: Show HN: Toast, a beautiful by default in terminal IDE

#72
post #30
post #7

The "Emacs doesn't have a file-tree" is when I stopped short and wondered what this person's background is in IDEs. My emacs days are 1999 during my "functional or get out" phase, but my .emacs had close to 4000 lines in it, including xterm mouse support, a clone of midnight commander + sftp to a wehbost and deep integration with ctags/cscope/c++filt. There was even a line by line debugger with custom .gdbinit comman…

Sigh. Long time ago, in mid-2000-s I tried to switch to Emacs or Vim from Visual Studio. I wanted to have a simple project file tree as a side panel and multiple editor tabs on the right. I spent a week toying with various elisp scripts, Vim plugins, and digging out information from a then-moribund XEmacs mailing list. And I couldn't do what I wanted in the end. Nothing worked seamlessly or reliably. Can this be done…

I don't know about emacs, but its definitely doable in neovim. I don't know if the built in file explorer suits your needs, but now that nvim has a proper built in plugin manager, it's just one line of config to install neo-tree or something like that.

Re: Show HN: Toast, a beautiful by default in terminal IDE

#73

Earlier quoted context omitted.

For me it’s that why do I need another application open? I have my coding agents in the terminal, I should also be able to traverse and read a codebase in the terminal as well

Why do you want you coding agents to be in a terminal? A terminal is missing latex rendering, inline images, a browser showing what the agent is clicking on, being able to view a spreadsheet and then select a region to reference in the conversation, clickable links when it references a specific line number with mouse-over previews, and interactive inline visualisations. A coding agent missing any of those is a signif…

Terminals have had inline images for a long time at this point

Re: Show HN: Toast, a beautiful by default in terminal IDE

#74

First file I look at (concerning): "github.com/yourusername/toast/internal/components/breadcrumbs" "github.com/yourusername/toast/internal/components/closedialog" "github.com/yourusername/toast/internal/components/commandpalette" "github.com/yourusername/toast/internal/components/editor"

I'm not a golang person, but does this even compile like that? Do people not even run a build anymore?

Re: Show HN: Toast, a beautiful by default in terminal IDE

#75
post #30

Earlier quoted context omitted.

Sigh. Long time ago, in mid-2000-s I tried to switch to Emacs or Vim from Visual Studio. I wanted to have a simple project file tree as a side panel and multiple editor tabs on the right. I spent a week toying with various elisp scripts, Vim plugins, and digging out information from a then-moribund XEmacs mailing list. And I couldn't do what I wanted in the end. Nothing worked seamlessly or reliably. Can this be done…

I don't know about emacs, but its definitely doable in neovim. I don't know if the built in file explorer suits your needs, but now that nvim has a proper built in plugin manager, it's just one line of config to install neo-tree or something like that.

`neo-tree` is indeed close to what I'd love to see in a real text-mode IDE. I'm going to play around with it.

Re: Show HN: Toast, a beautiful by default in terminal IDE

#76
post #7

The "Emacs doesn't have a file-tree" is when I stopped short and wondered what this person's background is in IDEs. My emacs days are 1999 during my "functional or get out" phase, but my .emacs had close to 4000 lines in it, including xterm mouse support, a clone of midnight commander + sftp to a wehbost and deep integration with ctags/cscope/c++filt. There was even a line by line debugger with custom .gdbinit comman…

He said the same about vim, but did everyone forget about netrw? Here, go into vim and type `:Ex`. You can also have mouse support. (Netrw can also do trees if you don't like the format, go look at `g:netrw_liststyle`) My friend on eMacs say something similar, but you don't really need as many plugins as people typically use. There's lots of native ways to do things. It's totally fine to prefer NerdTree over the nati…

I like capslock bound to esc.

Re: Show HN: Toast, a beautiful by default in terminal IDE

#77
post #68

Earlier quoted context omitted.

> Can this be done out-of-the-box now? It always could be. Go into vim and type `let g:netrw_liststyle = 3` then `:Vex`. The window size won't be what you want, but is the core idea? Because if it is, you just set the liststyle in your vimrc and have netrw start on load, with proper pane location and width. That or most people have used NerdTree for a decade

I see, so nothing has actually changed within the last 20 years. A project tree is NOT a file list. It's a persistent panel that allows you to navigate within the project. It should also integrate with tools like recursive search (so it doesn't recurse into ignored folders like `node_modules`), build tools, code intelligence, and a debugger.

A lot has changed, but a lot of features have been there for a long time too. There's a reason people use neovim too

  > It's a persistent panel that allows you to navigate within the project.
Trivial to do with netrw. Again, NerdTree is a common alternative

  > It should also integrate with tools like recursive search (so it doesn't recurse into ignored folders like `node_modules`)
`:vim /re/ */* +`

Or checkout telescope, FZF, or rg. There's plenty of integrations

  > build tools
`:make`, `:grep`, `:compiler`. I mean you can do any terminal command...

Or plugins, dispatch.vim, overseer.nvim, vim-test

  > code intelligence
Ctags, or nvim has a LSP so I don't use ctags (or cscope) much anymore. Common plugins are: coc.nvim, ALE, vim-lsp, YouCompleteMe

  > debugger
termdebug Is native? Also check nvim-dap (Neovim), vimspector

Most of the plugins listed mostly just make things nicer, not add functionality that doesn't exist. There's a ton of native things I didn't even list.

I'm not saying you have to like it nor that it looks/works the way you like/want/are used to, but you're claiming the functionality doesn't exist and that isn't correct. If it want you argue over style, that's perfectly okay. The reason a lot of us use vim/emacs is because we customize the tools to what works best for us. That's one of their best features! You don't have to use vim, emacs, or any TUI. The tools you should use are the tools best suited to you. Full stop.

But I'll also add that I haven't seen a single thing VS Code or any GUI IDE can do that I can't do in vim while also using a lot fewer compute resources to accomplish it. Personally, I program better and faster in vim because I have years of experience in it and I'm at the point that reaching for the mouse just slows me down. The learning curve isn't that steep to get pretty comfortable in vim, but the depth is enormous and that takes a long time to master. But honestly, the latter is true about most tools. And frankly, I'd rather have a tool where I can keep progressing and do crazy things in than a tool that caps my limits or puts a huge barrier if I want to extend. I moved away from IDEs because I found I could do more in vim quicker. But that's me, not you. Your experience will certainly be different and there's nothing wrong with that. We're just different people and that's perfectly fine.

The only thing really being argued here is your claim that "x can't do y" and as a user of "x", I assure you, I can do "y"

Re: Show HN: Toast, a beautiful by default in terminal IDE

#78
post #76

Earlier quoted context omitted.

He said the same about vim, but did everyone forget about netrw? Here, go into vim and type `:Ex`. You can also have mouse support. (Netrw can also do trees if you don't like the format, go look at `g:netrw_liststyle`) My friend on eMacs say something similar, but you don't really need as many plugins as people typically use. There's lots of native ways to do things. It's totally fine to prefer NerdTree over the nati…

I like capslock bound to esc.

There's nothing wrong with that. Everyone has their own vimrc, you do you.

But most people don't know about , which works across your terminal, It isn't just a vim thing.

Re: Show HN: Toast, a beautiful by default in terminal IDE

#79

It's interesting that it brags about no AI as a feature, but the website (and maybe the product itself?) was clearly built using AI.

Yep, I have 2 kids under 1 so this project is either built with AI or it’s not built. I put that line in because the IDE aspect doesn’t need agent management or anything. Other tools are better for that.

Then maybe sometimes it's better to take a break and not bend the natural constraints of life for once. I mean, I'm all for easing some of life with automation but it seems that a general trend is emerging where people will just keep on going no matter what, when maybe we should just stop once in a while.

Re: Show HN: Toast, a beautiful by default in terminal IDE

#80

Earlier quoted context omitted.

Yep, I have 2 kids under 1 so this project is either built with AI or it’s not built. I put that line in because the IDE aspect doesn’t need agent management or anything. Other tools are better for that.

Then maybe sometimes it's better to take a break and not bend the natural constraints of life for once. I mean, I'm all for easing some of life with automation but it seems that a general trend is emerging where people will just keep on going no matter what, when maybe we should just stop once in a while.

I have been feeling an increasing self-imposed pressure to get more done with AI. Similar to the feeling I get when I play factorio too long. It's like the frontier of possibility has radically shifted and I feel almost guilty for not jumping into it. Tugging at me..

Idk the point of my comment but I feel you.

Post reply on HN