phan intergrations
Posted: Fri Oct 13, 2017 12:05 am
Phan is a powerful php static anazlyer, capable of finding a lot of issues you would normaly only find when compiling more strict languages. Unfortunatly the process requires that it analyzes the entire project witch is time consuming. For IDE intergration they provide at deamon mode where it tracks any file changes in the project and the IDE can then request an analysis of a single file (can even be from the buffer version).
https://github.com/phan/phan/wiki/Using ... aemon-Mode
The thing is I don't know how I would go about launching the deamon/server automatically from CodeLite instead of needing the user to do so. Any idea how to do this?
Also this might be somewhat reusable for integrating with with clang_refactor as it has a similar setup:
https://clang.llvm.org/docs/ClangTools.html
(a bit the project is still in an early state)
https://github.com/phan/phan/wiki/Using ... aemon-Mode
The thing is I don't know how I would go about launching the deamon/server automatically from CodeLite instead of needing the user to do so. Any idea how to do this?
Also this might be somewhat reusable for integrating with with clang_refactor as it has a similar setup:
https://clang.llvm.org/docs/ClangTools.html
(a bit the project is still in an early state)