semantic-stickyfunc-enhance icon indicating copy to clipboard operation
semantic-stickyfunc-enhance copied to clipboard

PHP support ?

Open prestancedesign opened this issue 7 years ago • 3 comments

Hi,

Is there a chance to making work with PHP ? Maybe it's depend to semantic itself but I don't find a repo. I am Spacemacs user and when I tried to toggle on semantic-stickyfunc-enhance on PHP file, I have this message :

Buffer file.php was not set up for parsing

Best regards. Mike

prestancedesign avatar Mar 09 '17 07:03 prestancedesign

@tuhdo I see on your comment https://github.com/syl20bnr/spacemacs/issues/738#issuecomment-76661489

As far as I know, it currently supports PHP/Java/Python/Ruby/Emacs Lisp/Common Lisp, outside of C/C++.

prestancedesign avatar Mar 09 '17 08:03 prestancedesign

Semantic needs a php parser to properly get tags, so other tools that depend on it - such as semantic-stickyfunc-enhance work properly, To enable for php, you should try to add Semantic support for PHP with this package: https://github.com/jorissteyn/semantic-php.

tuhdo avatar Mar 09 '17 08:03 tuhdo

Thx @tuhdo, I'll try that !

prestancedesign avatar Mar 09 '17 08:03 prestancedesign