5 | | The simplest way to add Cobra support is to overwrite the Global properties file and add the cobra.properties file -- both of which are attached to this wiki page. The location to put the associated files will typically be a location like: "C:\Program Files\Scintilla Text Editor" |
| 4 | The simplest way to add Cobra support is to overwrite the Global properties file, add the cobra.properties file, and the cobraproj.properties file -- all of which are attached to this wiki page. The location to put the associated files will typically be a location like: "C:\Program Files\Scintilla Text Editor" |
| 5 | |
| 6 | The cobraproj file allows a list of files to be compiled as a single project (i.e. uses the -files option). Compilation needs to be done on the cobraproj tab. |
| 7 | |
| 8 | An example cobraproj file, AppBuilder.cobraproj: |
| 9 | |
| 10 | {{{ |
| 11 | AppBuilder.cobra |
| 12 | Interfaces.cobra |
| 13 | Interchange.cobra |
| 14 | Builder.WinForms.cobra |
| 15 | Builder.WinForms.Field.cobra |
| 16 | Builder.WinForms.Class.cobra |
| 17 | }}} |
22 | | * Add "{{{Cobra|cobra||\}}}" to the list of languages set to the menu.language property. Search for "menu.language=\" to find the location in the file. |
23 | | * Add "import cobra" to the list of imports. Search for "import asm" to find the location in the file. |
24 | | * OPTIONAL: Add a .cobra file extension, by adding "*.cobra;" to the list of extensions assigned to the "source.files" property. Then add "$(filter.cobra)\" to the assignments to the "open.filter" property. Search for "source.files" to find the location in the file. |
| 26 | * Add "{{{Cobra|cobra||\}}}" and "{{{Cobraproj|cobraproj||\}}}" to the list of languages set to the menu.language property. Search for "menu.language=\" to find the location in the file. |
| 27 | * Add "import cobra" and "import cobraproj" to the list of imports. Search for "import asm" to find the location in the file. |
| 28 | * OPTIONAL: Add a .cobra and .cobraproj file extensions, by adding "*.cobra;*.cobraproj" to the list of extensions assigned to the "source.files" property. Then add "$(filter.cobra)\" and "$(filter.cobraproj)\" to the assignments to the "open.filter" property. Search for "source.files" to find the location in the file. |
| 29 | |
| 30 | ---- |
| 31 | See also: EditorSupport |