Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EasyClangComplete's "cmake-builds"/Database Files/Directory Setting? #736

Open
MattMicheletti opened this issue Feb 19, 2021 · 2 comments
Open

Comments

@MattMicheletti
Copy link

MattMicheletti commented Feb 19, 2021

System info:

  • Sublime Text version: 3.2.2 (Build 3211)
  • Which system are you on: macOS Catalina 10.15.7
  • Clang version: Apple clang version 11.0.3 (clang-1103.0.32.62)

What happens:

EasyClangComplete works fine as far as I can see (I have CMake projects so "it just works"). I want to know if and what setting is used to control where EasyClangComplete generates its files (specifically its cmake-builds directory). Right now it is putting its own directory in /private/var/folders/.../.../T/EasyClangComplete/ which is probably fine for out-of-the-box usage but I would like to control where any and all files relating my projects are stored (to keep an eye on them and in case I need to do anything by hand, manually for whatever reason).

Does this exist as a setting in EasyClangComplete, if not could it be added? If not add'able then where in the source code is this handled, generally and/or specifically (I would at least like to attempt to manually set it to another location). I really love the plugin, it's a definite plus to the Sublime Text environment, but I like to maintain control over where any and all project files reside no matter if they are plugin related or not.

Please and thanks.

@niosus
Copy link
Owner

niosus commented Feb 20, 2021

Hey @MattMicheletti for now this is not really supported. ECC would always generate a new build in a temporary folder, wherever that is on any system. I've been thinking of allowing it to reuse the actual build folder but never ended up doing it. You can look into this line if you want to poke around it a bit: https://github.com/niosus/EasyClangComplete/blob/master/plugin/flags_sources/cmake_file.py#L124

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Just comment here to prevent this from happening.

@stale stale bot added the wontfix label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants