igoriakovlev / JumpToLine

23 stars 3 forks source link

Arrow in gutter is not draggable. #1

Open ig13 opened 4 years ago

ig13 commented 4 years ago

When I run in debug mode, the orange arrow appears in the gutter, but nothig happens when I try to drag it with mouse or click on it with Ctrl pressed.

My setup: Jump to Line 0.1.0, IDEA 2020.2.1 CE (build #IC-202.6948.69), Windows 8.1 6.3.

Also I checked idea.log - can't see nothing suspicious there. The only line related to the plugin is "Loaded custom plugins: ..., Jump to Line (0.1.0), ...".

igoriakovlev commented 4 years ago

Hi there,

Was it the only debug session? Is it reproducible? If so, could you give me an example project and steps to reproduce? It is too little info to make any assumptions for now.

ig13 commented 4 years ago

Was it the only debug session?

If you mean running IDEA or plugin in debug mode then no. I talked about normal plugin usage.

Is it reproducible? If so, could you give me an example project and steps to reproduce?

To the moment I have found out that described behaviour is kinda project-dependent, indeed. In some projects dragging works, but the plugin still does not work properly though, since I always get "An error occured while popping stack frame: information about the frame is not available" (example, JIC).

I cannot provide the original project, sorry.

igoriakovlev commented 4 years ago

Maybe it worth to send me IDEA logs (if it does not have any sensitive data of course). (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files)

Gravityzwell commented 3 years ago

For what it's worth, my tests with Kotlin and Idea latest version on Windows worked without issue.

chylex commented 3 years ago

I ran into this issue too, but it was because I was testing the plugin in a main method which is apparently not supported. It would be helpful if clicking the 'Skip to Cursor' action showed you the reason why you cannot jump, currently it seems to just do nothing at all if one of the preconditions fails.

igoriakovlev commented 3 years ago

Yes, plugin has limitations for jumps in main functions and other limitations described in here. I've added error reporting to menu handler. For now, You can manually build and install plugin with these changes.