77 questions
2
votes
0
answers
49
views
How to enable Syntax Highlighting and Go to Definition for annotation blocks in .mo files
Tags:
I’m using the SimplyDanny's Modelica Language Support Extension in VSCode to get syntax highlighting for my .mo files. However, two important features are missing:
Inside annotation blocks – ...
0
votes
1
answer
107
views
VScode - Go To Definition is never found for HTML and external JS files (included screenshots)
I don't even know if this is normal behaviour or it is broken.
But similar to how "Go To Definition" works between CSS and HTML files, where you're taken to the class or id referenced in ...
0
votes
1
answer
443
views
Visual Studio 2022 Go to Definition not Working With JavaScript
Good Day!
I have very bad experience with Visual Studio 2022, Finally after I decide to move from 2015 to the newest version 2022 with the latest version of Devsense PHP Tools, A lot of bad situations ...
2
votes
0
answers
252
views
Go to definition in current window if split windows for the same buffer
When I opened two split windows for the same buffer and called vim.lsp.buf.definition, if the symbol definition is in the same file, it would always jump to definition in the first window.
Is there a ...
2
votes
1
answer
322
views
How does "Peek-less navigation" work if "Goto Location: Multiple Definitions" is set to "goto" in vscode?
If I use go-to definition in vscode and there are multiple definitions, by default, it will open an inline window to let me peek at each result. The problem I have with it is that switching between ...
4
votes
0
answers
156
views
VS Code: Go to Definition from generated C#
In Visual Studio Code, I can perform the command to Go to Definition on a symbol in my solution, even if the symbol is defined in an assembly that is not part of my solution. Depending on whether “...
0
votes
0
answers
2k
views
vscode doesn't index project files
Linux system (mint19, ubuntu kernel), C/C++ extension package has been installed, IntelliSense seems to be working, but cannot go to the definition at will, can only go after opening the file ...
1
vote
1
answer
324
views
'Go to Definition' from a Python file in a symlinked directory redirects me to the canonical path
Example:
I Have /mnt/extra-drive/Git that contains multiple projects
I symlinked this directory to ~/Git
ln -s /mnt/extra-drive/Git ~/Git
And I open the projects using vscode from this new directory ...
0
votes
1
answer
656
views
In my VS Code editor, Ctrl+click and F12 don't work for "go to definition" (Laravel)
In my VS Code editor Ctrl+click and F12 don't works for "go to definition".
I'm working on a Laravel project, whenever I click Ctrl+click for the definition of a method it's not working. My ...
2
votes
0
answers
182
views
Enabling Go to Implementation with declaration maps if the library doesn't include TS sources in its NPM package
I can set inlineSources: true and the TypeScript compiler will put my TS sources into the sourcesContent attribute of the source map file. Is there any way to do the same thing with a declaration map ...
1
vote
0
answers
894
views
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 ...
1
vote
1
answer
420
views
How can I use "Go To Definition" for CommonJS `require`s in VS Code when the path to resolve is derived using runtime functions and values?
I want to be able to use Go to definition feature in VS Code for path such as:
const path = require('path');
const mypath = require(path.resolve('my', 'path'));
How can I configure in a way for VS ...
0
votes
1
answer
555
views
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 ...
4
votes
1
answer
1k
views
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 ...
0
votes
1
answer
514
views
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? [duplicate]
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 (...
10
votes
3
answers
12k
views
How to see the source code inside the library when doing ctrl+click (go to definition) in VS Code (Python)
I know that in VS Code, we can find the definition of variable/function by ctrl + clicking. Ctrl + click also supports that for variables/functions declared inside the libraries we've installed (e.g. ...
0
votes
1
answer
317
views
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 ...
1
vote
1
answer
144
views
How to go to definition for a module in agda on vsc
In visual studio code, the go to definition doesn't work for agda modules. I checked the key-bindings for agda-mode and the only one useful seemed c-c c-o but that doesn't seem to find some loaded ...
4
votes
3
answers
4k
views
Go To definition does not work in same file with VSCODE + VETUR
My vue.js configuration is
vue.js 2.0
use vue.cli
webpack
javascript not typescript
use multiple root
server : server project
client/dashboard : web client project(this is vue project)
On follow ...
1
vote
0
answers
226
views
In vscode 'go to definition' doesn't work with import modules in .js files when alias is used
I have vue project.
Go to definition works fine in .vue files, either I use alias or not.
But in .js files 'go to definition' works only if I don't use alias (checked with the same module).
It strange ...
2
votes
0
answers
250
views
How to configure dynamically includePath in vscode
In my project, there are two sub projects: basis_libs and services.
./-
|--- basis_libs
| |--- xxx
| ...
| |--- yyy
|
|--- services
|--- server1
|--...
4
votes
1
answer
4k
views
Visual Studio Code Go To Definition not working properly
I'm working on a simple Node.js project with NextJS in which the Go To Definition doesn't work properly in vscode.
I made a small video with the difference between Visual Studio Code and WebStorm, in ...
0
votes
2
answers
61
views
How can I create a goto expression in xtext?
I want to create a goto expression as follows
//label
<bb 2> :
//goto
goto <bb 2>;
The following grammar works fine for a simple ID. I have no idea how to reference the <ID INT>
...
0
votes
1
answer
1k
views
How perform "Go To Definition" in Visual Studio without using mouse click
I would like to perform Go To Definition without taking hands off the keyboard. Is it possible to change [Ctrl + Left Click] to [Ctrl + AnyKey] when cursor hover the target?
0
votes
1
answer
4k
views
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 ...
16
votes
4
answers
7k
views
vscode [ctrl+click] 'vue single-file components', 'go to definition' not working
// src/ui/tabbar/Index.vue
<template>
<div>
my-tabbar
</div>
</template>
// src/ui/index.js
import MyTabbar from './tabbar/Index.vue'
export default {
install(Vue) {...
2
votes
1
answer
815
views
VS Code "Go To Definition" does not exist - Javascript
I am using VScode version 1.57.
The issue is that it Simply cant not navigate to the definition, "Go To definition" not working.
as you can see in an image it does not exists.
What I have ...
2
votes
1
answer
2k
views
Implement "Navigate To Definition" (Ctrl+Click) in Visual Studio extension
I am writing a Visual Studio extension and I want to implement the Ctrl + Click command for my own file type. This is similar to the C#/C++ editor whereby Ctrl + clicking on a type name will take user ...
-2
votes
3
answers
61
views
GOTO was unexpected at this time if %sx% == 1 (goto %zz5%)
I'm working on an RPG style batch game, but I keep getting goto was unexpected at this time. I've looked over my code for hours, and still have no idea why it's doing this.
It's inconsistent as well. ...
0
votes
0
answers
680
views
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 ...
12
votes
4
answers
5k
views
Angular 10 “No definition found for …” in HTML component in Visual Studio Code
I'm working with angular 10 in VSCode and everything was working fine until today.
Suddenly I can't go to definition from HTML component neither via F12, right click - Go to definition nor Ctrl+click.
...
0
votes
0
answers
916
views
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 ...
1
vote
1
answer
840
views
(neo)vim coc - go-to-definition for html css
I was looking for a solution but never found a good one. Does anyone use COC for html css. How to go to definition in css file from class or ID in html file? Thanks for any help!
0
votes
1
answer
138
views
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 ...
1
vote
0
answers
68
views
"Go To Definition" for named exports works differently between JavaScript and TypeScript?
Given a file structure like this:
├── main.js
└── util
└── stuff.js
And some contents like this:
// stuff.js
export function add(a, b) {
return a + b;
}
// main.js
import * as maths from './...
4
votes
1
answer
24k
views
Go To Definition for PHP extensions in VSCode
When I use Composer 'Go To Definition' works well. But it doesn't work for PHP core extensions like MySQLi. Ubuntu is my OS and I have searched for PHP files for those libraries and only find their ....
4
votes
2
answers
2k
views
Go to definition in VS code doesn't show the body of a function
When I right click on a function and then select "Go to definition" there shows up a module with that function, but it only shows the parameters which have to be passed to it, and I can't see anything ...
21
votes
14
answers
54k
views
Visual studio 2019 go to definition and Intellisense not working
I have noticed a weird issue with Visual Studio 2019 v16.0.1 the IntelliSense about "Using directive is unnecessary" normally grey is missing and type reference suggestion for missing using is not ...
0
votes
0
answers
317
views
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 ...
0
votes
1
answer
850
views
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 ...
1
vote
1
answer
631
views
Go to Definition of class only showing public members
When I right click on a class (that is part of an third party assembly - not code I have written) in Visual Studio and select "Go to Definition", I can see all the methods, properties etc of the class....
0
votes
1
answer
109
views
Making goto definition work with two es6 cross projects
I am working on an html5 game engine and - in parallel - I am working on game using this engine.
Both are written using ES6 and transpiled using webpack. Both the engine and the app are in their own ...
2
votes
0
answers
212
views
Is there any way I could get Go to Definition on Visual Studio Code with other extension than .js?
Today I switched some project code base to use Node's ES modules which need to use .mjs file extension.
Sadly, this breaks Visual Studio Code's Go to definition when an imported resource comes from ...
2
votes
1
answer
449
views
Visual Studio 2017 "Go To Definition" for partial classes
In our solution, we work with many partial classes. The implementation is spread over 2 files, whereas one of the files only contains auto generated code.
When I press F12 (Go to Definition) on ...
2
votes
1
answer
1k
views
List function callers in Atom
I write Go code in Atom. I see a feature is go/jump to Definition function. But I want to view/show a list of callers to this function.
5
votes
1
answer
2k
views
Atom editor: list and jump to definition(s) in project
As already mentioned I'm using the Atom text editor.
I'm currently working on a project written in c++. Of course it is desirable to jump to the definition of a function (in another project file), or ...
0
votes
1
answer
999
views
VS Code Python 'autocompletion' and 'go to definition' for GAE not working
recently I've started to use VS Code instead of sublime text 3.
But I've got small issue, neither Go To Definition nor Autocomplete works.
When I try, for example, import json then, try to json. it ...
2
votes
0
answers
126
views
Visual Studio Custom Go To Definition
Assuming a solution containing two web project ("A" and "B"), which "A" loads in "B", and "B" is the presentation layer.
So when HTML file in project "A" addressing a JavaScript file located in ...
0
votes
1
answer
265
views
Find all references and Go to definition not working for a specific project in vs solution
In a VS 2013 solution with several projects I have added an existing project (dll) and referenced it in one of the other DLLs.
The problem is that when I use "Go to definition" for a class that is ...
2
votes
1
answer
340
views
Computed GOTO fails to execute
I encounter a strange behaviour in Fortran 77 code (gfortran compiler),
the following line works perfectly (jumping to label 202 for iprob=202):
if( iprob .eq. 202 ) goto 202
!...some ...