Change:
Commit: Datum: 2022-09-01T07:22:41.992Z Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/ Firefox/105.0 +left mouse click on a declaration moves the cursor to the reference if only one exists: https://user- +left mouse click on a declaration moves the cursor opens the reference menue if only multiple references exist: https://user- Commit: Datum: 2022-09-07T05:15:40.689Z Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/ Firefox/105.0 (Also doesnt work on the Desktop Electron App.) https://user- install the versions I listed above or use and you may use this example code : Maybe it has something to do with this:
Do you have configured?
Its the default: "editor.gotoLocation.alternativeDefinitionCommand": "" ! I used and without any account. So no custom settings or extensions. :) If I use another setting like "editor.gotoLocation.alternativeDefinitionCommand": "" it also doesnt work.
Does "Peek References" or "Go to References" work when invoked on that symbol? btw - this works for me using Safari or FF
yes https://user-
are you using with your account, or in a "private" window? ctrl+mouse also doesnt bring up the references popup in other chromium based browsers, like brave nightly or the Desktop version (also tried it in a new profile). ctrl+click on a reference brings me to the definition, so my ctrl key isnt broken :D
The bug is also happening if I choose english as a language and or keyboard layout.
The same thing is happening to me, I'm on insiders Version: 1.72.0-insider Commit: Date: 2022-09-07T05:18:06.866Z (1 day ago) Electron: 19.0.12 Chromium: 102.0.5005.167 16.14.2 V8: 10.2.154.15-electron.0 OS: Darwin arm64 21.6.0 Sandboxed: Yes
Same here
Same here. This is no longer working with the latest VSCode Insider version. For me it's not working with Dart code. If the usage is in the same file and there is only one, it will not jump there either.
I managed to reproduce with the steps in

Discussion:
import { EditorOption, GoToLocationValues } from 'vs/editor/common/config/editorOptions'; import * as corePosition from 'vs/editor/common/core/position'; import { IRange, Range } from 'vs/editor/common/core/range'; <del> import { IEditorAction, ScrollType } from 'vs/editor/common/editorCommon'; </del> <ins> import { ScrollType } from 'vs/editor/common/editorCommon'; </ins> import { EditorContextKeys } from 'vs/editor/common/editorContextKeys'; import { ITextModel } from 'vs/editor/common/model'; import { isLocationLink, Location, LocationLink } from 'vs/editor/common/languages';

muteMessage: boolean; } export class SymbolNavigationAnchor { static is(thing: any): thing is SymbolNavigationAnchor {

export abstract class SymbolNavigationAction extends EditorAction2 { <del> private static _allSymbolNavigationCommands = new Set<string>(); </del> <ins> private static _allSymbolNavigationCommands = new Map<string, SymbolNavigationAction>(); </ins> private static _activeAlternativeCommands = new Set<string>(); readonly configuration: SymbolNavigationActionConfig;

constructor(configuration: SymbolNavigationActionConfig, opts: IAction2Options) { super(SymbolNavigationAction.aaa(opts)); this.configuration = configuration; <del> SymbolNavigationAction._allSymbolNavigationCommands.add(opts.id); </del> <ins> SymbolNavigationAction._allSymbolNavigationCommands.set(opts.id, this); </ins> } override runEditorCommand(accessor: ServicesAccessor, editor: ICodeEditor, arg?: SymbolNavigationAnchor | unknown, range?: Range): Promise<void> {

const progressService = accessor.get(IEditorProgressService); const symbolNavService = accessor.get(ISymbolNavigationService); const languageFeaturesService = accessor.get(ILanguageFeaturesService); <ins> const instaService = accessor.get(IInstantiationService); </ins> const model = editor.getModel(); const position = editor.getPosition();

alert(references.ariaMessage); <del> let altAction: IEditorAction | null | undefined; </del> <ins> let altAction: SymbolNavigationAction | null | undefined; </ins> if (references.referenceAt(model.uri, position)) { const altActionId = this._getAlternativeCommand(editor); if (!SymbolNavigationAction._activeAlternativeCommands.has(altActionId) && SymbolNavigationAction._allSymbolNavigationCommands.has(altActionId)) { <del> altAction = editor.getAction(altActionId); </del> <ins> altAction = SymbolNavigationAction._allSymbolNavigationCommands.get(altActionId)!; </ins> } }

} else if (referenceCount === 1 && altAction) { // already at the only result, run alternative SymbolNavigationAction._activeAlternativeCommands.add(this.desc.id); <del> altAction.run().finally(() => { </del> <ins> instaService.invokeFunction((accessor) => altAction!.runEditorCommand(accessor, editor, arg, range).finally(() => { </ins> SymbolNavigationAction._activeAlternativeCommands.delete(this.desc.id); <del> }); </del> <ins> })); </ins> } else { // normal results handling