HLS provides completion suggestions for users. Completions did not contain locally defined type families. The fix is to add type family definitions in class declarations.
[ { "endline": 465, "file": "ghcide/src/Development/IDE/Plugin/Completions/Logic.hs", "function": "localCompletionsForParsedModule", "module": "Development.IDE.Plugin.Completions.Logic", "startline": 465 }, { "endline": 469, "file": "ghcide/src/Development/IDE/Plugin/Completions/Logic.hs", "function": "localCompletionsForParsedModule", "module": "Development.IDE.Plugin.Completions.Logic", "startline": 469 } ]
[ { "endline": 465, "file": "ghcide/src/Development/IDE/Plugin/Completions/Logic.hs", "function": "localCompletionsForParsedModule", "module": "Development.IDE.Plugin.Completions.Logic", "startline": 465 }, { "endline": 471, "file": "ghcide/src/Development/IDE/Plugin/Completions/Logic.hs", "function": "localCompletionsForParsedModule", "module": "Development.IDE.Plugin.Completions.Logic", "startline": 469 } ]