about hotkey and keys.json
Posted: 21.08.2023 11:48
Hello,
About the hotkey,When making plugin,we assign the lexers
[item1]
section=events
events=on_complete,on_goto_def,on_func_hint,on_open~,on_tab_change~
lexers=Python
Thus,the plugin should only be available in that lexers.
1.Could we use same hotkey for different lexers for different operation?
2.When set hotkey,there is an option "for current lexer",what's that mean?THe lexer " lexers=Python" will be replaced? 3.In cuda/settings,we have key.json and keys-lexer Python.json,what's the relation of these keys in two files?
4.I also see lexer-Python.json in settings folder,but it's empty,why?
Thanks a lot!
About the hotkey,When making plugin,we assign the lexers
[item1]
section=events
events=on_complete,on_goto_def,on_func_hint,on_open~,on_tab_change~
lexers=Python
Thus,the plugin should only be available in that lexers.
1.Could we use same hotkey for different lexers for different operation?
2.When set hotkey,there is an option "for current lexer",what's that mean?THe lexer " lexers=Python" will be replaced? 3.In cuda/settings,we have key.json and keys-lexer Python.json,what's the relation of these keys in two files?
4.I also see lexer-Python.json in settings folder,but it's empty,why?
Thanks a lot!