I’m using vscode with the Crystal extension and it is problematic:
- Hovering on a symbol usually doesn’t show useful info.
- Command clicking symbols only jumps to their definitions a fraction of the time.
- Completion suggestions for dotted methods are often just 5 general items (is_a? nil? etc.) with no type specific members.
- Typing comments can be difficult due to the suggestion box constantly popping up with keywords like
def
,if
andelse
as I’m trying to write sentences, not code. - I don’t see any messages in the “Output” tab or in a “Crystal” sidebar to help diagnose issues (Nim language had this).
Questions:
- Am I on the right extension?
- For people with similar set-ups, is this normal?
- Does anyone have “good code intelligence for Crystal” working?
- If so, please share your editor, extension and op sys.
- Any special set-up steps?
I haven’t dug into troubleshooting just yet, other than explicitly turning on settings. I can move my concerns over to the github project for the extension, but first I wanted to get a sense of whether I’m in the right neighborhood and what other people experience.
My set up:
- Editor: Visual Studio Code (current version from 2 days ago)
- Extension: Crystal Language 0.9.6 by The Crystal Programming Language
- Crystal 1.14.0 (2024-10-09); LLVM: 19.1.1; aarch64-apple-darwin24.0.0
- macOS 15