mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 09:38:38 +01:00
tslint
This commit is contained in:
@@ -34,7 +34,7 @@ export default class PHPCompletionItemProvider implements CompletionItemProvider
|
||||
|
||||
var matches = (name:string) => {
|
||||
return prefix.length === 0 || name.length > prefix.length && name.substr(0, prefix.length) === prefix;
|
||||
}
|
||||
};
|
||||
|
||||
for (var name in phpGlobals.globalvariables) {
|
||||
if (phpGlobals.globalvariables.hasOwnProperty(name) && matches(name)) {
|
||||
|
||||
Reference in New Issue
Block a user