Go to definition in Visual Studio Code not working

When I control click a react component (e.g. PeopleCell) in Visual Studio Code, I am expecting to be taken to the definition of the component. Instead, I am taken to redwood’s internal definition at path:

.redwood/types/mirror/web/src/components/PeopleCell/index.d.ts

Does anyone know how to configure Visual Studio Code to handle these “go to definitions” properly?

See this answer - it will likely help you. (my contribution here was to ask the same question as you did in a wider context (whole internet))

1 Like