Skip to content
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

'Open declaration' action does not 'open' vars declared in foreach() #249

Open
litdevel opened this issue Jul 28, 2023 · 0 comments
Open
Labels

Comments

@litdevel
Copy link

litdevel commented Jul 28, 2023

Describe the bug
Open declaration action (default key F3) does not 'open' vars declared in foreach()

Describe the eclipse environment
Eclipse PDT 8.1.0.202307051059

To Reproduce
Steps to reproduce the behavior:

  1. Copy and paste in IDE
<?php
$array=array();
//$strange_value = null;
foreach ($array as $strange_key => $strange_value) {
 //
 // ...
 // A lot of new lines here
 // ...
 $strange_value;
}

  1. Mouse right click on '$strange_value' + Open declaration
  2. Open variable declaration failure

Expected behavior
Focus on foreach() line

@litdevel litdevel added the bug label Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant