You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a request to add functionality that conditionally changes how embedded directories are handled within workspaces. The general idea is to make a workspace behave more like a "virtual parent directory" than what it does now.
Details, extracted from an email conversation:
Add the --nostdinc to eclcc invocations to avoid including whatever the current directory is. This would avoid a corner case where the workspace file is sitting in a parent directory that has a subdirectory that accidentally matches a workspace folder from another location.
For each "path" value in the workspace definition:
2a) Force it to be an absolute path.
2b) Remove leafname (so it is now referencing its parent directory).
Dedup the path list.
Make each path an included directory to eclcc.
The above behavior should be governed by a single configuration setting which can be overridden within the .code-workspace file if needed. One possible, if long, suggestion for a configuration name would be 'enableWorkspaceAsVirtualDirectory'.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This is a request to add functionality that conditionally changes how embedded directories are handled within workspaces. The general idea is to make a workspace behave more like a "virtual parent directory" than what it does now.
Details, extracted from an email conversation:
Add the --nostdinc to eclcc invocations to avoid including whatever the current directory is. This would avoid a corner case where the workspace file is sitting in a parent directory that has a subdirectory that accidentally matches a workspace folder from another location.
For each "path" value in the workspace definition:
2a) Force it to be an absolute path.
2b) Remove leafname (so it is now referencing its parent directory).
Dedup the path list.
Make each path an included directory to eclcc.
The above behavior should be governed by a single configuration setting which can be overridden within the .code-workspace file if needed. One possible, if long, suggestion for a configuration name would be 'enableWorkspaceAsVirtualDirectory'.
The text was updated successfully, but these errors were encountered: