mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
PHP autocompletion: $_GET completes into $$_GET #86
This commit is contained in:
@@ -20,4 +20,9 @@ export function activate(context: ExtensionContext): any {
|
||||
|
||||
let validator = new PHPValidationProvider();
|
||||
validator.activate(context.subscriptions);
|
||||
|
||||
// need to set in the plugin host as well as the completion provider uses it.
|
||||
languages.setLanguageConfiguration('php', {
|
||||
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user