alibaba / alibaba/structure-view

Selecting item in Structure View navigates to wrong spot with code folding

Open
#29 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
35
Forks
12
PR merge metrics
No merged PRs in 30d

Description

I'm working with Java code and I noticed this issue:

Selecting an item from within the Structure View was moving my navigation inside the editor, as expected. However, it was not landing on the method declaration line. It was after I noticed that my import lines had been folded, and then unfolded them, that the navigation lands on the proper spot.

If this is a function of another package, I apologize. Please let me know and I'll open an issue there.

Atom: 1.30.0 x64 (Windows)
structure-view: 0.2.1
ide-java: 0.8.3

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in Atom 1.30.0 on Windows with structure-view 0.2.1 and ide-java 0.8.3: fold the Java import lines, select a method in Structure View, and observe the editor position. Done means selecting the item lands on the method declaration line without first unfolding the imports.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.