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

[CLOSED] Static members of a class are not shown in hints while trying to access with class name until we type #12021

Open
core-ai-bot opened this issue Aug 30, 2021 · 1 comment

Comments

@core-ai-bot
Copy link
Member

Issue by nayankankariya
Friday May 03, 2019 at 09:31 GMT
Originally opened as adobe/brackets#14757


Title:

Brackets static members of a class are not shown in hints while trying to access with class name until we type

Steps:

  1. Create new php file and copy below content
<?php
class MyClass{
public static $staticValue = 'static';
const constantValue = 'const';
public $publicValue = 'public';
public static function staticMethod(){}
public function publicFunction(){}
}
$myclass = new MyClass();
MyClass
?>
  1. Place the cursor after "MyClass" type: "::"

Result:

No hints shown

Expected :

constantValue |MyClass|Untitled-1
staticMethod() |MyClass|Untitled-1
staticValue |MyClass|Untitled-1

@core-ai-bot
Copy link
Member Author

Comment by nayankankariya
Friday May 03, 2019 at 09:31 GMT


Fixed in adobe/brackets#14692

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant