Skip to content

Instantly share code, notes, and snippets.

@hasinhayder
Last active March 10, 2020 06:39
Show Gist options
  • Save hasinhayder/ff10c9094804d2d01a5a962df77b7309 to your computer and use it in GitHub Desktop.
Save hasinhayder/ff10c9094804d2d01a5a962df77b7309 to your computer and use it in GitHub Desktop.
Visual Studio Code Tips

Open files on different tabs

Add the following line to the settings "workbench.editor.enablePreview": false

Enable blade formatting

"blade.format.enable": true

Enable K&R style brace completion (brace on the same line of the function definition)

"phpfmt.psr2":false,
    "phpfmt.exclude": [
        "AllmanStyleBraces"
    ]

Disable minimap

"editor.minimap.enabled": false

Enable mouse wheel zoom

"editor.mouseWheelZoom": true

And then, to reset font size to the default just hit Cmd + Shift + P and search for Editor Font Zoom Reset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment