rm AI key binding for explaining function

pull/5326/head
STetsing 3 weeks ago committed by Aniket
parent 890dd09cc0
commit 87b2425879
  1. 4
      libs/remix-ui/editor/src/lib/remix-ui-editor.tsx

@ -825,10 +825,6 @@ export const EditorUI = (props: EditorUIProps) => {
label: intl.formatMessage({ id: 'editor.explainFunction' }),
contextMenuOrder: 1, // choose the order
contextMenuGroupId: 'gtp', // create a new grouping
keybindings: [
// Keybinding for Ctrl + Shift + E
monacoRef.current.KeyMod.CtrlCmd | monacoRef.current.KeyMod.Shift | monacoRef.current.KeyCode.KeyE
],
run: async () => {
const file = await props.plugin.call('fileManager', 'getCurrentFile')
const context = await props.plugin.call('fileManager', 'readFile', file)

Loading…
Cancel
Save