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
VS 2017 - Codemaid thinks files opened from "lightweight" projects are external #389
Comments
Thanks for the suggestion. Have you seen any code samples for how to detect that state and/or request a project load? |
@codecadwallader Perhaps some of this documentation on Lightweight solution loading from the VS2017 SDK would help |
Thanks for the documentation. I did discuss LSL mode with someone from Microsoft a couple months back as they were starting to push it harder. One of the main sticking points is that LSL mode is really only compatible with the newer Roslyn APIs, not the EnvDTE APIs that CodeMaid has been based on since VS2005 days. We know that a Roslyn rewrite (see #251) is inevitable for long term support of CodeMaid going forwards, but its a very large undertaking. |
Is there any possibility of an interim solution ? Ie. check
VSHPROPID9.VSHPROPID_IsDeferred
for the project codemaid thinks is external and prompt to load it?
…On Wed, May 31, 2017 at 7:13 AM Steve Cadwallader ***@***.***> wrote:
Thanks for the documentation. I did discuss LSL mode with someone from
Microsoft a couple months back as they were starting to push it harder. One
of the main sticking points is that LSL mode is really only compatible with
the newer Roslyn APIs, not the EnvDTE APIs that CodeMaid has been based on
since VS2005 days. We know that a Roslyn rewrite (see #251
<#251>) is inevitable
for long term support of CodeMaid going forwards, but its a very large
undertaking.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#389 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AANX6alPRcxD6YLfwbGNsZSgzhi-Gv1zks5r_UtmgaJpZM4Losjg>
.
|
We are absolutely open source and would gladly welcome any contributions if you have time to experiment with it. http://www.codemaid.net/contribute/ has some helpful getting started information. |
Environment
Description
When the solution is opened in "lightweight mode" not all the projects are loaded. If you navigate into a file in a project that is not fully loaded (ie. go to definition), when you tell CodeMaid to clean it, CodeMaid thinks the file is external.
Steps to recreate
Current behavior
CodeMaid shows the dialog that the file is external and some cleanup actions may not be available.
Expected behavior
Ideally, it would prompt to load the project or do so silently in the background before cleaning.
The text was updated successfully, but these errors were encountered: