-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically detect additional workspace #55
Comments
Yes, this should work. The Navigator is not very workspace centric, but rather path centric. I suspect you just need Something like In general, most of the path resolution is done by perl itself using |
Well, that's what I'm doing now. So the workspace thing itself isn't quite
supported, then.
…On Fri, Dec 16, 2022 at 4:18 PM bscan ***@***.***> wrote:
Yes, this should work. The Navigator is not very workspace centric, but
rather path centric. I suspect you just need lib on the path.
Something like "perlnavigator.includePaths": [
"$workspaceFolder/mySubFolder/lib" ] should work.
In general, most of the path resolution is done by perl itself using perl
-c, so as long as individual perl files can find their dependencies via -I
include paths, most of the features should work. Let me know if something
doesn't work as expected with this setup.
—
Reply to this email directly, view it on GitHub
<#55 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFURPKX5XVOFOMK7S626XFLWNR25BANCNFSM6AAAAAATAYKLQ4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Correct, the Navigator really isn't workspace oriented, it's oriented around single files. As long as each file does a One thing that could help is automatically finding the root paths and adding them to the include path. For example, if I open |
Just curating tickets here and tagging this as "good first issue". Updating |
I have a monorepo setup, where I have some code in the root of my repo, and other code in subdirectories.
RIght now, perlnavigator is only picking up that the root of my repo is the
workspaceFolder
, but not in my subdirectories. The subdir is just like any other standard perl dir, withlib/
,t/
,bin/
and the like. It even has adist.ini
.Is there a way to automatically get perlnavigator to pick this up?
The text was updated successfully, but these errors were encountered: