Autocomplete plus doesn't work inside php


#1

If I write in a file before the <?php tag autocomplete works, but if I write inside <?php tag autocomplete doesn’work

My Atom version is 1.0.19 and autocomplete plus version is 2.19.1 and my OS is Ubuntu 14.04


#2

Same with me :scream:


#3

This is a common problem with PHP. There are many edge cases with PHP since the .php extension can mean two completely different things:

  1. PHP template file starting in HTML mode
  2. PHP source code file starting in PHP mode

This messes up snippets, syntax highlighting and autocomplete. See the open issues such as:


#4

Yes, but it should still be fixed. It should be easy to detect how it starts.


#5

I agree that it should be fixed.


#6

It’s the only thing I need to migrate to Atom ;->