1. 24 4月, 2015 1 次提交
    • S
      Display a tooltip for hyperlinks in error list and preview pane · 8e82124e
      Shyam N 提交于
      Display a tooltip containing url destination for hyperlinks in the error list and light bulb preview pane UIs.
      
      Also use full fidelity (i.e. substituted)  error message in the search query in the case of hyperlinks that redirect to bing search so that we can present more relevant search results.
      8e82124e
  2. 21 4月, 2015 1 次提交
  3. 31 3月, 2015 4 次提交
    • J
      Revert "small changes" · cad88e29
      Jonathon Marolf 提交于
      This reverts commit 3971cbc4.
      cad88e29
    • J
      small changes · 3971cbc4
      Jonathon Marolf 提交于
      small changes
      3971cbc4
    • J
      Responding to PR feedback · 11a827c4
      Jonathon Marolf 提交于
          - Adding code refactoring tests
          - Using the error logger for cases where there is not UI to show the user
          - Made sure the cookie registered with the IDE gets unregistered on close
          - Responding to general fixup comments
      11a827c4
    • J
      Report code fix exceptions to the user. · fcc6e335
      Jonathon Marolf 提交于
      Updating the extension manager to report code-fix exceptions to the user. In Visual Studio this will cause an infobar to appear giving the user the option to either re-enable the crashing code-fix or re-enable it and ignore future crashes for that session of Visual Studio.
      fcc6e335
  4. 25 3月, 2015 1 次提交
    • J
      Report code fix exceptions to the user. · 851311a6
      Jonathon Marolf 提交于
      Updating the extension manager to report code-fix exceptions to the user. In Visual Studio this will cause an infobar to appear giving the user the option to either re-enable the crashing code-fix or re-enable it and ignore future crashes for that session of Visual Studio.
      851311a6
  5. 20 3月, 2015 1 次提交
    • D
      Change constructor ref node location in Find Refs · a767f3a7
      David Poeschl 提交于
      Fixes internal issue #1138943.
      
      In the SymbolFinder API, references to constructors are included as references to both the constructor method symbol and the related type symbol. Because reference locations are deduplicated across all results shown in Find References, we have to decide which definition node to use as the parent. Prior to this change the first related definition returned to us by the SymbolFinder won, but this ordering was not guaranteed to be consistent. This change introduces a precedence ordering for definitions returned by the SymbolFinder that currently guarantees that members will be preferred over types.
      
      Additionally, this change removes the requirement that definitions shown in Find References have distinct locations. This allows us to meaningfully separate references between a type and its default constructor which has the same location.
      a767f3a7
  6. 27 2月, 2015 1 次提交
    • D
      Hierarchical Find References · d855c686
      David Poeschl 提交于
      In this initial implementation, find references results are now grouped by the definition that they directly reference.
      
      For symbols defined in metadata, we previously showed the references without showing the definition itself. We now show the metadata definition as well.
      d855c686
  7. 06 2月, 2015 2 次提交
    • T
      Warn if analyzers have dependencies with the same identity but different contents. · 04e4d15d
      tmeschter 提交于
      Consider what happens if you have two analyzers, A and B, that each depend on an assembly named C.
      
        Directory 1:
          A.dll
          C.dll
      
        Directory 2:
          B.dll
          C.dll
      
      If both copies of C have the same identity (name, version, culture, public key token, etc.) then only one of them is actually going to be loaded into VS. If both copies are identical then it doesn't matter, but if their contents differ the analyzers may not work the way they are supposed to or may fail outright.
      
      Here we attempt to let the user know that this might happen. Whenever an analyzer is added or removed we identify the transitive set of assemblies the analyzers' may load and identify assemblies that have the same identity. We then hash the file contents of these assemblies and compare. If they are different we surface a conflict in the Error List.
      
      In solutions with many different analyzers or dependencies this is a potentially expensive operation. To limit the impact on the system we only allow one of these operations to run at a time. If an analyzer is added or removed while a check is in progress we immediately signal for cancellation, wait for the existing task to finish up, and only then start the new one. (changeset 1411056)
      04e4d15d
    • S
      This change addresses five issues around light bulb preview pane - · bbcf7241
      shyamn 提交于
      1. Stop displaying superfluous 'No Preview' under the header section of the preview pane for fixes such as 'rename tracking' and 'generate type dialog' that don't provide any visual preview.
      
      2. Make preview pane header font use the VS 'Environment' font settings so that user can change /scale the font.
      
      3. We were not displaying the preview header in the case of hidden diagnostics (which don't show up in the error list) - start displaying the header for hidden diagnostics (except if the diagnostic is a 'trigger' diagnostic).
      
      4. Disable tab stop / focus in the code diff view portion of the preview pane. When using keyboard, we were allowing user to stop in the diff view portion - this ended up causing confusion since we would display a blinking cursor in the code diff view portion giving users the impression that they could type something there.
      
      5. Set Focusable=true on the preview pane control. Light bulb checks for this before shifting keyboard focus to the preview pane in the case where there are no 'flavored' actions under the preview pane (such as 'Preview Changes' and 'Fix All Occurrences'). (changeset 1410707)
      bbcf7241
  8. 31 1月, 2015 1 次提交