Is there any package to direct to declaration?


#1

For example, I have an http file and a css file as below:

index.html

<p class="style-sample">Sample paragraph</p>

styles.css

.style-sample {
}

Say that I am in index.html and my cursor is pointing to style-sample. Is the any package that can direct the cursor to the class declaration in styles.css? In a broader sense, a go-to-declaration feature for class, function, variable declaration, etc would be golden. I depended on this so much when I develop in Java.