### Godot version

4.0 dev_build

### System information

Ubuntu 22.04.1

### Issue description

The "Lookup Symbol" button don't appears for custorm class names.
Related issues: #68475,  #73167.
I tried apply #68311, #69473 and #73196. It don't helps.
The `Ctrl+LMB` works right for all cases.

### Steps to reproduce

Right click to the `CustomClassA` symbol in the `custom_class_b.gd` anywhere. The `Lookup Symbol` button don't appears in the context menu.

### Minimal reproduction project

Example from  #68475.
if (_debug_parse_err_line >= 0) {
		return;
	}
	ERR_FAIL_INDEX(p_level, _debug_call_stack_pos);
	int l = _debug_call_stack_pos - p_level - 1;
	GDScriptInstance *instance = _call_stack[l].instance;
	if (!instance) {
		return;
	}
	Ref<GDScript> scr = instance->get_script();
	ERR_FAIL_COND(scr.is_null());
	const HashMap<StringName, GDScript::MemberInfo> &mi = scr->debug_get_member_indices();
	for (const KeyValue<StringName, GDScript::MemberInfo> &E : mi) {
		p_members->push_back(E.key);
		p_values->push_back(instance->debug_get_member_by_index(E.value.index));
	}
}
ScriptInstance *GDScriptLanguage::debug_get_stack_level_instance(int p_level) {