Out of Box solution for zoom in/out for text only:
- Ctrl+Shift+P (or View->Command Palette…)
- Type Open User Settings
- Edit settings.json
- Add “editor.mouseWheelZoom”: true
- Save it.
You can use your mouse wheel to zoom in or zoom out only text in the text box.