Skip to content

Commit

Permalink
heidi
Browse files Browse the repository at this point in the history
  • Loading branch information
coenm committed Sep 14, 2024
1 parent 1353ef5 commit c49d2b0
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 2 deletions.
File renamed without changes
File renamed without changes
17 changes: 17 additions & 0 deletions docs/mdsource/plugin_repom.plugin.heidi.30.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

In order to let RepoM know what database configuration should be linked to what git repository the following should be added in the comment section when editing a database configuration in the Heidi's session manager.

- `repo`: Selector of the git repository (required, string)
- `name`: Name of the title in the RepoM menu (required, string)
- `order`: Order of appearance in RepoM. This is only applicable when multiple databases are linked to the same repository (optional, integer, default `0`)

Example:

```text
#repo:RepoM
#name:"RepoM Test database"
#order:31
```

![Screenshot](HeidiSQL.png)
![Screenshot](HeidiInRepoM.png)
16 changes: 16 additions & 0 deletions docs/mdsource/plugin_repom.plugin.heidi.generated.source.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,19 @@ Example configuration:
- `ConfigFilename`: The portable-configurration filename (without path). Most likely `portable_settings.txt`
- `ExecutableFilename`: The full executable of Heidi.

In order to let RepoM know what database configuration should be linked to what git repository the following should be added in the comment section when editing a database configuration in the Heidi's session manager.

- `repo`: Selector of the git repository (required, string)
- `name`: Name of the title in the RepoM menu (required, string)
- `order`: Order of appearance in RepoM. This is only applicable when multiple databases are linked to the same repository (optional, integer, default `0`)

Example:

```text
#repo:RepoM
#name:"RepoM Test database"
#order:31
```

![Screenshot](HeidiSQL.png)
![Screenshot](HeidiInRepoM.png)
4 changes: 2 additions & 2 deletions src/RepoM.ActionMenu.CodeGen/Templates/DocsPlugin.scriban-txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ To use this module, make sure it is enabled in RepoM by opening the menu and nav
{{~ include 'plugin.configuration.scriban-txt' ~}}
{{ else }}
This plugin has no configuration.
{{~ end ~}}

{{ end ~}}
{{~ include '30' }}
{{~ if array.size(plugin.ActionMenus) > 0 ~}}
This module contains the following methods, variables and/or constants:
{{~ for member in plugin.ActionMenus ~}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public class DocsModuleSettingsTests
"WebBrowserPackage",
"LuceneQueryParserPackage",
"SonarCloudPackage",
"HeidiPackage",
];

public DocsModuleSettingsTests()
Expand Down

0 comments on commit c49d2b0

Please sign in to comment.