-
IssueI have a miscellaneous Rust (Cargo) package where I write random code to experiment with things for fun. I did not initialize this Cargo package with a VCS since it will not be pushed anywhere and there will be no meaningful code to push. But, when using the file picker, I still am able to pick from anything in the SolutionMy proposed solution for this is to add a new key for the P.S.: I am relatively new to the Helix editor, so if there is any existing solution to this I would love to know! Nothing described in the configuration documentation for the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I have stumbled on some similar issue just now. You can check at the configurations here https://docs.helix-editor.com/configuration.html#editorfile-picker-section. You can add .ignore file at the root of your workspace (works similarly to .gitignore) and will prevent files and folders to show up in the file picker. My understanding is that .ignore is some sort of alternative to .gitignore when you are not in a git tracked repository. So in your case .ignore file should work fine. |
Beta Was this translation helpful? Give feedback.
-
I work at a company where we can't just add editor specific files to all our repositories. Is it possible to add this to the helix config? |
Beta Was this translation helpful? Give feedback.
I have stumbled on some similar issue just now. You can check at the configurations here https://docs.helix-editor.com/configuration.html#editorfile-picker-section.
You can add .ignore file at the root of your workspace (works similarly to .gitignore) and will prevent files and folders to show up in the file picker.
My understanding is that .ignore is some sort of alternative to .gitignore when you are not in a git tracked repository. So in your case .ignore file should work fine.