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

LSP - Code action to add type Signature (Haskell) #4890

Closed
0rphee opened this issue Nov 26, 2022 · 2 comments
Closed

LSP - Code action to add type Signature (Haskell) #4890

0rphee opened this issue Nov 26, 2022 · 2 comments
Labels
C-bug Category: This is a bug

Comments

@0rphee
Copy link
Contributor

0rphee commented Nov 26, 2022

Summary

Coming from vscode, I expected to be able to add type signatures without typing them myself, but there aren't any code actions in helix for this feature (or so it seems).

Here's an example between helix (left) and vscode (right)

Screen.Recording.2022-11-25.at.10.28.48.p.m.mov

Reproduction Steps

  1. hx test.hs
  2. write a function, ex. addition x y = x + y
  3. select function, + (search for code actions)
  4. the code actions pop-up list contains an "add type signature" action

Instead, this happened:
The code pop-up list doesn't contain such an action

Helix log

~/.cache/helix/helix.log
PERRAS SAQUE 10 EN EL FINAL DE QUIMICA  

Platform

macOS

Terminal Emulator

Alacritty Version 0.11.0 (1)

Helix Version

22.08.1-437-g4791bd66

@0rphee 0rphee added the C-bug Category: This is a bug label Nov 26, 2022
@kirawi
Copy link
Member

kirawi commented Nov 28, 2022

I believe that these are snippets, which aren't yet supported. #395

@pascalkuthe
Copy link
Member

Clsomg as duplicate of #395

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

3 participants