castwide/solargraph

Add absolute paths on .solargraph.yml configuration

zLianK opened this issue · 4 comments

zLianK commented

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

@castwide Can you take a look in this issue?

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!

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

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.