Closed Alexey-T closed 6 years ago
Хорошее дело. Есть вопросы к вики-описанию и вашему примеру лога
'cmd':NNNN
.
модуль.имя
? (for plugins) "p_from_api": bool: This command was generated from API by some plugin
? Уже есть примеры таких команд?{'type': 'plugin', 'cmd': 6697, 'name': 'plugin: Tools: Firefox', 'key1': '', 'key2': '', 'p_module': 'cuda_exttools', 'p_method': 'run', 'p_method_params': '334175', 'p_lexers': '', 'p_from_api': True, 'p_caption': 'Tools: Firefox', 'p_in_menu': ''}
{'type': 'plugin', 'cmd': 6698, 'name': 'plugin: Tools: GEdit', 'key1': '', 'key2': '', 'p_module': 'cuda_exttools', 'p_method': 'run', 'p_method_params': '348257', 'p_lexers': '', 'p_from_api': True, 'p_caption': 'Tools: GEdit', 'p_in_menu': ''}
1а. да. 1б. номер не надо использовать- если можно вызвать плаг по имени- надо по имени. Номер это внутренее дело куд.
АПИ уже в релизе!
Added such API. @kvichans What is your opinion, it's useful?