Skip to content

Feature Request: Colour/Bold known Symbols whilst Typing #4

@stellarpower

Description

@stellarpower

Hi,

Very excited to try the new-and-improved crystal interpreter mode! Very close to being able to replace ruby now, great work!

Something I really like ,coming form the fish shell, if that it highlights commands/functions that don't exist whilst you're typing; they then change colour when you complete a word, and the command is known to it:

https://asciinema.org/a/mrBhMosJptys2L72TaA8f03vx

I think implementing this could be really nice. If a constant, local, method, etc. is known, then when I type or tab-complete, it comes up either in a different colour, or possibly in bold, so that existing colours may be preserved. Or conversely we could add an accent to identifiers that aren't in scope, rather those that are. I think any way is good, I just really like this feature, of interactively checking that your code is correct before you've even had to complete the line.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions