rudy999 2 Posted December 8 (edited) I have installed the CNPack and use it mainly for the code formatter. I have found recently in Delphi 12.2 that after a period of time the Ctrl+W which is the default code formatter key map for the CNPack switches BACK to the Ctrl-W for Delphi IDE key mapping (a text selection tool). I end up changing the key map for the CNPack formatter. I had been using Ctrl+W and CNPack for years with out an issue. I am thinking that a certain key stroke sequence I am doing while coding causes this, but do not really know what is causing this. **Any body else experiencing this behaviour? --- Is there a key stroke sequence that can command the IDE to 'reset' to IDE tools options keymappings? Un installing and re installing CNPack does not necessarily bring the key map back to CNPack. Thanks in advance Edited December 8 by rudy999 changed ending to coding in my comments Share this post Link to post
PeterBelow 239 Posted December 9 If you run into this problem and then call up the Tools -> Options dialog, what does it show as active key mapping on the Editor -> Key mapping page? Share this post Link to post
rudy999 2 Posted December 9 OK - I see something strange that could explain it. The keymapping screen shot I supplied is with no Project open. When I open the project that I noticed this issue - the keymapping is DIFFERENT. There are not extension keymapping listed... The last three from the screen shot are not listed.. That probably explains it but how is this possible... TIA for any suggestions Share this post Link to post
rudy999 2 Posted December 9 It is one project that when I open it do the keymappings disappear. I need to close RAD Studio and open it again to get them back and as long as I do not open 'that project' - the keymappings stick. The only other information I can provide is that the project is an HTTP SYS intraweb project that required the IDE to 'run as admin' in order to run the application from the IDE (testing and debug etc.) Share this post Link to post
PeterBelow 239 Posted December 10 19 hours ago, rudy999 said: It is one project that when I open it do the keymappings disappear. I need to close RAD Studio and open it again to get them back and as long as I do not open 'that project' - the keymappings stick. The only other information I can provide is that the project is an HTTP SYS intraweb project that required the IDE to 'run as admin' in order to run the application from the IDE (testing and debug etc.) The IDE configuration is stored in the registry and the HKEY_CURRENT_USER hive is of course specific for the user account the IDE is running under. Compare the content of the HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\23.0\Editor\Options\Known Editor Enhancements and HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\23.0\Experts keys under the two accounts (adjust the 23.0 if you use a different Delphi version than 12.2). 1 Share this post Link to post
rudy999 2 Posted December 11 I have concluded I am going to live with this behaviour, as at least it is identified. In regards to the registry locations - there are references to the 'Enhancement' modules and they continue to appear there even when they do not appear in the key mappings list of the IDE. The problematic project will not always be edited... At one point I will recreate the project and move the files to the new project to see if the issue goes away or travels. Share this post Link to post