New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"View -> Context Info(ALT+Q)" and "Autoscroll from Source" do not work #1585

Closed
johndunlap opened this Issue Oct 9, 2017 · 10 comments

Comments

Projects
None yet
2 participants
@johndunlap

johndunlap commented Oct 9, 2017

I'm trying to switch over from the Eclipse EPIC Perl plugin and one issue that I'm really struggling with is being inside a .PM file and not knowing what function my cursor is in unless I scroll up to the subroutine declaration. I like that "Autoscroll to Source" works and I use it a lot. However, not having "Autoscroll from Source" or, at least, the breadcrumbs provided by ALT+Q is very limiting. This is something that the Eclipse EPIC plugin does exceptionally well and it's why I've used it for years, despite my general dislike of Eclipse.

I'm using plugin version 2017.3, IntelliJ Ultimate 2017.2.5, Perl v5.20.2, JDK 9+181 64 bit, and Debian 8.7 64 bit.

@hurricup hurricup added the Navigation label Oct 10, 2017

@hurricup

This comment has been minimized.

Show comment
Hide comment
@hurricup

hurricup Oct 10, 2017

Collaborator

I've got your point about context, but autoscroll from source works:
image

Collaborator

hurricup commented Oct 10, 2017

I've got your point about context, but autoscroll from source works:
image

@johndunlap

This comment has been minimized.

Show comment
Hide comment
@johndunlap

johndunlap Oct 10, 2017

That's strange because that's exactly what I've tried. I've also gone into project config and added a source folder but that didn't help. Is there a way that I can debug this?

johndunlap commented Oct 10, 2017

That's strange because that's exactly what I've tried. I've also gone into project config and added a source folder but that didn't help. Is there a way that I can debug this?

@hurricup

This comment has been minimized.

Show comment
Hide comment
@hurricup

hurricup Oct 10, 2017

Collaborator

You may download IDEA, download this repo and use Run Plugin run configuration
Could you describe more what you've tried and expected/got?

Collaborator

hurricup commented Oct 10, 2017

You may download IDEA, download this repo and use Run Plugin run configuration
Could you describe more what you've tried and expected/got?

@johndunlap

This comment has been minimized.

Show comment
Hide comment
@johndunlap

johndunlap Oct 10, 2017

What I expect:
Open a .pl or .pm file, jump to a specific line number(usually obtained from a stack trace) using CTRL+G, click into a function, and watch the Structure view highlight the function that I clicked into.

What I have tried:

  • Selecting/Unselecting all combinations of "Scroll to Source" and "Scroll from Source"
  • View -> Context Info
  • ALT+Q
  • Adding source folders in "Project Structure -> Modules"
  • Starting IDEA with both JDK 1.8 and 1.9
  • IDEA version 2016.3, 2017.2.1, 2017.2.4, 2017.2.5

johndunlap commented Oct 10, 2017

What I expect:
Open a .pl or .pm file, jump to a specific line number(usually obtained from a stack trace) using CTRL+G, click into a function, and watch the Structure view highlight the function that I clicked into.

What I have tried:

  • Selecting/Unselecting all combinations of "Scroll to Source" and "Scroll from Source"
  • View -> Context Info
  • ALT+Q
  • Adding source folders in "Project Structure -> Modules"
  • Starting IDEA with both JDK 1.8 and 1.9
  • IDEA version 2016.3, 2017.2.1, 2017.2.4, 2017.2.5
@johndunlap

This comment has been minimized.

Show comment
Hide comment
@johndunlap

johndunlap Oct 10, 2017

In all cases, when I click into a function, the Structure view never highlights the function that I clicked into.

johndunlap commented Oct 10, 2017

In all cases, when I click into a function, the Structure view never highlights the function that I clicked into.

@hurricup

This comment has been minimized.

Show comment
Hide comment
@hurricup

hurricup Oct 10, 2017

Collaborator

click into a function, and watch the Structure view highlight the function that I clicked into i don't understand what do you mean. May be screencast from eclipse?

Collaborator

hurricup commented Oct 10, 2017

click into a function, and watch the Structure view highlight the function that I clicked into i don't understand what do you mean. May be screencast from eclipse?

@johndunlap

This comment has been minimized.

Show comment
Hide comment

johndunlap commented Oct 10, 2017

@hurricup

This comment has been minimized.

Show comment
Hide comment
@hurricup

hurricup Oct 10, 2017

Collaborator

Now I got it! :) Thanks !

Collaborator

hurricup commented Oct 10, 2017

Now I got it! :) Thanks !

@hurricup

This comment has been minimized.

Show comment
Hide comment
@hurricup

hurricup Oct 10, 2017

Collaborator

You may build a plugin from repo as described here https://github.com/Camelcade/Perl5-IDEA/blob/master/README.md
and try. Alt+Q and Alt-Up/Down should work fine now. And navigate from/to source
Thank you for the nice request!

Collaborator

hurricup commented Oct 10, 2017

You may build a plugin from repo as described here https://github.com/Camelcade/Perl5-IDEA/blob/master/README.md
and try. Alt+Q and Alt-Up/Down should work fine now. And navigate from/to source
Thank you for the nice request!

@johndunlap

This comment has been minimized.

Show comment
Hide comment
@johndunlap

johndunlap Oct 10, 2017

It works! Thanks a lot!

johndunlap commented Oct 10, 2017

It works! Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment