You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using the left navigation pane, each channel present in the file shifts the target navigation line in the editor with +2 lines. Navigating to the first channel works fine, from there on, navigating to other channels will be off an additional +2 lines after each channel. This makes the navigation to other elements (e.g. operations, messages) also off.
This is valid only when using JSON document format (YAML has different issue).
How to Reproduce
Open the "MQTT" template in Studio (have at least Navigation and Editor panes open)
Convert the document to JSON
Click on "LIGHTINGMEASURED" channel in Navigation pane -> editor jumps to and highlights "lightingMeasured" - OK
Click on "LIGHTTURNON" channel in Navigation pane -> editor jumps to and highlights "lightTurnOn.messages", the line 2 below lightTurnOn - NOK
Click on "LIGHTTURNOFF" channel in Navigation pane -> editor jumps to and highlights the line 4 below lightTurnOff - NOK
Screenshots
Expected behavior
Clicking on an element in the Navigation pane makes the editor jump to and highlight the line in which the element is defined.
The text was updated successfully, but these errors were encountered:
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
tbaroti
changed the title
While using the left navigation pane, each channel present in the file shifts the target navigation line in the editor with +2 lines
Each channel makes the navigation target in the editor off by 2 lines
Dec 23, 2023
Describe the bug
While using the left navigation pane, each channel present in the file shifts the target navigation line in the editor with +2 lines. Navigating to the first channel works fine, from there on, navigating to other channels will be off an additional +2 lines after each channel. This makes the navigation to other elements (e.g. operations, messages) also off.
This is valid only when using JSON document format (YAML has different issue).
How to Reproduce
Expected behavior
Clicking on an element in the Navigation pane makes the editor jump to and highlight the line in which the element is defined.
The text was updated successfully, but these errors were encountered: