Skip to content

Clicking a script uri should trigger go-to-definition #1647

@TwitchBronBron

Description

@TwitchBronBron

ctrl+click (in vscode) should go to the definition of the MainScene.brs file. (like what we do with import statements).

<?xml version="1.0" encoding="utf-8" ?>
<component name="MainScene" extends="Scene">
  <script type="text/brightscript" uri="pkg:/components/scene/MainScene.brs" />

  <interface>
    <field id="appExit" type="bool" alwaysnotify="true" value="false"/>
  </interface>

  <children>
    <MarkupList id="list" itemComponentName="ListItem" itemSize="[1900, 250]" itemSpacing="[0, 20]" drawFocusFeedback="false" translation="[20, 20]" wrapDividerBitmapUri="" />
    <Video id="video" visible="false" />
  </children>
</component>

Implement this in the correct bsc plugin region, and add unit tests.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions