Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experience report about Haskell TextMate bundle #1

Open
jensli opened this issue Jul 1, 2016 · 0 comments
Open

Experience report about Haskell TextMate bundle #1

jensli opened this issue Jul 1, 2016 · 0 comments

Comments

@jensli
Copy link

jensli commented Jul 1, 2016

Hi,

This is not a bug report since I know this is outside the LiClipse project. But I made a few notes about how the Haskell TextMate bundle is functioning and I thought that might be interesting for others. Maybe this information can help developers to make improvements of the TextMate import functionality.

Experience

This colour scheme works poorly, mostly since many separate syntax elements all get the same classifications.

Examples:

  • Different kinds of symbols (example ->, <-, =), operators, and string delimiters (") are all coloured as keywords. I think this is because they are classified as keyword.operator.haskell, and this is probably interpreted as keyword instead of operator.
  • In function type declarations, types are coloured as method, function names are coloured in black, unknown category.
  • Brackets are coloured as normal text (__dftl_partition_content_type).
  • Line comment symbol (--) is coloured as keyword, not as comment (text after -- is coloured as comment).

Also the outline (and the Next Element command) are not working. But the Select Enclosing Scope and Toggle Comment commands are working fine.

Conclusion

To get a pretty Haskell colouring I think that it necessary either with a dedicated LiClipse colour file or for the TextMate import functionality to improve.

Post Scriptum

Thanks for a very useful plug-in! The ability to use Eclipse as a general text editor with lightweight support for many languages is very nice to have. It really fills a hole, especially since the alternative project, Eclipse Colorer, seems to be almost abandoned.

I really like that LiClipse has some additional features apart from syntax colouring, such as the commands Toggle Comment, Next Element, Select Enclosing Scope and Quick Outline. This plug-in is a clear candidate for me to make contributions to in the future. Maybe with a Haskell colour file. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant