sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
810 stars 39 forks source link

Perl - File is not opening upon doing Cmd + Click #4360

Open praveenvinny opened 3 years ago

praveenvinny commented 3 years ago

Description

Perl - File is not opening upon doing Cmd + Click

Steps to reproduce

  1. Start Sublime Text
  2. Open a Perl module (.pm file)
  3. Hover over a function call.
  4. Cmd + Click on the function.

Expected behavior

It should take you to the right function definition.

Actual behavior

It is neither taking me to the function nor is it opening in a new tab on the right.

Environment

deathaxe commented 3 years ago

Goto definition popup shows, click and ctrl+click onto links as well as goto definition (F12) work well with ST4107 on Windows 10.

Animation

Does it work in SAFE MODE?

alexkuz commented 3 years ago

I had the same issue (with all type of files), but safe mode did work, and commenting out all custom preferences and then bringing it back magically fixed it.

praveenvinny commented 3 years ago

Unfortunately that didn't work for me.

alexkuz commented 3 years ago

For me restarting ST brings back the bug, but any action that triggers package update (removing package, editing ignored_packages) fixes it again. So it has to be some of the packages that breaks something on ST startup.

alexkuz commented 3 years ago

@deathaxe I found a package that breaks it for me - https://github.com/jarhart/SublimeSBT. Been able to reproduce in safe mode (start in safe mode, install package control, install SublimeSBT)

praveenvinny commented 3 years ago

It is working for me in safe mode. But commenting out the preferences and bringing it back didn't help.

alexkuz commented 3 years ago

If you want to find a package that breaks it, you can add all packages to ignored_packages (its list can be found in Package Control.sublime-settings) and then bisect it, commenting out the half of it etc., that's how I found mine.