VS Code Tips

Saving some helpful vscode tips for future reference

Date Created:
Last Edited:

Useful Hotkeys


  • CTRL+SHIFT+P - search for vscode commands
    • You can use this hotkey to quickly open up user settings
  • SHIFT+ALT+F - format HTML documents


If you are having trouble with Hotkeys / Keyboard Shortcuts, then there maybe a problem with another application on your computer capturing the keystrokes. Try closing other applications - like pgAdmin.

Python


  • For Jupyter notebooks, use the version of Python that is installed on your machine - not anaconda.
  • This stack overflow post goes into detail on how to speed up the problem where Jupyter notebooks take forever to execute Python.
  • TensorFlow is difficult to run with anaconda, so it is best to use the python kernel on your machine.


Comments

You must be logged in to post a comment!

Insert Math Markup

ESC
About Inserting Math Content
Display Style:

Embed News Content

ESC
About Embedding News Content

Embed Youtube Video

ESC
Embedding Youtube Videos

Embed TikTok Video

ESC
Embedding TikTok Videos

Embed X Post

ESC
Embedding X Posts

Embed Instagram Post

ESC
Embedding Instagram Posts

Insert Details Element

ESC

Example Output:

Summary Title
You will be able to insert content here after confirming the title of the <details> element.

Insert Table

ESC
Customization
Align:
Preview:

Insert Horizontal Rule

#000000

Preview:


Insert Chart

ESC

View Content At Different Sizes

ESC

Edit Style of Block Nodes

ESC

Edit the background color, default text color, margin, padding, and border of block nodes. Editable block nodes include paragraphs, headers, and lists.

#ffffff
#000000

Edit Selected Cells

Change the background color, vertical align, and borders of the cells in the current selection.

#ffffff
Vertical Align:
Border
#000000
Border Style:

Edit Table

ESC
Customization:
Align:

Upload Lexical State

ESC

Upload a .lexical file. If the file type matches the type of the current editor, then a preview will be shown below the file input.

Upload 3D Object

ESC

Upload Jupyter Notebook

ESC

Upload a Jupyter notebook and embed the resulting HTML in the text editor.

Insert Custom HTML

ESC

Edit Image Background Color

ESC
#ffffff

Insert Columns Layout

ESC
Column Type:

Select Code Language

ESC
Select Coding Language