shaal / DrupalPod

Start Drupal contributions with 1 click.
https://shaal.github.io/DrupalPod
MIT License
163 stars 54 forks source link

Feature: replace .vscode directory with a .code-workspace file #106

Open andy-blum opened 1 year ago

andy-blum commented 1 year ago

The Problem/Issue/Bug

The .vscode directory stores files that can be used to configure the editor's settings, debugger, et cetera, but the same thing and more can be accomplished in a .code-workspace file. Additionally, the code-workspace file allows users to create "multi-root workspaces" which can make navigating code easier when applications are spread across large numbers of files.

How this PR Solves The Problem

This PR moves the existing launch.json and settings.json files into the code workspace and sets three workspace folders:

Setting the folders up this way let us remove the distractions of other files/folders when we want to focus on work in the webroot or drupal git repo.

Manual Testing Instructions

Open the deploy preview, which should automatically set the editor's workspace to use the code-workspace file.

Related Issue Link(s)

None

Release/Deployment notes

codesandbox[bot] commented 1 year ago

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

ghost commented 1 year ago
👇 Click on the image for a new way to code review - Make big changes easier — review code in small groups of related files - Know where to start — see the whole change at a glance - Take a code tour — explore the change with an interactive tour - Make comments and review — all fully sync’ed with github [Try it now!](https://app.codesee.io/r/reviews?pr=106&src=https%3A%2F%2Fgithub.com%2Fshaal%2FDrupalPod)

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map Legend