Questions tagged [go-to-definition]

69 questions
1
vote
1 answer

Is there a way to change what is stored on the "Go To Definition" stack in Visual Studio 2008 (and 2005)?

Visual Studio 6 had the 'Go To Definition' (and 'Go To Declaration' functionality) just like Visual Studio 2005 & 2008. Oh, actually, not quite like those two. For some reason, not only are the 'Go To Definition' an 'Go To Declaration' actions…
Wilson F
  • 1,250
  • 1
  • 20
  • 37
0
votes
0 answers

VS Code: Is there a way to ignore local cache when using F12 'Go to Definition' and just look at files in the folder I have opened?

While using VS Code, I like to use the F12 'Go to Definition' feature often. The issue I have with this is that it always opens local cached versions of the scripts and never the ones I have opened in folder view. Is there a way to restrict this…
0
votes
1 answer

Go to definition [Ctrl + Click] not working in VS code after change php version

Go to Definition setting is ok , but not working. not work on functions in php and js anythink is missing? please tell me. I go to preference setting and check all option about goToReferences. i have no idea why is suddenly stop and not work.
0
votes
0 answers

VS code can not find function definition if the file is not opened

I'm using VScode for C++ projects and have the extension "C/C++ IntelliSense" installed, but recently the "Go to definition"(F12) cannot work correctly, if the source code file is opened, it works fine, otherwise it only navigate to the header file…
0
votes
1 answer

What is the correct approach to create a custom GoTo Definition behavior in VS Code extension?

I am creating a VS Code extension that supports a small proprietary language. One of the minimal requirements for it is to have a "Go To Definition" functionality for procedures only. Being very new to JavaScript/TypeScript i'm struggling with using…
0
votes
1 answer

How to configure Visual Studio Code so that it selects an already opened file in a different split view instead of opening it again in the same view?

I often use split view in Visual Studio Code, e.g., showing a C++ header file in the left view and the associated source file in the right view. What I often do is use the command Go to Definition (default key binding F12) in the header file (which…
j00hi
  • 5,420
  • 3
  • 45
  • 82
0
votes
1 answer

VSCode GoToDefinition behaviour - can't just go to next nest

When you have to work with STM32 HAL you know, there is many macros and sometimes you want to know where is implemented this one. In my example, in line 40 i use F12 on label PROSTE_MAKRO (F12 is GoToDefinition). In my case this function directs me…
Szymon
  • 1
  • 1
0
votes
2 answers

How can I create a goto expression in xtext?

I want to create a goto expression as follows //label : //goto goto ; The following grammar works fine for a simple ID. I have no idea how to reference the in the goto expression. Goto returns Goto: {Goto} 'goto'…
0
votes
1 answer

JetBrains Rider "go to source" does not work

I usually use pycharm/idea for python and java etc and I often whack F4 to get to the declaration of a class or method. Intellij calls this "go to source" in the keymap editor. I just recently installed Rider to do some c# work and immediately found…
TheChubbyPanda
  • 1,721
  • 2
  • 16
  • 37
0
votes
0 answers

Go to Definition not working Visual Studio 2019 Tried everything no luck

I have visual studio 2019 version 16.4.5 in C# and up until a few days ago, everything was working fine. However this week I just can't go to any step definition unless I do a find in the project which is very time consuming on such a large project.…
user610
  • 353
  • 2
  • 18
0
votes
0 answers

VSCode "Go To Definition" and Find not finding functions and vars

I am using VS Code to do a project where much of the code has already been provided. I am trying to learn how it all works. Often, both "Go to definition" and control+shift+f returns no results. I would expect valid code structures and functions to…
gcr
  • 443
  • 2
  • 5
  • 14
0
votes
1 answer

Where does the "Go To Definition" version number come from?

In Visual Studio 2019, if you right click on a symbol, you can select "Go To Definition". If the symbol is not defined in your code, it will attempt to generate the code from the dll. When it generates this file, it puts a #region comment at the…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
0
votes
5 answers

how to use GO TO in COBOL

I have the following code snippet in one of my COBOL program. IF FIRST < SECOND MOVE FIRST TO WS END-IF. MOVE SECOND TO WS. MOVE WS TO RESULT. I need to use GO TO inside the IF block to jump to the last statement (MOVE WS TO RESULT). IF FIRST…
mhshams
  • 16,384
  • 17
  • 55
  • 65
0
votes
0 answers

How To Get Serenata for Atom to Autocomplete / Goto Definition / etc. With Serialized Objects

I've noticed that PHP objects no longer work with goto definition, autocomplete, linting, tips, etc in Atom using Serenata once they've been serialized and then unserialized and reinstantiated. Is there a setting or any kind of a hack to get this to…
CreationTribe
  • 562
  • 1
  • 5
  • 17
0
votes
1 answer

Sublimetext find usages, references

I'm using SublimeText3 and wanted to know if there is an option (package) which can be used to Find references within the file. Find references within the folder. Goto definition. I found a command called Goto->Reference, but this does not work…
tmp dev
  • 8,043
  • 16
  • 53
  • 108