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

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,5 @@ github:
addBadge: true
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: true

workspaceLocation: DrupalPod/DrupalPod.code-workspace
24 changes: 0 additions & 24 deletions .vscode/launch.json

This file was deleted.

58 changes: 0 additions & 58 deletions .vscode/settings.json

This file was deleted.

99 changes: 99 additions & 0 deletions DrupalPod.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"folders": [
{
"name": "DrupalPod",
"path": ".",
},
{
"name": "Repos",
"path": "./repos",
},
{
"name": "Web Root",
"path": "./web",
}
],
"settings": {
"breadcrumbs.enabled": true,
"css.validate": true,
"diffEditor.ignoreTrimWhitespace": false,
"editor.tabSize": 2,
"editor.autoIndent": "full",
"editor.insertSpaces": true,
"editor.formatOnPaste": true,
"editor.formatOnSave": false,
"editor.renderWhitespace": "boundary",
"editor.wordWrapColumn": 80,
"editor.wordWrap": "off",
"editor.detectIndentation": true,
"editor.rulers": [
80
],
"files.associations": {
"*.inc": "php",
"*.module": "php",
"*.install": "php",
"*.theme": "php",
"*.profile": "php",
"*.tpl.php": "php",
"*.test": "php",
"*.php": "php",
"*.info": "ini",
"*.html": "twig",
},
"emmet.includeLanguages": {
"twig": "html"
},
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"html.format.enable": true,
"html.format.wrapLineLength": 80,
"redhat.telemetry.enabled": false,

/* PHP Intelephense */
"php.validate.executablePath": "/usr/local/bin/php",
"php.suggest.basic": false,

/* phpSniffer settings */
"phpSniffer.executablesFolder": "vendor/bin",
"phpSniffer.standard": "Drupal",

/* php-docblocker settings */
"php-docblocker.gap": true,
"php-docblocker.useShortNames": true,

// Allow searching files that are in .gitignore
"search.useIgnoreFiles": false,

// Configure glob patterns for excluding files and folders in fulltext searches and quick open. Inherits all glob patterns from the `files.exclude` setting.
"search.exclude": {
"**/vendor": true,
},
"workbench.startupEditor": "none",
},
"launch": {
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"hostname": "0.0.0.0",
"port": 9003,
"pathMappings": {
"/var/www/html": "${workspaceRoot}"
}
},
{
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug (simplest configuration)",
"program": "${file}"
}
]
},
"extensions": {},
}