import { commands } from 'vscode' ; import { Commands } from './commands' ; import { TranslateKeys , GoToKey , CopyKey , RenameKey , DeleteKey , NewKey , FulfillKeys , DuplicateKey , EditKey , markKeyInUse , InsertKey } from './manipulations' ; import { ReplaceText } from './manipulations/replaceText' ; import { ExtensionModule } from '~/modules' ; const m = ( ) => { return [ commands . registerCommand ( Commands . copy_key , CopyKey ) , commands . registerCommand ( Commands . translate_key , TranslateKeys ) , commands . registerCommand ( Commands . open_key , GoToKey ) , commands . registerCommand ( Commands . rename_key , RenameKey ) , commands . registerCommand ( Commands . edit_key , EditKey ) , commands . registerCommand ( Commands . delete_key , DeleteKey ) , commands . registerCommand ( Commands . fulfill_keys , FulfillKeys ) , commands . registerCommand ( Commands . new_key , NewKey ) , commands . registerCommand ( Commands . duplicate_key , DuplicateKey ) , commands . registerCommand ( Commands . mark_key_as_in_use , markKeyInUse ) , commands . registerCommand ( Commands . insert_key , InsertKey ) , commands . registerCommand ( Commands . replace_with , ReplaceText ) , ] ; } ; export default m ;