emacs-which-key
haskell-language-server
Our great sponsors
emacs-which-key | haskell-language-server | |
---|---|---|
37 | 110 | |
1,673 | 2,557 | |
- | 1.3% | |
7.8 | 9.6 | |
16 days ago | 2 days ago | |
Emacs Lisp | Haskell | |
GNU General Public License v3.0 only | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
emacs-which-key
-
Improving Emacs Isearch Usability with Transient
I think which-key already solves exactly that: https://github.com/justbur/emacs-which-key
-
Evil mode's kinda hacky
As for the "complicated keybindings general" -- I assume because remembering things like C-x C-s is hard because of the shifted keystrokes? I get that, and there is in fact a solution for less used keybindings which I love, called 'which-key' https://github.com/justbur/emacs-which-key
-
Should I start with vanilla Emacs?
I would recommend installing the which-key package, which is a fantastic discoverability aid. If you ever want an example config to get some inspiration, I have one here: Emacs Bedrock
-
Best emacs configs for Javascript and/or users who don't like to memorize keybindings?
Make sure you have which-key installed and turned on. When using a keybinding that has a prefix (like C-x or C-c), it displays all the keybindings that start with that prefix.
-
Doom -> vanilla emacs 29
which-key for the shortcut menus
-
Switched to Emacs a week ago, really thrilled so far. Looking for help on a few (somewhat advanced) questions.
there are some packages to help with the keybings, which-key shows a list of keybind and its command and (guru-mode)[https://github.com/bbatsov/guru-mode] enforces to use the "best" keybind, for exemple, it forces you to use C-n to move the cursor, blocking you to use the down key, and if you press the down key, it show a text in minibuffer to the best keybind.
-
Too many keybindings
"can't find the command associated with C-x" this will help https://github.com/justbur/emacs-which-key
If you haven't already, definitely check out the package which-key.
-
Tell HN: Vim users, `:x` is like `:wq` but writes only when changes are made
> even though I'm a terminal user ... I really like the discoverability of GUIs, and that's where a good GUI is unbeatable by CLI.
CLI has poor discoverability? Sure; but even on the terminal, discoverability can still be good:
A couple of nice examples of discoverability in keyboard-focused programs:
- emacs' which-key[0]; there's a vim port[1] too. This shows you (some) of the available keybindings for the next input, and a short label. So you don't have to remember what `SPC h p ...` or all the options under `SPC f...`.. but it still helps to recall that `SPC h` is for 'help' related commands, `SPC f` for file related commands.
- emacs' magit[2][3]. Magit is so good at discoverability, that I'd rate it as the best tool for using git with. I've learned more about git from using it.
[0] https://github.com/justbur/emacs-which-key
-
Creating and displaying cheatsheets of keybindings
Am I right in thinking this is quite similar to which-key?
haskell-language-server
-
Revisiting Haskell after 10 years
The advent of language server protocol made possible the creation of HLS (Haskell Language Server), and there are plugins for many editors, such as vscode-haskell, that allow you to have auto-complete, auto-import, and automatic function signatures—also available to your editor of choice. The whole feedback loop of editing, compiling, and running is greatly improved.
-
Haskellers who moved to Rust: What has been your experience?
The Haskell community has been focusing on tooling and IDE support in the last several years. Haskell-Language-Server is a huge improvment, so the experience is probably much better than you remember, but it'll still be a while before it catches up with Rust.
- HLS 2.0.0.0 is out
-
Static-ls - a low memory Haskell language server based on hiedb and hiefiles
static-ls is a low memory language server for Haskell that serves as an alternative to (hls)[https://github.com/haskell/haskell-language-server] with less functionality by using statically generated information. It is intended for (Highly recommend hls instead if you aren't having these issues):
- Any open source projects to contribute to for beginners
-
Haskell is a good, useful, and practical programming language.
Indeed, there is a lot of room for improvements. But I just wanted to acknowledge and thank the work of those involved in HLS which IMHO was a game changer in that regard.
-
No HLS support for the "recommended" 9.2.5?
Specifically, gchup and HLS are both opensource community efforts. If you want to see HLS work with ghc-9.2.5, you may want to ask https://github.com/haskell/haskell-language-server or, better, provide them a PR that builds HLS with ghc-9.2.5.
-
dev environment for windows
Sadly ghcup tui is not available on windows, but you can check the available versions with ghcup list. Hls lists the compatible versions of ghc at their github releases. For 1.8.0.0 I went with 9.4.2. To install it and set it to default you have to use the ghcup install ghc 9.4.2 then the ghcup set ghc 9.4.2. Hopefully this will be useful to someone with the same problem.
-
HLS issues an error for Setup.hs and Spec.hs (using hspec-discover)
Here's an issue I created for it: https://github.com/haskell/haskell-language-server/issues/3348
-
Transform your old and tired Haskell source files in shining Notebooks
The code is executed by HLS, see https://github.com/haskell/haskell-language-server/blob/master/plugins/hls-eval-plugin/README.md and then its markdown/html output is displayed by VS Code.
What are some alternatives?
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
neovim - Vim-fork focused on extensibility and usability
hydra - make Emacs bindings that stick around
tokyonight.nvim - 🏙 A clean, dark Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins. Includes additional themes for Kitty, Alacritty, iTerm and Fish.
lsp-mode - Emacs client/library for the Language Server Protocol
ormolu - A formatter for Haskell source code
k9s - 🐶 Kubernetes CLI To Manage Your Clusters In Style!
use-package - A use-package declaration for simplifying your .emacs
vscode-haskell - VS Code extension for Haskell, powered by haskell-language-server
hie-bios - Set up a GHC API session for various Haskell Projects
lsp-haskell - lsp-mode :heart: haskell
general.el - More convenient key definitions in emacs