doc-comments-ai
doc-comments-ai copied to clipboard
Haskell Issues
- Signature node and actual method node are different and comments are applied on method node causing the comments to be printed after signature (which is not general pattern)
- when we have a pattern match based code, it's treating them as two different nodes.
@aravindgopall Hey, you can take a look at how I solved this for python. It is a similar situation I think
https://github.com/fynnfluegge/doc-comments-ai/blob/main/doc_comments_ai/treesitter/treesitter_py.py
#32
@fynnfluegge Yes, I have implemented custom logic for Haskell.
Currently, with the new PR one kind of syntax is not yet supported.
funcA, funcB, funcC, funcD :: FuncType