You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While editing I always have two "focus groups" (I call them panels) open, arranged in 2 columns, as produced by Alt+Shift+2. When I look up a symbol in one panel, I'd like the jump location to open in the other panel, even if the symbol is in the same file.
I tried to hack it in myself, but I wasn't able to understand the code. I'd be very happy about some pointers on where in the code CTags actually finds out which file the symbol is in, and where it jumps to that location. There's some dark magic going on in JumpToDefinition.run(). I assume that CTags needs to prepare some window in case there's more than one jump possibility. But I didn't manage to understand how the actual jump location is reached. A few explaining words would be much appreciated.
The text was updated successfully, but these errors were encountered:
I have a similar question. I have noticed that JumpToDefinition.run() when opening a new file will not focus the cursor line in the view window. I have to move the cursor for it cursor line to come into view. How does JumpToDefinition.run() open the file and navigate to the correct line?
While editing I always have two "focus groups" (I call them panels) open, arranged in 2 columns, as produced by Alt+Shift+2. When I look up a symbol in one panel, I'd like the jump location to open in the other panel, even if the symbol is in the same file.
I tried to hack it in myself, but I wasn't able to understand the code. I'd be very happy about some pointers on where in the code CTags actually finds out which file the symbol is in, and where it jumps to that location. There's some dark magic going on in JumpToDefinition.run(). I assume that CTags needs to prepare some window in case there's more than one jump possibility. But I didn't manage to understand how the actual jump location is reached. A few explaining words would be much appreciated.
The text was updated successfully, but these errors were encountered: