Skip to content

Commit 6cd5f64

Browse files
committed
1 parent 8791b84 commit 6cd5f64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/parts/debug/electron-browser/breakpointWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export class BreakpointWidget extends ZoneWidget implements IPrivateBreakopintWi
218218
provideCompletionItems: (model: ITextModel, position: Position, _context: SuggestContext, token: CancellationToken): Thenable<ISuggestResult> => {
219219
let suggestionsPromise: TPromise<ISuggestResult>;
220220
if (this.context === Context.CONDITION || this.context === Context.LOG_MESSAGE && this.isCurlyBracketOpen()) {
221-
suggestionsPromise = provideSuggestionItems(this.editor.getModel(), new Position(1, 1), 'none', undefined, _context).then(suggestions => {
221+
suggestionsPromise = provideSuggestionItems(this.editor.getModel(), new Position(this.lineNumber, this.column), 'none', undefined, _context).then(suggestions => {
222222
return {
223223
suggestions: suggestions.map(s => {
224224
if (this.context === Context.CONDITION) {

0 commit comments

Comments
 (0)