CodeGlancePro icon indicating copy to clipboard operation
CodeGlancePro copied to clipboard

Incorrect minimap scrolling in .ipynb files

Open antonpavlovskyi opened this issue 2 years ago • 8 comments

  1. Which Glance version and IDEA version? 1.4.3 and Build #DS-221.5080.210, built on April 12, 2022
  2. Do you enabled reader mode option? no
  3. Could you show Glance config picture and minimap picture? image image
  4. What steps will reproduce the issue? Create a .ipynb file and run some cells to get output.

antonpavlovskyi avatar Jul 12 '22 09:07 antonpavlovskyi

sorry,This seems to be because those words do not belong to the editor can cause this problem,and hard to fix.

Nasller avatar Jul 12 '22 10:07 Nasller

I see, thanks for looking into it.

antonpavlovskyi avatar Jul 12 '22 11:07 antonpavlovskyi

I have the same problem with .java files in IDEA. I found out that it is due to the "new functionality" of inlay hints. 1 problem 3 line gap 2 settings

If the position of the hints is "Top" which is the default setting, they create "gaps" in the line numbering, which is not detected (detectable?) by "Code Glance". Changing the position of the hints to "Right" (or disabling them completely) fixes the problem.

spas-minkov avatar Jul 19 '22 15:07 spas-minkov

I have the same problem with .java files in IDEA. I found out that it is due to the "new functionality" of inlay hints.

1 problem

3 line gap

2 settings

If the position of the hints is "Top" which is the default setting, they create "gaps" in the line numbering, which is not detected (detectable?) by "Code Glance". Changing the position of the hints to "Right" (or disabling them completely) fixes the problem.

please read #7. I can't fix this. I need someone to help me.

Nasller avatar Jul 19 '22 16:07 Nasller

this is the solution from VSCode

issue

makai410 avatar Jul 21 '22 11:07 makai410

maybe we can optimize the problem like this

solution2

It connects the code and the minimap to help locate the code. Although not fixing the underlying problem, this optimizes the problem.

makai410 avatar Jul 21 '22 12:07 makai410

sorry,don't know what it mean

Nasller avatar Jul 21 '22 15:07 Nasller

I have the same problem with .java files in IDEA. I found out that it is due to the "new functionality" of inlay hints. 1 problem 3 line gap 2 settings

If the position of the hints is "Top" which is the default setting, they create "gaps" in the line numbering, which is not detected (detectable?) by "Code Glance". Changing the position of the hints to "Right" (or disabling them completely) fixes the problem.

CodeGlance Pro-1.4.7.zip

hello,this issuse now fixed,please check on this,but precision problem may occur

Nasller avatar Jul 29 '22 09:07 Nasller