Index with comment is visible in "Indexes" tab.
Index with comment is not visible in "Indexes" tab.
Indexes with comments are ignored by HeidiSQL. They are not visible in "Indexes" and "CREATE code" tab.
CREATE TABLE `index_test` (
`nr1` int,
`nr2` int,
KEY `hidden_index` (`nr1`) COMMENT 'some comment',
KEY `visible_index` (`nr2`)
);
SHOW CREATE TABLE index_test;:CREATE TABLE `index_test` (
`nr1` int(11) DEFAULT NULL,
`nr2` int(11) DEFAULT NULL,
KEY `hidden_index` (`nr1`) COMMENT 'some comment',
KEY `visible_index` (`nr2`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
Check "Indexes" tab:

Check "CREATE code" tab:

Confirmed
Possible solution: create a new column like Comment on Index manager tab.
encounter this issue too.
Most helpful comment
Possible solution: create a new column like
CommentonIndexmanager tab.