Skip to content

Instantly share code, notes, and snippets.

View tsega's full-sized avatar
👑
Thriving

Tsegaselassie Tadesse tsega

👑
Thriving
View GitHub Profile
@tsega
tsega / settings.json
Created February 26, 2025 12:58 — forked from ultimike/settings.json
Visual Studio Code user 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",
@tsega
tsega / settings.json
Created February 26, 2025 12:58 — forked from ultimike/settings.json
Visual Studio Code workspace settings
{
/* DDEV container */
/* PHP Linting */
"php.validate.executablePath": "/usr/bin/php",
/* PHP Sniffer & Beautifier */
"phpsab.executablePathCS": "/var/www/html/vendor/bin/phpcs",
"phpsab.executablePathCBF": "/var/www/html/vendor/bin/phpcbf",
"phpsab.standard": "/var/www/html/phpcs.xml",
"phpsab.snifferEnable": true,
"phpsab.fixerEnable": true,
@tsega
tsega / instructions.md
Created June 25, 2018 13:15 — forked from sveggiani/instructions.md
Configure XDebug, Visual Studio Code for a Vagrant VM

Configure XDebug, Visual Studio Code for a Vagrant VM

1. Assumptions

  • Project (Drupal) is served on /var/www/html in the Vagrant box
  • Local project files location: c:\Users\username\Work\projects\my-project\repo\html
  • Guest machine IP is 10.0.2.2 (if this doesn't work, run route -nee in the VM and look for the gateway address)

2. Configuration

# Atom Cheatsheet.
# Project Key Bindings.
- 'cmd-shift-p': open the command palette.
- 'cmd-p' or 'cmd-t': open the fuzzy finder to find a file.
- 'cmd-b': look for a file that is already open.
- 'cmd-shift-b': search the list of files modified and untracked in your project repository.
- 'ctrl-0': open and focus the the tree view.