markw65 / prettier-extension-monkeyc

A VSCode extension for Garmin MonkeyC
MIT License
11 stars 1 forks source link

Navigation to drawable in XML doesn't work #20

Closed m4tiz5zktonj closed 4 weeks ago

m4tiz5zktonj commented 1 month ago

Earlier I used to click on id of drawable inside layout, and plugin opened their declarations, but this doesn't work in the current version.

<resources>
    <drawable-list id="Background">
        <shape type="rectangle" x="left" y="top" width="fill" height="fill" color="Graphics.COLOR_BLACK"/>
    </drawable-list>
    <layout id="Layout">
        <drawable id="Background"/>
    </layout>
</resources>
markw65 commented 1 month ago

Can you identify a release where this worked?

m4tiz5zktonj commented 1 month ago

I've installed about 10 versions down to 2.0.70, and it doesn't work in every version I've tried.

It looks like it never worked, and I've confused it with <drawable class="MyDrawable"/>, that works in all versions. I'm sorry for the false information.

markw65 commented 1 month ago

No problem - this is obviously something that should be supported, but I couldn't see how it ever worked. I'll add it.