Change:
this.oldDecorations.clear(); } } <ins> CommandsRegistry.registerCommand( '_executeInlineValueProvider', async ( accessor: ServicesAccessor, uri: URI, iRange: IRange, context: InlineValueContext ): Promise<InlineValue[] | null> => { assertType(URI.isUri(uri)); assertType(Range.isIRange(iRange)); if (!context || typeof context.frameId !== 'number' || !Range.isIRange(context.stoppedLocation)) { throw illegalArgument('context'); } const model = accessor.get(IModelService).getModel(uri); if (!model) { throw illegalArgument('uri'); } const range = Range.lift(iRange); const { inlineValuesProvider } = accessor.get(ILanguageFeaturesService); const providers = inlineValuesProvider.ordered(model); const providerResults = await Promise.all(providers.map(provider => provider.provideInlineValues(model, range, context, CancellationToken.None))); return providerResults.flat().filter(isDefined); }); </ins>

Discussion:
<!-- Do Not Delete This! bugreporttemplate --<!-- Please read our Rules of Conduct: --<!-- Read our guide about submitting issues: --<!-- Search existing issues to avoid creating duplicates. --<!-- Test using the latest Insiders build to see if your issue has already been fixed: --<!-- Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --<!-- Launch with to check. --Does this issue occur when all extensions are disabled?: Yes <!-- If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --<!-- Issues caused by an extension need to be reported directly to the extension publisher. The 'Help Report Issue' dialog can assist with this. --- VS Code Version: 1.81.1 OS Version: any Steps to Reproduce: extension code, call vscode.commands.executeCommand('vscode.executeInlineValueProvider',('c:/foo'),new vscode.Range(0, 0, 1, 1)); promise is rejected with Error: command '_executeInlineValueProvider' not found I am developing an extension, and was not interested in this specific command, but noticed it was missing when I was looking for an example of a debug related built-in command. I have no use for the command, I am just reporting it, because its in the the built-in commands wiki.
Looks like this was never implemented, the only commit that contains that string is do you have extra context here, should this be removed or fixed up?
I don't have any extra context but I suppose it would make sense for that command to exist?
<!-- -96bd-47a8-a0e8- --This feature request is now a candidate for our backlog. The community has 60 days to the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our . Happy Coding!
do we automatically add these api commands for all language providers or only if they need to exist for some specific scenario?
For things in we have them upfront but for other providers we don't have strict rules.

It's fine to go by request or to treat it as FR
For verification, the only implementation of this API that I am aware of is in java-debug, so you can write an extension that calls and call it while debugging java, or add a dummy provider like this