We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d215718 commit 2e339afCopy full SHA for 2e339af
1 file changed
extensions/merge-conflict/src/commandHandler.ts
@@ -158,6 +158,11 @@ export default class CommandHandler implements vscode.Disposable {
158
let navigationResult = await this.findConflictForNavigation(editor, direction);
159
160
if (!navigationResult) {
161
+ // Check for autoNavigateNextConflict, if it's enabled(which indicating no conflict remain), then do not show warning
162
+ const mergeConflictConfig = vscode.workspace.getConfiguration('merge-conflict');
163
+ if (mergeConflictConfig.get<boolean>('autoNavigateNextConflict.enabled')) {
164
+ return;
165
+ }
166
vscode.window.showWarningMessage(localize('noConflicts', 'No merge conflicts found in this file'));
167
return;
168
}
0 commit comments