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

Add Visual Studio 2015 support #120

Open
ubikuity opened this issue May 4, 2015 · 3 comments
Open

Add Visual Studio 2015 support #120

ubikuity opened this issue May 4, 2015 · 3 comments

Comments

@ubikuity
Copy link
Contributor

ubikuity commented May 4, 2015

I added the following code to "source.extension.vsixmanifest"

      <VisualStudio Version="14.0">
        <Edition>Ultimate</Edition>
        <Edition>Premium</Edition>
        <Edition>Pro</Edition>
        <Edition>IntegratedShell</Edition>
      </VisualStudio>

I compiled it and I installed "GitSccProvider.vsix" into Visual Studio 2015 RC.
=> The extension is partially working:

  • The "History" window and the GitExtensions/TortoiseGit operations are working
  • The "Pending changes" window doesn't work: it doesn't show up (and there is no error message).

Do you know how to fix the problem? Do you plan to support Visual Studio 2015?
Thank you.

@ubikuity ubikuity closed this as completed May 4, 2015
@ubikuity
Copy link
Contributor Author

ubikuity commented May 4, 2015

Sorry. The "Pending changes" window is working in Visual Studio 2015.
I just realised the "Pending changes" window opened on the left corner my second monitor :-)

I created a merge request to add support for Visual Studio 2015:
#121

@ubikuity
Copy link
Contributor Author

ubikuity commented May 4, 2015

Update: when I open "Pending changes" window, sometimes I get an error message.

ActivityLog.xml:

  <entry>
    <record>992</record>
    <time>2015/05/04 16:14:42.841</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>System.ArgumentNullException: Value cannot be null.&#x000D;&#x000A;Parameter name: ivsHierarchy&#x000D;&#x000A;   at Microsoft.VisualStudio.CodeSense.FileIndicator.Provider.IVsHierarchyExtensions.IsNonMemberItem(IVsHierarchy ivsHierarchy, UInt32 itemId)&#x000D;&#x000A;   at Microsoft.VisualStudio.CodeSense.FileIndicator.Provider.RunningDocumentTableExtensions.GetProject(RunningDocumentTable runningDocumentTable, String filePath)&#x000D;&#x000A;   at Microsoft.VisualStudio.CodeSense.FileIndicator.Provider.FileIndicatorMarginFactory.CreateMargin(IWpfTextViewHost textViewHost, IWpfTextViewMargin containerMargin)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Utilities.ContainerMargin.&lt;AddMargins&gt;b__3(IWpfTextViewMarginProvider mp)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InstantiateExtension[TExtension,TMetadata,TExtensionInstance](Object errorSource, Lazy`2 provider, Func`2 getter)</description>
  </entry>

@ubikuity ubikuity reopened this May 4, 2015
@sharwell
Copy link
Collaborator

sharwell commented May 4, 2015

I think what you are seeing has to do with the feature "CodeLens indicators for all types of files":

http://blogs.msdn.com/b/visualstudioalm/archive/2015/04/29/what-s-new-in-codelens-for-visual-studio-2015-rc.aspx

The editor might be trying to put that information in the text view that appears in the pending changes window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants