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

Allow a configuration to map other folders and files #19

Open
renatho opened this issue May 16, 2023 · 1 comment
Open

Allow a configuration to map other folders and files #19

renatho opened this issue May 16, 2023 · 1 comment
Labels
Enhancement New feature or request VS Code wp-now

Comments

@renatho
Copy link

renatho commented May 16, 2023

It would be nice if there was a way to map files and folders while running a project.

I have this, for example:

- woocommerce
    - (plugin) woocommerce
    - (plugin) woocommerce-subscriptions
    - (plugin) woocommerce-memberships
- shared
    - (plugin) query-monitor
    - (plugin) wp-crontrol
- sensei
    - (plugin) sensei-lms
    - (plugin) sensei-pro
- job-manager
    - (plugin) wp-job-manager
    - (plugin) wp-job-manager-applications
    - (plugin) wp-job-manager-alerts

Basically, I run 2 different environments (a Sensei and a Job Manager site). And both share plugins and themes from other folders (like the plugins I have in woocommerce and shared folders).

Currently, I’m doing it with Local using symbolic links. I’d love to have it in a config file, or something like that.

@danielbachhuber
Copy link
Member

This would be cool 👍 Thanks for the suggestion!

We're adding some limited wp-env.json support with WordPress/wordpress-playground#230

We're also considering some auto-setup functionality with #20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request VS Code wp-now
Projects
None yet
Development

No branches or pull requests

2 participants