SVN workspace support #11403
Labels
A-helix-term
Area: Helix term improvements
C-enhancement
Category: Improvements
E-easy
Call for participation: Experience needed to fix: Easy / not much
E-good-first-issue
Call for participation: Issues suitable for new contributors
I'm working on Fortran projects under SVN (I know, right?). The fortls server works a charm, however, with Helix I run in to the issue of workspace root detection. Helix doesn't seem to treat
.svn
folders as workspace-root markers and so by default it uses my home directory (which in turn causes fortls to time out because it's too much stuff).After a lot of tinkering and looking at verbose logs, I was able to get it to work as desired in one of two ways:
.helix
or.git
directory to the workspace root. I seem to recall reading about this in the documentation a while ago, but I can't seem to find it any more. Is there a docs page that states exactly how the workspace root is determined by Helix? It would be helpful for this sort of debugging.roots
option in the Fortran language inlanguages.toml
:roots = [".fortls.json", ".svn"]
. Works, but is limited to the Fortran language.Neither of these solutions is ideal. It requires extra configuration steps either per language or per repository. As far as I can tell, this is not configurable in a generic way at the moment. Personally, the real strength of Helix over, eg, nvim, is that it "just works" most of the time.
I propose adding
.svn
as a criterion for workspace root detection. I would also be willing to provide a MR if given some pointers as to where in the codebase this happens.The text was updated successfully, but these errors were encountered: