Visual Studio Code Notes

Free. Electron based. Seems OK.

 

Insert Date

Used this, to make CTRL+D, then T put in the date.

Open the Command Palette with Ctrl+Shift+p

Select "Preferences: Open Keyboard Shortcuts (JSON)"

Then insert your own modified version of the keybinding below.

 

    {

        "key": "ctrl+d t",

        "command": "editor.action.insertSnippet",

        "when": "editorTextFocus",

        "args": {

            "snippet": "$CURRENT_YEAR-$CURRENT_MONTH-$T$CURRENT_HOUR:$CURRENT_MINUTE:$CURRENT_SECOND.000-05:00"

        }

    }

https://mattferderer.com/create-a-snippet-or-shortcut-in-vs-code-to-insert-the-current-date-time

 

Second View on Second Monitor

CTRL+K and after releasing CTRL, press O

https://stackoverflow.com/questions/47260995/visual-studio-code-tabs-editors-of-the-same-project-in-multiple-screens

 

Overwrite Mode

VSC does NOT have an overwrite mode. Weird. Use below to install an extension. Then Insert key or CTRL+SHIFT+I

ext install overtype

 

tags: editor, text

Related Scribbles:
  • Text Editors


  • ID: 326
    Author:
    leonard
    Date Updated:
    2021-10-07 15:08:35
    Date Created:
    2003-09-26 17:06:22

    Edit

    Comments?
     >> Leonard Chan's Homepage  >> Scribble Web  >> Visual Studio Code Notes
    leonard.lotus-land.ca is hosted by Perceptus Solutions Inc.