Sql Prompt Changing Shortcut keys
kathyjudd
Posts: 3
Hi there,
I want to change the default shortcut keys for "Format SQL" to CTRL+i. But after restarting SQL Management it reverts back to the default shortcut keys. I've tried it on SQL Management 2012 and 2014. I'm able to change the shortcuts to SQL Management builtin features and those stick after restarting so it's something with SQL Prompt.
Can you tell how to fix this so that I can use my own shortcut key?
I want to change the default shortcut keys for "Format SQL" to CTRL+i. But after restarting SQL Management it reverts back to the default shortcut keys. I've tried it on SQL Management 2012 and 2014. I'm able to change the shortcuts to SQL Management builtin features and those stick after restarting so it's something with SQL Prompt.
Can you tell how to fix this so that I can use my own shortcut key?
Comments
Unfortunately at the moment Prompt doesn't support setting the key bindings through the SSMS options.
If you're on the latest version of Prompt (6.5) there is a work around which is to edit %localappdata%Red GateSQL Prompt 6RedGate_SQLPrompt_CommonUI_Options_UIOptions.xml and replace the <KeyboardBindingOverrides> node with: This should set the format SQL command to Ctrl+I on the next startup, if not please let me know.
Thanks,
Aaron.