-
Notifications
You must be signed in to change notification settings - Fork 37k
Open
Labels
new releaseIssues found in a recent release of VS CodeIssues found in a recent release of VS Codetriage-needed
Description
Type: Bug
Steps to Reproduce:
- Open VS Code integrated terminal.
- Set terminal.integrated.tabStopWidth to a non-default value such as 4
- Run a simple program that outputs a tab character such as print(a\tb)
- Observe that the output still uses 8 spaces per tab, ignoring the setting.
Expected behavior:
The tab character \t in program output won't respect the configured tab width in terminal.integrated.tabStopWidth.
In this example, a\tb should align with a 4 space tab instead of 8.
I'm a beginner in Python and few days ago I was playing with tab stop settings in VS Code to understand how it works. So, editor.tabSize works as expected, it changes the size of how many spaces a tab is equal to in the editor. However, terminal.integrated.tabStopWidth does not work as expected, if I'm not missing something.
VS Code version: Code 1.107.1 (994fd12, 2025-12-17T14:15:14.850Z)
OS version: Windows_NT x64 10.0.26200
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx (8 x 2096) |
| GPU Status | 2d_canvas: enabled direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 13.94GB (2.76GB free) |
| Process Argv | --crash-reporter-id 3e099f6b-8b0a-4860-8190-dace1216443d |
| Screen Reader | no |
| VM | 0% |
Extensions (10)
| Extension | Author (truncated) | Version |
|---|---|---|
| copilot-chat | Git | 0.35.2 |
| debugpy | ms- | 2025.18.0 |
| python | ms- | 2025.20.1 |
| vscode-pylance | ms- | 2025.10.4 |
| vscode-python-envs | ms- | 1.14.0 |
| jupyter | ms- | 2025.9.1 |
| jupyter-keymap | ms- | 1.1.2 |
| jupyter-renderers | ms- | 1.3.0 |
| vscode-jupyter-cell-tags | ms- | 0.1.9 |
| vscode-jupyter-slideshow | ms- | 0.1.6 |
A/B Experiments
vsliv368:30146709
pythonvspyt551:31249599
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31436602
aj953862:31281341
nes-set-on:31351930
63221493:31336333
cloudbuttont:31379625
todos-1:31405332
3efgi100_wstrepl:31403338
trigger-command-fix:31379601
use-responses-api:31390855
je187915:31407605
d5i5i512:31428709
ec5jj548:31422691
terminalsuggestenabled:31431119
cmp-ext-treat:31426748
cp_cls_t_966_ss:31435506
copilot6169-t2000-control:31431385
c0683394:31419495
478ah919:31426797
ge8j1254_inline_auto_hint_haiku:31427726
a5gib710:31434435
38bie571_auto:31426784
no_request_with_suggest:31435826
rename_enabled:31436409
7a04d226_do_not_restore_last_panel_session:31438103
anthropic_thinking_t:31432745
31c7i317_no_change:31434515
406hc587_ask_agent:31428393
cp_cls_t_1081:31433292
copilot-nes-callisto-trt:31434412
nes-slash-models-off:31440375
Metadata
Metadata
Assignees
Labels
new releaseIssues found in a recent release of VS CodeIssues found in a recent release of VS Codetriage-needed