Skip to content

Commit 4d3d132

Browse files
authored
Merge pull request #372 from intersystems-community/#367-routines-outline
Ignore first line of routine for outline and breadcrumb
2 parents 561324e + 475951e commit 4d3d132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/ObjectScriptRoutineSymbolProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export class ObjectScriptRoutineSymbolProvider implements vscode.DocumentSymbolP
88
return new Promise((resolve) => {
99
const symbols: vscode.SymbolInformation[] = [];
1010

11-
for (let i = 0; i < document.lineCount; i++) {
11+
for (let i = 1; i < document.lineCount; i++) {
1212
let line = document.lineAt(i);
1313

1414
const label = line.text.match(/^(%?\b\w+\b)/);

0 commit comments

Comments
 (0)