feat(completion): add pseudo-keywords like int, bool, strict_types to completion
parent
a8f60c9cf6
commit
d9bf587649
|
@ -91,7 +91,23 @@ class CompletionProvider
|
|||
'var',
|
||||
'while',
|
||||
'xor',
|
||||
'yield'
|
||||
'yield',
|
||||
|
||||
// List of other reserved words (http://php.net/manual/en/reserved.other-reserved-words.php)
|
||||
// (the ones which do not occur as actual keywords above.)
|
||||
'int',
|
||||
'float',
|
||||
'bool',
|
||||
'string',
|
||||
'void',
|
||||
'iterable',
|
||||
'object',
|
||||
|
||||
// Pseudo keywords
|
||||
'from', // As in yield from
|
||||
'strict_types',
|
||||
'ticks', // As in declare(ticks=1)
|
||||
'encoding', // As in declare(encoding='EBCDIC')
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue