Skip to content

Commit

Permalink
Merge pull request #89 from keezen/patch-1
Browse files Browse the repository at this point in the history
fix newline bug in completion
  • Loading branch information
phodal authored Sep 20, 2024
2 parents 79772bf + db976e3 commit 1a0047f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/action/providers/AutoDevCodeInlineCompletionProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ export class AutoDevCodeInlineCompletionProvider implements vscode.InlineComplet
}

if (result) {
return [new vscode.InlineCompletionItem(result.trimStart())];
// return [new vscode.InlineCompletionItem(result.trimStart())];
return [new vscode.InlineCompletionItem(result)];
}
} catch (error) {
if (!token.isCancellationRequested) {
Expand Down

0 comments on commit 1a0047f

Please sign in to comment.