arduino / arduino-language-server

An Arduino Language Server based on Clangd to Arduino code autocompletion
GNU Affero General Public License v3.0
117 stars 11 forks source link

fix: ask clangd to not write .pch/.include cache on disk #147

Closed cmaglie closed 1 year ago

cmaglie commented 1 year ago

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? .pch files are not created on disk, but in-memory as specified with -pch-storage=memory command line flag to clangd Should finally fix #145

What is the current behavior? .pch files are created on temp directory and are not removed on exit.

What is the new behavior? .pch files are no more created on temp directory.

cmaglie commented 1 year ago

I understand now, thanks.

So the question now: Is there some other benefit to the proposed change?

No, there is no more reason to keep this change.