It’s a feature that I miss from Clion, my current workflow is by using a 3rd party linter after my coding session outside of Emacs. I know that I can use the linter with an after-save-hook, but is there any other solutions with flycheck or lsp integrations? (I tried flycheck-clang-tidy but I didn’t get any warrings or indicators, not sure if clang-tidy can detect them though)

You are viewing a single thread.
View all comments
2 points

clangd and probably other linters can warn about this. False positives are possible, though: an include may very well be unused in a given build configuration, but enabled in another.

permalink
report
reply

Emacs

!emacs@communick.news

Create post

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

  • Windows
  • Mac OS X
  • GNU/Linux and BSD (Just get it from your distribution’s package manager)

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for “emacs” and “vi” link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

Community stats

  • 18

    Monthly active users

  • 562

    Posts

  • 2.4K

    Comments