Skip to content
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

Enhancement: Configurable workspace behavior #119

Open
dcamper opened this issue Aug 23, 2018 · 1 comment
Open

Enhancement: Configurable workspace behavior #119

dcamper opened this issue Aug 23, 2018 · 1 comment
Labels

Comments

@dcamper
Copy link

dcamper commented Aug 23, 2018

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:

  1. 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.

  2. 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).

  1. Dedup the path list.

  2. 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'.

@stale
Copy link

stale bot commented Jun 12, 2022

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.

@stale stale bot added the wontfix label Jun 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant