castwide / solargraph

A Ruby language server.
https://solargraph.org
MIT License
1.87k stars 154 forks source link

Add absolute paths on .solargraph.yml configuration #674

Open zLianK opened 11 months ago

zLianK commented 11 months ago

Firstly, I need to say that Solargraph is a really good software, I'm using it, and it helps me a lot.

Now, going into the subject. I have all my .rb files located at F:\ruby\ and I am working on a workspace located at C:\ruby\app.

As I am coding from Windows, there isn't a way to get into F:\ruby by relative path. When I configure the include configuration, for instance, to F:/ruby, it tries to find the .rb files at C:\ruby\app\F:\ruby and not at the right location.

Without this feature, the intelissense is working only for classes and methods that are in the current directory or subdirectories.

So, I ask you to add a way to configure absolute paths on the .solargraph.yml file.

It would be so nice if you could produce this feature.

zLianK commented 11 months ago

@castwide Can you take a look in this issue?

gustavosimon commented 5 months ago

Hello @castwide and @zLianK! Hope you all well.

I'm facing the same problem with my Ruby projects.

@castwide is it possible to implement @zLianK suggestion?

Or.. can you tell us how should we implement it in solargraph?

I'm looking forward to your response!

Thanks!

castwide commented 4 months ago

Absolute path support is on the master branch and will be included in the next release.

gustavosimon commented 1 month ago

Hello @castwide! Hope you're doing well.

I got that the absolute path is now supported on the master branch. Can you release it?

I would like to have a release with this changes, because it will help a lot my team in a project that we are working on.