To select a part of your code, drag your mouse while pressing Shift+Alt (on Windows and Linux) / Shift+Alt (on macOS).