When selecting “Go to Site Folder” in Local by WP Engine, it should open directly to the app/public
directory within the site folder, which is the same location that the new VSCode link opens. Currently, it opens to the top-level site folder containing app
, conf
, and logs
directories.
Hi @flipback
Is there a reason you think it should be narrowed down specifically to that directory? The current setting, I feel, is more broad because this can really depend on what users are looking for. It gets them to the general area, so then they can navigate down wherever they need to, depending on what they are looking for. Obviously, if they are using VS Code, then it makes more sense to open to that area.
I personally think the current directory makes more sense since there are important files in the conf, and logs (as a developer I use these daily). This quick link is for people who need access to all files within the Local environment not just the where WP is installed (i.e. Site - root server directory). If this is something you want @flipback I would suggest looking into the available site app/site code a creating a plugin that could do this for you.
Thank you for the feedback @matthewfarlymn! I’m in agreement, but we’ll keep an eye on the Feature Request to see what the community thinks. We’re always willing to look at things differently depending on what the best solution for a majority of users.
I actually disagree—for developers who use Bedrock configuration, the new VS Code button is completely useless. I really wish there was a way to configure which folder all of these quick buttons link to since it’s clearly very subjective.
Good idea @hellojd! We’ll keep this in mind too if there is enough interest around making changes. Bedrock is something historically we’ve seen some users ask to support in Local natively as well. We’ve got a feature request from last year here:
As @hellojd I would like the option to change which folder all of the quick buttons link to. I’m mostly developing WordPress plugins and often have multiple VS Code instances open with code from different plugins. I currently can’t do that with the VS Code button since it opens in app/public and all of the projects has an app/public folder so VS Code just closes the current window and opens the new since they have the same name.
Thanks @BbH_Jonas! I’ve updated the title of this request as I think if we are going to implement any changes it would make sense to add a customization option for these so users can self serve and place things how they want. I’ve passed this along to the Devs and we will continue to monitor interest here and look into potential optimizations.