ly95 / vsc.php-symbols

Support php symbols for VSCode.
http://ly95.github.io/vsc.php-symbols
MIT License
8 stars 0 forks source link

Symbols not parsed when inside if clauses #14

Open efc opened 6 years ago

efc commented 6 years ago

For example, given the following code ...

if ( defined( 'TEST' ) ) {
    class TestClass {
        public function testfunction( ) {
            echo "test";
        }
    }
}

... the symbols TestClass and testfunction will not appear on the symbols list.

tdchien commented 6 years ago

Voted for this (y)

Oxicode commented 6 years ago

+1