Skip to content

Conversation

@Israel77
Copy link
Contributor

A missing feature from the new API that was available on the deprecated one, is the ability to execute the commands without reseting the memory associated with them. While in many cases just firing the command and reusing the memory for the next is sufficient, there are situations where we might want to keep the command data.

My use case scenario for this functionality is using the commands that were executed successfully to generate a compile_commands.json file for the project afterwards (which is useful for people using LSPs).

@rexim rexim mentioned this pull request Dec 30, 2025
@rexim rexim closed this in #178 Dec 30, 2025
@rexim
Copy link
Member

rexim commented Dec 30, 2025

@Israel77 thank you for letting me know about your usecase. Added .dont_reset option in #178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants