mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
PHP autocompletion: $_GET completes into $$_GET #86
This commit is contained in:
parent
e807c0e305
commit
c7451c15d2
|
@ -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
|
||||
});
|
||||
}
|
Loading…
Reference in a new issue