software-mansion / react-native-gesture-handler

Declarative API exposing platform native touch and gesture system to React Native.
https://docs.swmansion.com/react-native-gesture-handler/
MIT License
6.13k stars 982 forks source link

feat: Clangd support #3069

Closed coado closed 1 month ago

coado commented 2 months ago

Description

This pull request introduces clangd support. You can read more about it in this awesome PR that bring it to reanimated. For now it supports iOS only as I am not sure if we need it for android here. To make it work, you have build FabricExample or MacOSExample first.

coado commented 2 months ago

After building the FabricExample on android, the compile_commands.json file will contain only one translation unit, which is for cpp-adapter.cpp, since this is the only used cpp file on android.