Closed NullPlane closed 4 months ago
For the moment we only use $FILENAME which is actually the file path and not the name 😅, I guess I can add $PROJECTPATH
, I cannot think any other though. I don't like I used $ALLCAPS
, I might add the alternative that we use for the build system, they look like: ${project_root}
.
Ya I actually meant that. The problem is that some lsps want to store data in a given path individual to the project itself and it would be nice to have some kind of way to tell whether there is a single file opened or a folder as a project etc.
For jdtls specifically they do not enforce but kindly ask to have a project-respective dir in your current working dir or elsewhere. I think some vars in there may be helpful to some LSPs but maybe there are already such and I just did not find them.