- 07 11月, 2019 2 次提交
-
-
由 Charles Stoner 提交于
-
由 Rikki Gibson 提交于
-
- 05 11月, 2019 5 次提交
-
-
由 Joey Robichaud 提交于
Switch some calls to ThreadHelper.ThrowIfNotOnUIThread to something else
-
由 Andy Gocke 提交于
Update release/dev16.4 version to -beta4
-
由 Joey Robichaud 提交于
Revert "Run integration tests with .NET Core SDK shipped with VS"
-
由 Andy Gocke 提交于
-
由 Jason Malinowski 提交于
Skip failing integration tests
-
- 02 11月, 2019 2 次提交
-
-
由 Joey Robichaud 提交于
-
由 Joey Robichaud 提交于
-
- 01 11月, 2019 5 次提交
-
-
由 Manish Vasani 提交于
Don't MEF import core Roslyn language service type in SolutionExplore…
-
由 Manish Vasani 提交于
-
由 Tomáš Matoušek 提交于
Subscribe to OnModuleInstanceLoad/OnModuleInstanceUnload events only when managed debugging is being used. (#39568) Avoids loading Roslyn when debugging native code only.
-
由 Fred Silberberg 提交于
Introduce IUsingDeclarationOperation
-
由 Fredric Silberberg 提交于
Make IUsingDeclarationOperation explicit, and the underlying IVariableDeclarationGroupOperation implicit.
-
- 31 10月, 2019 8 次提交
-
-
由 Joey Robichaud 提交于
Run integration tests with .NET Core SDK shipped with VS
-
由 Manish Vasani 提交于
My recent [change](https://github.com/dotnet/roslyn/pull/37795/commits/03c9021af53e648c74a496a1a5e53a2dc616540c#diff-f7b9587085c9a364f8b4727f4599ebc5R76) caused an RPS regression where creating a new C++ project, which leads to us loading the Roslyn SolutionExplorerShim, now also loads Roslyn language service and all underlying Roslyn assemblies. This change avoids MEF importing the Roslyn type in AnalyzerCommandHandler constructor and instead gets it lazily. In future, we should add an analyzer to prevent SolutionExplorerShim from MEF importing any core Roslyn services.
-
由 Joey Robichaud 提交于
Integration tests were being run with the dotnet SDK from the build environment. This broke when VS updated to creating new .NET Core projects against a TFM not supported by the version of the SDK we were building against. This change allows the .NET Core SDK that shipped with VS to be found when running integration tests. Which is likely the desired behavior. Fixes #39588
-
由 Joey Robichaud 提交于
Check that PackageInstallerService is enabled before getting sources
-
由 Fredric Silberberg 提交于
-
由 Fredric Silberberg 提交于
-
由 Andrew Hall 提交于
If the property is available, pipe it through in the same way that CPS does to the workspace for each project. This lights up features that check for this property in legacy projects that were wrong before.
-
由 Fredric Silberberg 提交于
1. Added comment. 2. Added missing OperationCloner method. 3. Added default unreachable code in builder.
-
- 30 10月, 2019 1 次提交
-
-
由 Fredric Silberberg 提交于
Remove VariableDeclarationKind, and replace with a new IUsingDeclarationOperation node as a parent to IVariableDeclarationGroupOperation.
-
- 26 10月, 2019 2 次提交
-
-
由 Jason Malinowski 提交于
It seems there's a flaky issue in our unit test setup where sometimes ThrowIfNotOnUIThread will throw even if you're on the JTF main thread. It appears the implementation relies on checking the Dispatcher object that must sometimes not be set up right. We have a standard mechansim anyways for asserting that we are on the UI thread that consumes our IThreadingContext, so switching the helper we call should avoid this.
-
由 Joey Robichaud 提交于
-
- 25 10月, 2019 3 次提交
-
-
由 Manish Vasani 提交于
Enable logging of informational telemetry for analyzers/fixers/refact…
-
由 Manish Vasani 提交于
-
由 Ivan Basov 提交于
-
- 24 10月, 2019 12 次提交
-
-
由 David 提交于
Backport editor config change to 16.4
-
由 Manish Vasani 提交于
Ensure that we show the gold bar for .editorconfig as solution item o…
-
由 Jason Malinowski 提交于
Core changes to prep for inferred indentation
-
由 Ivan Basov 提交于
-
由 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
-
由 Ivan Basov 提交于
-
由 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.
-
由 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.
-
由 Jason Malinowski 提交于
The only remaining uses now are ones actually testing the core workspace.
-
由 Jason Malinowski 提交于
We had both a property and a method returning the same thing. This unifies to just the method.
-
由 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.
-
由 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
-