Problem:
Do you offer any keyboard shortcuts in DataCamp's coding console?
Solution:
Yes! Below are shortcuts that can help speed up your workflow:
For when you're taking a course:
ctrl + h
(1x): Generate hintctrl + h
(2x): Generate solutionctrl/⌘ + enter
: Execute line or selected codectrl/⌘ + shift + enter
: Submit answer
For when you're writing your code in the script pane:
ctrl/⌘ + shift + /
: Comment out codectrl/⌘ + a
: Select allctrl/⌘ + c
: Copyctrl/⌘ + v
: Pastectrl/⌘ + x
: Cutctrl/⌘ + z
: Undoctrl/⌘ + y
: Redofn + delete
: Forward delete (macOS)alt + shift + arrow
: Select chunks of textoption + arrow
: Move text cursor between chunks of codectrl + shift + arrow
: Select a line of textctrl + arrow
: Move text cursor to the end of a lineshift + arrow
: Select text by character