I need to develope custom plugin
I have a custom formatted log I would like to develope a plugin for.
Where do I start?
Looks like probably I can get by with adding custom keywords to the log language. How do get started doing that?
I don’t have the “log” language to which you refer… but many of the language lexers allow for adding custom keywords to existing styles. For example,
Settings > Style Configurator,
Language = LISP, select
Style = FUNCTION WORDand you can add other custom keywords to the
User-defined keywordsbox. It may be that your “log” language has similar – so if “log” shows up in the
Languageselection column, then look through it’s various
Stylecolumn items, and see which ones have customizeable boxes. Any that do, you should be able to add keywords into those styles.
That description assumes the “log” language is above the vertical bar (ie, above “Define your language…”) in the
Languagepulldown. If the “log” language is below the “Define your language…”, then it’s a User Defined Language (UDL), and the methodology will be different.
Language > Define your language..., then in the
User languagepulldown, select “log”. Go to the “Keywords List” tab, and either add your keywords to the existing styles, or if some of your 8 groups are empty, you can create new group(s) with unique style(s) in any empty groups. Ivan Radić has made available documentation on how to use UDL v2.1.