How To Enable/Disable Scroll Predominant Axis VSCode

YouTube video
  1. Open VS Code.
  2. Click on File.
  3. Then find Preferences -> settings.
  4. Click on the Text Editor in the left side menu.
  5. Locate the Scroll Predominant Axis Setting.
  6. Check or uncheck: Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.