diff --git a/src/providers/ObjectScriptClassSymbolProvider.ts b/src/providers/ObjectScriptClassSymbolProvider.ts index b4a79200..a1dd5547 100644 --- a/src/providers/ObjectScriptClassSymbolProvider.ts +++ b/src/providers/ObjectScriptClassSymbolProvider.ts @@ -53,7 +53,7 @@ export class ObjectScriptClassSymbolProvider implements vscode.DocumentSymbolPro } } - const method = line.text.match(/^((?:Class|Client)?Method|Trigger|Query) (%?\b\w+\b|"[^"]+")/i); + const method = line.text.match(/^((?:Client)?(?:Class)?Method|Trigger|Query) (%?\b\w+\b|"[^"]+")/i); if (method) { let startCode = line.range.start; let end = line.range.end;