VS Code linter for settings reports valid commands as errors #10219

Open
opened 2026-01-31 02:15:39 +00:00 by claunia · 0 comments
Owner

Originally created by @burhan on GitHub (Aug 19, 2020).

Environment

❯ [Environment]::OSVersion

Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.19042.0 Microsoft Windows NT 10.0.19042.0


VSCode:

Version: 1.48.0 (system setup)
Commit: db40434f562994116e5b21c24015a2e40b2504e6
Date: 2020-08-13T07:50:42.600Z (5 days ago)
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.19042

Steps to reproduce

The visual studio code hints/linter for the terminal settings gives this warning when specifying a new command, where the command is just a string.

(the example was copied from the 1.2 preview release blog)

image

At first, it looked like this is only there for the newer commands, the existing command { "command": "paste", "keys": "ctrl+v" }, not does trigger the linter; but the problem is with the case, because if you change paste to pasteThis:

image

Expected behavior

No squigglies.

Actual behavior

Squigglies ☹

Originally created by @burhan on GitHub (Aug 19, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none ❯ [Environment]::OSVersion Platform ServicePack Version VersionString -------- ----------- ------- ------------- Win32NT 10.0.19042.0 Microsoft Windows NT 10.0.19042.0 VSCode: Version: 1.48.0 (system setup) Commit: db40434f562994116e5b21c24015a2e40b2504e6 Date: 2020-08-13T07:50:42.600Z (5 days ago) Electron: 7.3.2 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron.0 OS: Windows_NT x64 10.0.19042 ``` # Steps to reproduce The visual studio code hints/linter for the terminal settings gives this warning when specifying a new command, where the command is just a string. (the example was copied from the [1.2 preview release blog](https://devblogs.microsoft.com/commandline/windows-terminal-preview-1-2-release/)) ![image](https://user-images.githubusercontent.com/603112/90598227-53f7a180-e1fb-11ea-98d3-b05dfd92ee2c.png) At first, it looked like this is only there for the newer commands, the existing command `{ "command": "paste", "keys": "ctrl+v" },` not does trigger the linter; but the problem is with the case, because if you change `paste` to `pasteThis`: ![image](https://user-images.githubusercontent.com/603112/90603654-45fa4e80-e204-11ea-9767-0ed7834ec08b.png) # Expected behavior No squigglies. # Actual behavior Squigglies ☹
claunia added the Resolution-Duplicate label 2026-01-31 02:15:39 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10219