solargraph icon indicating copy to clipboard operation
solargraph copied to clipboard

Add absolute paths on .solargraph.yml configuration

Open zLianK opened this issue 2 years ago • 4 comments

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 avatar Jul 13 '23 17:07 zLianK

@castwide Can you take a look in this issue?

zLianK avatar Jul 28 '23 17:07 zLianK

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!

gustavosimon avatar Jan 11 '24 18:01 gustavosimon

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

castwide avatar Feb 21 '24 15:02 castwide

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.

gustavosimon avatar May 21 '24 12:05 gustavosimon