Change:
Testing Meaning that it would automatically highlight and reveal in the background when you type a valid number of a match.

Discussion:
import { ICodeEditor } from 'vs/editor/browser/editorBrowser'; import { EditorAction, EditorCommand, EditorContributionInstantiation, MultiEditorAction, registerEditorAction, registerEditorCommand, registerEditorContribution, registerMultiEditorAction, ServicesAccessor } from 'vs/editor/browser/editorExtensions'; import { EditorOption } from 'vs/editor/common/config/editorOptions'; <ins> import { overviewRulerRangeHighlight } from 'vs/editor/common/core/editorColorRegistry'; import { IRange } from 'vs/editor/common/core/range'; </ins> import { IEditorContribution } from 'vs/editor/common/editorCommon'; import { EditorContextKeys } from 'vs/editor/common/editorContextKeys'; <ins> import { OverviewRulerLane } from 'vs/editor/common/model'; </ins> import { CONTEXT_FIND_INPUT_FOCUSED, CONTEXT_FIND_WIDGET_VISIBLE, CONTEXT_REPLACE_INPUT_FOCUSED, FindModelBoundToEditorModel, FIND_IDS, ToggleCaseSensitiveKeybinding, TogglePreserveCaseKeybinding, ToggleRegexKeybinding, ToggleSearchScopeKeybinding, ToggleWholeWordKeybinding } from 'vs/editor/contrib/find/browser/findModel'; import { FindOptionsWidget } from 'vs/editor/contrib/find/browser/findOptionsWidget'; import { FindReplaceState, FindReplaceStateChangedEvent, INewFindReplaceState } from 'vs/editor/contrib/find/browser/findState';

import { INotificationService } from 'vs/platform/notification/common/notification'; import { IQuickInputService } from 'vs/platform/quickinput/common/quickInput'; import { IStorageService, StorageScope, StorageTarget } from 'vs/platform/storage/common/storage'; <del> import { IThemeService } from 'vs/platform/theme/common/themeService'; </del> <ins> import { IThemeService, themeColorFromId } from 'vs/platform/theme/common/themeService'; </ins> const SEARCH_STRING_MAX_LENGTH = 524288;

} } export class PreviousMatchFindAction extends MatchFindAction { constructor() {

} export class MoveToMatchFindAction extends EditorAction { <ins> private _highlightDecorations: string[] = []; </ins> constructor() { super({ id: FIND_IDS.GoToMatchFindAction,

const quickInputService = accessor.get(IQuickInputService); const inputBox = quickInputService.createInputBox(); inputBox.placeholder = nls.localize('findMatchAction.inputPlaceHolder', "Type a number to go to a specific match (between 1 and {0})", controller.getState().matchesCount); <del> inputBox.onDidChangeValue(value => { </del> <ins> const updatePickerAndEditor = (value: string) => { </ins> const index = parseInt(value); if (!isNaN(index) && index > 0 && index <= controller.getState().matchesCount) { // valid inputBox.validationMessage = undefined; <ins> controller.goToMatch(index - 1); const currentMatch = controller.getState().currentMatch; if (currentMatch) { this.addDecorations(editor, currentMatch); } </ins> } else { inputBox.validationMessage = nls.localize('findMatchAction.inputValidationMessage', "Please type a number between 1 and {0}", controller.getState().matchesCount); <ins> this.clearDecorations(editor); </ins> } <ins> }; inputBox.onDidChangeValue(value => { updatePickerAndEditor(value); </ins> }); inputBox.onDidAccept(() => {

}); inputBox.onDidHide(() => { <ins> this.clearDecorations(editor); </ins> inputBox.dispose(); }); inputBox.show(); } <ins> private clearDecorations(editor: ICodeEditor): void { editor.changeDecorations(changeAccessor => { this._highlightDecorations = changeAccessor.deltaDecorations(this._highlightDecorations, []); }); } private addDecorations(editor: ICodeEditor, range: IRange): void { editor.changeDecorations(changeAccessor => { this._highlightDecorations = changeAccessor.deltaDecorations(this._highlightDecorations, [ { range, options: { description: 'find-match-quick-access-range-highlight', className: 'rangeHighlight', isWholeLine: true } }, { range, options: { description: 'find-match-quick-access-range-highlight-overview', overviewRuler: { color: themeColorFromId(overviewRulerRangeHighlight), position: OverviewRulerLane.Full } } } ]); }); } </ins> } export abstract class SelectionMatchFindAction extends EditorAction {