elixir-webrtc / xav

Elixir wrapper over FFmpeg for reading and decoding audio and video data
Apache License 2.0
39 stars 4 forks source link

`clangd` instructions #17

Closed kevinschweikert closed 1 month ago

kevinschweikert commented 1 month ago

I'm new to C development and maybe some more Elixir developers are new or unexperienced in C. A language server can help to understand this code and provide help. To help clang to find the headers, i found this solution and added it to the README

mickel8 commented 1 month ago

What editor do you use? In vscode you can install C/C++ plugin and add Erlang include directory in the configuration and that's all:

image

kevinschweikert commented 1 month ago

I'm using Neovim with the clang language server. This was the most straightforward solution i could find