Skip to content

Commit

Permalink
clean: do not remove settings button anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Jun 12, 2023
1 parent bb1af1b commit af4942f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/service-override/quickaccess.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import '../vscode-services/missing-services'
import { CommandsQuickAccessProvider } from 'vs/workbench/contrib/quickaccess/browser/commandsQuickAccess'
import { SyncDescriptor } from 'vs/platform/instantiation/common/descriptors'
import { IInputBox, IInputOptions, IPickOptions, IQuickInputButton, IQuickInputService, IQuickNavigateConfiguration, IQuickPick, IQuickPickItem, QuickPickInput } from 'vs/platform/quickinput/common/quickInput'
import { CancellationToken } from 'vs/base/common/cancellation'
Expand All @@ -16,17 +15,6 @@ import 'vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAcces
import 'vs/workbench/browser/actions/quickAccessActions'
import 'vs/workbench/contrib/quickaccess/browser/quickAccess.contribution'

// Remote "Configur Keybinding" from command menu
// eslint-disable-next-line dot-notation
const originalGetCommandPicks = CommandsQuickAccessProvider.prototype['getCommandPicks']
// eslint-disable-next-line dot-notation
CommandsQuickAccessProvider.prototype['getCommandPicks'] = async function (token) {
return (await originalGetCommandPicks.call(this, token)).map(pick => {
pick.buttons = []
return pick
})
}

class DelegateQuickInputService implements IQuickInputService {
declare readonly _serviceBrand: undefined

Expand Down

0 comments on commit af4942f

Please sign in to comment.