microsoft / microsoft/vscode

Markdown editor cannot (easily) edit an empty file

Open
#334,789 0 comments 0 reactions 1 assignee Claimed by @hediet View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

Type: Bug

1. Create an empty text file `hello.md`.
2. Open the file in the Markdown Editor.

Now it's impossible to enter any text - there is no cursor, and clicking in the window does nothing.

OK, now I've realized that if I click in just the right place in the upper-left corner of the editor area, I get a cursor and I can type. Still, this is a confusing user experience. I think the cursor should appear without my clicking there.

VS Code version: Code 1.136.1 (a44adf7f53e00964ab890f9f8758a334f1fc15bc, 2026-09-03T05:06:41Z)
OS version: Linux x64 7.0.0-31-generic
Modes:

System Info

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) Ultra 9 288V (8 x 808)|
|GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x8086 [Google Inc. (Intel)], DEVICE=0x64a0 [ANGLE (Intel, Mesa Intel(R) Graphics (LNL), OpenGL ES 3.2 Mesa 26.0.8-1ubuntu0.3)], DRIVER_VENDOR=Mesa, DRIVER_VERSION=26.0.8 *ACTIVE*
Machine model name:
Machine model version:
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: disabled_software
vulkan: enabled_on
webgl: enabled
webgpu: enabled
webgpu_on_vk_via_gl_interop: enabled
webnn: disabled_off|
|Load (avg)|1, 0, 0|
|Memory (System)|30.41GB (23.62GB free)|
|Process Argv|/home/adam/dev/natural_lean --crash-reporter-id 1f9b0137-ebea-4006-a756-f3bdceddf2b4|
|Screen Reader|no|
|VM|0%|
|DESKTOP_SESSION|ubuntu|
|XDG_CURRENT_DESKTOP|ubuntu:GNOME|
|XDG_SESSION_DESKTOP|ubuntu|
|XDG_SESSION_TYPE|wayland|
Extensions: none
A/B Experiments

```
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ddidtcf:31399634
ec5jj548:31422691
diffpatch-lysithea-24-production:31579162
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
46204921:31447328
capico_a_098a3278:31576179
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
i2gc6536:31499202
52612955:31516516
ec1eg703:31520046
ddid_c:31478207
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
a1ije391_t:31540920
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
jf4hg949:31526829
ahp-both-windows:31556933
ihg5j128:31534457
9gg7f176:31542112
sandbox-ui-on-2:31543161
enable_editor_pane_layout:31569726
allow-none:31555437
36h42362:31564511
c7c27ce7:31554789
1h923230:31564177
0dg73464:31554319
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
a1hcc538:31559322
nemo-v2:31565334
0c1h4866:31566224
vrbsty_tr:31561058
session-archive:31558132
5b8j3302:31564601
mangle-name-treatment:31572634
multiv2:31574985
2bfb8b39:31576696

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.