it does not work go to definition in WebStorm IDE

Answered

Hey guys,

I'm a beginner user that use the WebStorm. Why I can go to definition in css class in WebStorm.

command: ctrl+leftclick    or   ctrl+b

WebStorm version: 2020.3

Windows version: 10

 

please check these images:

 

 

that show this:   :(

 

instead of this :

1
4 comments

What does the useStyles definition look like? Is it smth like

useStyles = makeStyles({})

from "@material-ui/core"?

0
Avatar
Permanently deleted user

Elena Pogorelova

Hi,

Yes

 

import { makeStyles } from "@material-ui/core";

const useStyle = makeStyles(theme => ({
root: {
backgroundColor: "white",
width: "25%",
padding: "1.7rem 1rem"
},
0

Any update? Still having this issue.

0

Please sign in to leave a comment.