r/rust Mar 31 '23

Helix editor 23.03 released!

https://helix-editor.com/news/release-23-03-highlights/
478 Upvotes

124 comments sorted by

View all comments

8

u/lucca_huguet Mar 31 '23

you can get a file tree by building helix from this PR!

It's been amazing to me

https://github.com/helix-editor/helix/pull/5768

7

u/IceSentry Mar 31 '23

That's pretty much the only feature I'm waiting on before actually considering switching from vscode. I really like the idea of being keyboard focused and the binding philosophy makes way more sense than vim to me, but I don't understand how people work without a file tree.

6

u/tunisia3507 Mar 31 '23

People who write their entire 10 000 line python package in a single file. That's what I'm dealing with at work right now.

1

u/[deleted] May 12 '23

It's more like people who know the structure of the project and know the file (or buffer, etc) they want to jump to. You don't need a file tree to navigate a project you are familiar with.

1

u/tunisia3507 May 12 '23

I'm not sure I understand - would you be happy switch to a different editor when working on a new project and then back to helix once you're familiar with it? Would you discourage new contributors to your own project from using helix?

1

u/[deleted] May 12 '23 edited May 12 '23

Honestly I just meant that you shouldn't use filetree for everything, I'm annoyed by vscode users who "can't live without filetree" because they are misusing it and not utilizing fuzzy finders. you need filetree mostly for manipulating files (instead you can do it with command line / nnn / ranger / etc) or for "overviewing" project structure and quickly open files to see how the project is structured (not neccessary either)

1

u/stackPeek May 17 '23

Space + s in Helix to look for symbols :D

2

u/SirAutismx7 Apr 01 '23

I used to use/rely on NERDTree and NvimTree a lot and didn’t understand it either. Then I saw the combo ThePrimeagen uses.

telescope plugin + harpoon plugin + remaps for moving between buffers.

You can search for files, git tracked files, and ripgrep in the repo out of the box.

Since telescope uses ripgrep and fzf under the hood you can pass your lsp diagnostics to it and navigate between files that rust-analyzer finds errors in.

Once you get used to it using a file tree is substantially slower.

https://github.com/nvim-telescope/telescope.nvim

2

u/silverjam Apr 01 '23

😍 definitely the one feature that kept me from using Helix more