Settings
- Open the command palette (Ctrl+Shift+P) and type Preferences: Open Settings (JSON).
- Search for execute selectionand check the box.
- Code away
import numpy as np
x = np.linspace(0, 1, 100)
(Ctrl+Enter) lists suggestions; (Shift+Enter) executes the selection.