We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b626fb commit 3cfc8f1Copy full SHA for 3cfc8f1
src/utils/classDefinition.ts
@@ -154,7 +154,7 @@ export class ClassDefinition {
154
if (name.startsWith("#")) {
155
pattern = `(Parameter) ${name.substr(1)}(?=[( ;])`;
156
} else {
157
- pattern = `((Class)?Method|Property|RelationShip) ${name}(?=[( ])`;
+ pattern = `((Class)?Method|Property|RelationShip) (${name}|"${name}")(?=[( ])`;
158
}
159
return this.getDocument().then(document => {
160
for (let i = 0; i < document.lineCount; i++) {
0 commit comments