Open gablank opened 7 years ago
This is also an issue in PyCharm when using the "Virtual Space" setting.
CodeGlance version: 1.5.2, CLion version: 2017.1.2
Seeing the same issue in PhpStorm 2017.1.4 & CodeGlance 1.5.2
Having this issue in phpstorm as well
Noticed the same issue. Minimap shows wrong position across all scroll, not only in the bottom. If disable 'virtual space' the minimap works right
Can confirm with IDEA 2017.1.3 / CodeGlance 1.5.2 - this seems to be generic to the Jetbrains platform
@ROBsoer It is slightly offset also without the virtual space option , just less noticeable offset. (RubyMine 2017.3 - Build #RM-173.3727.77, built on November 21, 2017)
I also noticed this on IDEA 2017.2.3
I confirm the problem on IDEA 2017.3
Have the same problem please fix!
Having the same problem, tried turning off "Show virtual space at file bottom" and the issue was reduced, but still visible as PhpStorm 2018.1.1 still puts a small amount of whitespace (~5 lines) at the bottom of the screen as @ddnexus also pointed out.
This is still occurring in IntelliJ 2018.1.3 EAP, CodeGlance 1.5.4
Echoing what @benjamw said, the offset is less pronounced, but still visible with "Show virtual space at the bottom" disabled. It appears that in both cases, CodeGlance does not take the actual viewport size into account when calculating the highlight.
Is anything going with these issues? It stil occurs :(
Have the same problem please fix
https://github.com/mgziminsky/Minimap-for-Jetbrains/commit/a1b834de9f1b9d5206628bdf5fcd409abd335181 didn't actually resolved the issue...
Still occurs in 2020.01 (plugin version 1.5.4)
Replaced the CodeGlance plugin with the latest Minimap-for-Jetbrains from here, and it fixed the issue in PhpStorm 2020.3.2 (Build #PS-203.7148.74), so probably it would for other IntelliJ IDEs as well. Try it folks, CodeGlance seems to be abandoned.
It seems like Minimap-for-Jetbrains isn't available from the JetBrains plugin repository. Are you planning to add it there any time soon @mgziminsky ?
Just for the record, it can be downloaded and installed from the local filesystem anyway, independently from the plugin repository. Indeed, having it in there would be better.
I considered publishing it, but probably won't, at least not for now since I haven't been using Jetbrains IDEs much lately and am not actively maintaining my version since it works "good enough" for my needs for now. Sorry, but publishing would just require more commitment to the project than i'm interested in giving it.
Enabling the "Show virtual space at file bottom" (Settings->Editor->General, under "Virtual Space") makes the "scrollbar" on the minimap show the wrong place. When scrolling to the absolute bottom (with virtual space enabled), the minimap will think that you are at the actual file bottom (not in the virtual space).
Please see the image below for an example.
No code to be seen in the current position of the editor, yet the minimap renders as if there were.
Edit: CodeGlance version: 1.5.2, CLion version: 2017.1.1