Php Users: Any linter that shows the thrown exceptions? reddit / emacs ---------------------------------------------------------------------- Desmesura · 2022-02-14 12:45 I switched from PhpStorm to Emacs for my Php editing and it feels amazing, I feel much more comfortable and productive using all my familiar keybindings, tools and modes. I'm using `lsp-mode` with `intelephense` as the back-end. Code completion works great, but I'm missing the usual alerts that I got with PhpStorm which showed, in the method signature, which exceptions where thrown but not catched. What do you guys use for that? Should I use another specific tool for it or maybe should I switch to another LSP back-end, ...? Thanks a lot in advance! EDIT: as a front-end for linting, I'm using the built-in `flymake- mode`. ---------------------------------------------------------------------- yyoncho · 2022-02-14 17:46 To me, it sounds like you should file a feature request against `intelephense`. It looks like this feature will require a very good understanding of the code so I doubt that there will be elisp only solution. ---------------------------------------------------------------------- 7890yuiop · 2022-02-15 02:23 Does PhpStorm use a language server for that? Which one? ---------------------------------------------------------------------- Desmesura · 2022-02-15 08:05 I don't think any Idea editors use LSP, I think they use their own implementations for those functionalities. ---------------------------------------------------------------------- Desmesura · 2022-02-15 08:05 Ah, thanks for the info! I thought It would be there and I was missing it