paleolimbot commented on code in PR #378:
URL: https://github.com/apache/arrow-nanoarrow/pull/378#discussion_r1474692164


##########
python/README.md:
##########
@@ -285,3 +264,9 @@ pip install -e .[test]
 # Run tests
 pytest -vvx
 ```
+
+If you need to debug or edit any .c files used to build the native extension, 
you can generate the `compile_commands.json` usable by most IDEs/clang tools 
using [Bear](https://github.com/rizsotto/Bear).
+
+```shell
+bear -- python setup.py build_ext --inplace && mv compile_commands.json build
+```

Review Comment:
   I'll leave it out for now since it's probably just me who has to remember 
that command. If `build/compile_commands.json` is present, most editors "just 
work" with the .c/.cc./.h files without additional configuration.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to