Setting up VSCode: Difference between revisions
Marcus Green (talk | contribs) No edit summary |
Marcus Green (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
https://marketplace.visualstudio.com/items?itemName=MateuszLesiak.vscode-moodle-snippets | https://marketplace.visualstudio.com/items?itemName=MateuszLesiak.vscode-moodle-snippets | ||
Offers some useful Moodle specific code completion popups. | Offers some useful Moodle specific code completion popups. | ||
To ensure trailing white space is trimmed do the following | |||
Open VS User Settings (Preferences > Settings > User Settings tab). | |||
Click the {} icon in the top-right part of the window. This will open a document. | |||
Add a new "files.trimTrailingWhitespace": true setting to the User Settings document if it's not already there. | |||
This is so you aren't editing the Default Setting directly, but instead adding to it. | |||
Save the User Settings file. |
Revision as of 13:42, 10 January 2020
VSCode stub https://en.wikipedia.org/wiki/Visual_Studio_Code
This plugin https://marketplace.visualstudio.com/items?itemName=MateuszLesiak.vscode-moodle-snippets Offers some useful Moodle specific code completion popups.
To ensure trailing white space is trimmed do the following
Open VS User Settings (Preferences > Settings > User Settings tab). Click the {} icon in the top-right part of the window. This will open a document.
Add a new "files.trimTrailingWhitespace": true setting to the User Settings document if it's not already there. This is so you aren't editing the Default Setting directly, but instead adding to it.
Save the User Settings file.