creating new syntax file
Posted: 27 Jul 2021 18:44
Hi all;
I'm new to RJTE, but everything seems to be working pretty well, as I'm learning how to handle various things here...
Now, I want to create syntax files for a new extension, .rc (Windows resource file).
I'm looking in C:\Users\dan7m\AppData\Roaming\RJ TextEd\Syntax
and am planning to use .cpp as reference files; so I see the following files, and have guessed their purposes as shown here:
_list.ver: I *think* this just documents who has created the files for each extension (??)
cpp.ini: defines AutoComplete, UserMenu, Comment (header block?),Sample, Hints
I'm not actually sure what any of these do, except for Sample, which I've seen somewhere...
cpp.syx: This looks like the core config file, where I add my keywords and other config entries
So I have a few questions before I dive into this:
1. Do I need to do anything other than create rc.syx in the Syntax folder, and then re-start RJTE ??
2. Will I be able to edit rc.syn *in* RJTE, without confusing anyone??
3. Can I initially skip rc.ini for now, since I don't think I need any of those categories?
If not, what are the minimum entries will I need there?
Thank ye all for your support up until now!!
I'm new to RJTE, but everything seems to be working pretty well, as I'm learning how to handle various things here...
Now, I want to create syntax files for a new extension, .rc (Windows resource file).
I'm looking in C:\Users\dan7m\AppData\Roaming\RJ TextEd\Syntax
and am planning to use .cpp as reference files; so I see the following files, and have guessed their purposes as shown here:
_list.ver: I *think* this just documents who has created the files for each extension (??)
cpp.ini: defines AutoComplete, UserMenu, Comment (header block?),Sample, Hints
I'm not actually sure what any of these do, except for Sample, which I've seen somewhere...
cpp.syx: This looks like the core config file, where I add my keywords and other config entries
So I have a few questions before I dive into this:
1. Do I need to do anything other than create rc.syx in the Syntax folder, and then re-start RJTE ??
2. Will I be able to edit rc.syn *in* RJTE, without confusing anyone??
3. Can I initially skip rc.ini for now, since I don't think I need any of those categories?
If not, what are the minimum entries will I need there?
Thank ye all for your support up until now!!