vscode: Cannot input the dot character when entering the file name for a new file.

Type: Bug

Cannot input the dot character when entering the file name for a new file. Alert command " not found.

VS Code version: Code 1.78.0 (252e5463d60e63238250799aef7375787f68b4ee, 2023-05-03T20:09:00.748Z) OS version: Windows_NT x64 10.0.19043 Modes: Sandboxed: No

System Info
Item Value
CPUs Intel® Core™ i7-6567U CPU @ 3.30GHz (4 x 3312)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 7.84GB (3.59GB free)
Process Argv –crash-reporter-id 03052edb-eb5a-4a74-b897-b3bae9454ab4
Screen Reader no
VM 0%
Extensions (20)
Extension Author (truncated) Version
gitignore cod 0.9.0
vscode-eslint dba 2.4.0
EditorConfig Edi 0.16.4
prettier-vscode esb 9.12.0
vscode-jest-runner fir 0.4.60
code-runner for 0.12.0
todo-tree Gru 0.0.226
vscode-drawio hed 1.6.6
vscode-env Iro 0.1.0
svg joc 1.5.2
intellij-idea-keybindings k– 1.5.9
git-graph mhu 1.30.0
vscode-language-pack-zh-hans MS- 1.78.2023050309
subtitles-editor pep 1.1.7
material-icon-theme PKi 4.27.0
minapp-vscode qiu 2.4.9
LiveServer rit 5.7.9
even-better-toml tam 0.19.0
pdf tom 1.2.2
volar Vue 1.6.4
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30610679
3biah626:30602489
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
showlangstatbar:30730054
vsccsb:30705552
azdwalk:30721579
pythonms35:30701012
pythonfmttext:30731395
fixhidewlkth:30730051
showsbindicator:30730056

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 4
  • Comments: 17 (4 by maintainers)

Most upvoted comments

Oh my god. I just tried creating a new profile from existing to continue testing, and it opened what I’m assuming is a new UI feature to allow me to choose what to migrate from the existing profile. I clicked on keybindings.json, and here’s what’s at the very top of the file:

// Place your key bindings in this file to overwrite the defaults
[
	{
		"key": ".",
		"command": ""
	},
	// ...

I am 100% confident I did not configure that myself. Is this possibly some sort of legacy entry that was just ignored before the latest update?

This should be fixed in this week’s release - 1.78.2. Thank you everyone for help and sorry for the inconvenience!

I found that Path Intellisense is recommending Windows users to add { "key": ".", "command": "" }. https://github.com/ChristianKohler/PathIntellisense#are-you-a-windows-user I don’t remember whether I added on my own but I did have { "key": ".", "command": "" } in keybindings.json and have Path Intellisense installed.

<html> <body>
CPUs 13th Gen Intel® Core™ i7-13700K (24 x 3418)
GPU Status 2d_canvas: enabled canvas_oop_rasterization: disabled_off 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 video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled
Load (avg)
Memory (System) 31.79GB (20.82GB free)
Process Argv . --crash-reporter-id 6f8ccb6c-d82c-4433-9d77-a2118340989d
Screen Reader no
VM 0%
</body> </html> <html> <body>
Extension Author (truncated) Version
vscode-eslint dba 2.4.0
copilot Git 1.84.51
copilot-labs Git 0.12.791
go gol 0.38.0
vscode-docker ms- 1.25.0
csharp ms- 1.25.7
isort ms- 2022.8.0
python ms- 2023.8.0
vscode-pylance ms- 2023.5.10
jupyter ms- 2023.4.1011241018
jupyter-keymap ms- 1.1.0
jupyter-renderers ms- 1.0.15
vscode-jupyter-cell-tags ms- 0.1.8
vscode-jupyter-slideshow ms- 0.1.5
cpptools ms- 1.15.4
ruby reb 0.28.1
java red 1.18.0
shader sle 1.1.5
vscode-lldb vad 1.9.1
debug web 0.26.1
twig wha 1.0.2
vscode-ruby win 0.28.0
</body> </html>

Please, share your setup to come up with repro

To: @tgreiser @ZedG2 @dannymcgee and anyone who faces this bug

I’m trying to figure out how to reproduce this and learn if you share common setup.

Could you please share your setup - VS Code info, System Info and Installed Extensions?

For VS Code info, you can invoke command “Help: About” from the Command Palette (press F1 to open the Command Palette).

For System info and Installed extensions, you can invoke command “Help: Report Issue…” , click on “show” for System info and Enabled extensions and copy paste those here.


Workaround / temporary fix

It seems to me that you can invoke command “Preferences: Open Keyboard Shortcuts (JSON)” from the Command Palette (press F1 to open the Command Palette) and remove suspicious keybindings:

{ "key": "enter",                 "command": ""},
{ "key": "period",                "command": ""}