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
[FeatureRequest] Add Header sync button to automaticly copy header files from target linux system #215
Comments
We have plans to address this issue, not quite as proposed. All of the below is our plan, it could change, etc. etc. And of course feedback is welcome or I wouldn't be sharing. :-) What we are planning is to sync the standard include locations per connection into a local location as read only. We will provide a way to add additional locations from the remote to sync as well. The sync would occur when a connection to the remote machine is made. This local location would be accessible in VS via an environment variable in vcxproj or folder projects. As there will be a local location per connection we will use the currently selected connection for IntelliSense. Configuration of this capability will be in a new Tools > Options pane. We will allow it to be turned off globally or per connection. |
Do you have any plans to support copying headers that are not system headers and are not part of the project but are used in the project? Let's say I have a third party library that I'm using in my project however the headers/sources are under a different path on the Linux machine. How do you suggest me to debug that third party library using visual studio? Manually copying is not really a great option. |
A further point is syncing of cross compile headers and a proper switching to the regarding platform e.g. depending on "intelliSenseMode" ("linux-gcc-x64", "linux-gcc-arm", ...), isn't it? |
I tried to add a task to my project and have the task copy/rsync the 3rd party headers from remote linux machine to my local windows machine however I am having some problems when I use rsync, pscp works just fine but it's not efficient at all, and I appreciate if you could help me find a solution. I noticed that you have are distributing rsync as part of the Visual Studio installation and I tried to use it and I faced two problems:
but the same command works on a non-windows machine. Would appreciate if you provide tips/help for any of these questions. |
@AliAskari could you please create a new ticket about the copy of headers from remote target to local dev machine? thanks a lot for your support |
It would be nice if there would be some kind of button called "Manually sync headers from target"....
So if you want to create a linux APP or Lib you probably will need some linux headers for that.... in the curent state of VSLinux you have to copy header files from your linux systems manually to your dev machine and then anually ad them to your build config.... and of course if you have multiple development targets the heaers may be diferent so you have to do all this multiple times...
and of course if you update lib you are linking to you will also have to copy those headers again..... and there is a high probability of screwing things up....
The text was updated successfully, but these errors were encountered: