forked from JetBrains/resharper-fsharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fantomas & Type Providers: use trace scenarios for logger (JetBrains#561
- Loading branch information
Showing
17 changed files
with
90 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
ReSharper.FSharp/src/FSharp.Fantomas.Protocol/src/ZoneMarker.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using JetBrains.Application.BuildScript.Application.Zones; | ||
using JetBrains.ProjectModel; | ||
|
||
namespace JetBrains.ReSharper.Plugins.FSharp.Fantomas.Protocol | ||
{ | ||
[ZoneMarker] | ||
public class ZoneMarker : IRequire<IProjectModelZone> | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
ReSharper.FSharp/src/FSharp.TypeProviders.Protocol/src/TypeProvidersProtocolConstants.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
ReSharper.FSharp/src/FSharp.TypeProviders.Protocol/src/ZoneMarker.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
using JetBrains.Application.BuildScript.Application.Zones; | ||
using JetBrains.ProjectModel; | ||
using JetBrains.ProjectModel.NuGet; | ||
using JetBrains.Rider.Model; | ||
|
||
namespace JetBrains.ReSharper.Plugins.FSharp.TypeProviders.Protocol | ||
{ | ||
[ZoneMarker] | ||
public class ZoneMarker : IRequire<IProjectModelZone>, IRequire<INuGetZone> | ||
public class ZoneMarker : IRequire<INuGetZone>, IRequire<IRiderModelZone> | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...tlin/com/jetbrains/rider/plugins/fsharp/test/cases/typeProviders/BaseTypeProvidersTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.jetbrains.rider.plugins.fsharp.test.cases.typeProviders | ||
|
||
import com.jetbrains.rd.platform.diagnostics.LogTraceScenario | ||
import com.jetbrains.rider.plugins.fsharp.logs.FSharpLogTraceScenarios | ||
import com.jetbrains.rider.plugins.fsharp.rdFSharpModel | ||
import com.jetbrains.rider.projectView.solution | ||
import com.jetbrains.rider.test.base.BaseTestWithSolution | ||
|
||
abstract class BaseTypeProvidersTest : BaseTestWithSolution() { | ||
override val restoreNuGetPackages = true | ||
override val traceScenarios: Set<LogTraceScenario> | ||
get() = super.traceScenarios + FSharpLogTraceScenarios.TypeProviders | ||
|
||
protected val rdFcsHost get() = project.solution.rdFSharpModel.fsharpTestHost | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters