1. 05 11月, 2019 5 次提交
  2. 02 11月, 2019 2 次提交
  3. 01 11月, 2019 5 次提交
  4. 31 10月, 2019 8 次提交
  5. 30 10月, 2019 1 次提交
  6. 26 10月, 2019 2 次提交
  7. 25 10月, 2019 3 次提交
  8. 24 10月, 2019 14 次提交
    • D
      Merge pull request #39487 from dibarbet/port_editorconfig · a1638e3b
      David 提交于
      Backport editor config change to 16.4
      a1638e3b
    • M
      Merge pull request #39473 from mavasani/FixEditorConfigGoldBar · 3f6bece0
      Manish Vasani 提交于
      Ensure that we show the gold bar for .editorconfig as solution item o…
      3f6bece0
    • J
      Merge pull request #39463 from jasonmalinowski/core-changes-to-support-inferred-indentation · d6b69316
      Jason Malinowski 提交于
      Core changes to prep for inferred indentation
      d6b69316
    • I
    • A
      Change inline rename dialog to be more uniquely identifiable (#39428) · f64581a7
      Andrew Hall 提交于
      * Change inline rename dialog to be more uniquely identifiable by automation id
      
      * Add an important note about the automation id needing to remain
      f64581a7
    • I
      70c5d5b5
    • J
      Correctly hook up .editorconfig into document.GetOptionsAsync() · 596a3708
      Jason Malinowski 提交于
      We never hooked up the options provider, which meant syntax trees
      would have the options but not the documents themselves if you asked
      for an OptionSet.
      
      This exposed an issue in our .editorconfig configuration fix tests:
      those tests were setting dotnet_style_object_initializer = false and
      then trying to assert that the configuration fix comes up. This setting
      should have had the effect that the diagnostic was being disabled
      and no fix would be triggered. But since .editorconfig was being
      ignored in calls to GetOptions() the fix triggered anyways and
      everything else worked from there. Once we fix the .editorconfig bug,
      the tests start failing because there are no longer fixes. I'm updating
      the tests that change the severity to simply pass true since they
      weren't actually sensitive to what the boolean was. The tests that are
      trying to test setting a value to true will need to find a different
      option entirely to test with, and that's tracked by
      https://github.com/dotnet/roslyn/issues/39466.
      596a3708
    • J
      Delete some of the PasteTrackingServiceTests · e77483aa
      Jason Malinowski 提交于
      There were some tests that generally tested the behavior that "if you
      close a document, the tracking span should go away". These tests weren't
      actually working right:
      
      1. The AssertMissingPastedTextSpan helper fetched the text container
         and passed that to the PasteTrackingService. If the documents had
         been closed, then the container returned is a throwaway container
         which isn't a text buffer at all. The PasteTrackingService returns
         no span, but it always would have no matter what. As such, this case
         meant this was less a test of the service and more a test of
         TestWorkspace that the buffer was closed when expected.
      2. If the documents were open at time, a buffer might get reused by
         TestWorkspace. In those cases, the product code also has no code
         that was clearing the buffer properties out: the test code did.
         As such, those tests passing weren't asserting product behavior,
         they were just asserting the test harness behavior.
      
      In practice, any attempt to resurrect these were really just tests about
      the test harness or TestWorkspace, and not product code. So deleting
      them is just the right thing.
      e77483aa
    • J
      Remove some gratuitious uses of GetOpenTextContainer() · 4c50abd9
      Jason Malinowski 提交于
      The only remaining uses now are ones actually testing the core workspace.
      4c50abd9
    • J
      Switch all uses of TestHostDocument.TextBuffer to GetTextBuffer() · 5cd40392
      Jason Malinowski 提交于
      We had both a property and a method returning the same thing. This
      unifies to just the method.
      5cd40392
    • J
      Redo when we create text buffers in TestWorkspace · 17fde7a3
      Jason Malinowski 提交于
      With TestWorkspace we were creating text buffers for all types of
      documents up front, and by default opening all buffers in the workspace.
      This was problematic because if we're creating text buffers we should
      be ensuring the text buffer's options for using tabs and spaces matches
      the Workspace options, but the workspace sometimes wasn't available
      at those times. This is also unnecessarily expensive if you have test
      projects that aren't doing anything with editor experiences at all.
      
      Also, a complicated "create a separate document in the TestWorkspace for
      the cursor" was removed in favor of more direct code that just creates
      a buffer. Creating an entire TestDocument was funky since the document
      was never actually part of the workspace -- this revealed that it didn't
      seem we were ever disposing the views created.
      
      The "languageName" parameter to CreateProjectionBuffer was removed: it
      didn't logically make sense (the projection buffer created isn't in
      a Workspace, so it has no language name), but also wasn't being used
      for anything else.
      17fde7a3
    • S
      Remove the workspace IVT of SourceBasedTestDiscovery and LiveUnitTesting (#38466) · 085990f1
      Shen Chen 提交于
      * Add solution crawler wrapper types
      
      * Add Experimentation wrapper
      
      * Add UnitTestingPinnedSolutionInfoWrapper
      
      * Add KeepAliveSessionWrapper
      
      * Add PersistentStorageLocationService wrapper
      
      * Add UnitTestingWorkspaceTaskSchedule wrapper
      
      * Add extension wrapper
      
      * Change Workspace wrapper to an extension class
      
      * Add more wrapper types
      
      * Rename and remove files
      
      * Add immutable array extensions
      
      * remove lut ivt
      
      * Remove the dependency on ServicehubBase
      
      * Remove all the dependency for LUT
      
      * Rename and remove unused wrappers
      
      * Add comments
      
      * Rename wrappers and accessors
      
      * More renaming
      085990f1
    • I
      correcting and restoring tests · c932d4d3
      Ivan Basov 提交于
      c932d4d3
    • I