-
Notifications
You must be signed in to change notification settings - Fork 54
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
Option to link compile_commands.json to current directory #36
Comments
This plugin use symlink to achieve that, why not use |
But switches between release types are initiated by plugin. It is inconvenient to change path to compilation database every time by hand |
Make sense, I will see how i can implement it. |
Something like this in
|
Platform independent solution.
|
Is there any reason to copy it instead of just making symlink? |
@ayles Because it should be platform independent and I haven't seen anything in the LUA file api that allows to create symbolic links. On Linux you would use |
@iFuSiiOnzZ Why not use |
I've added this ability. See 6e4e422 |
Haven't test in on Linux yet. On Windows there are a some problems. Powershell normal user
Powershell with admin privileges
|
@iFuSiiOnzZ, I did you try compile_commands with MSVC on powershell? |
When in admin privileges, Was the command successful? |
@rohit-kumar-j I am using mingw, at the moment, so no idea if it works or not. |
Can you show the error messages? |
For some reason the neovim log is empty and cmake reports nothing about the error. |
That's interesting. |
Look at this. |
Would be great to have smth like that
The text was updated successfully, but these errors were encountered: