Sublime Forum

Goto Definition doesn't work

#1

Sublime Text Build 4169. Goto Definition doesn’t work on a fresh install of ST4 in my NodeJS project.

I have verified

  • The node modules have been installed correctly.
  • index_files are set to true

However, when pressing F12 on code like

import { GlobalStyles } from ‘@mui/material’;

It’s simply reporting Unable to find material at the bottom.

Any idea?

0 Likes

#2

seems goto definition works on local modules but not external dependencies in node_modules directory

0 Likes

#3

After installing LSP-typescript. It’s working again. But failing to manage to get it to work without it.

0 Likes