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

Sync with the ultimate master #704

Merged
merged 8 commits into from
Aug 24, 2024
Next Next commit
[dotnet] obsolete default ctor of IntellisensePartAttribute
GitOrigin-RevId: cc0d2936e6789c7e4a6ac44073d4402d5626dfc7
  • Loading branch information
Nikita Popov authored and intellij-monorepo-bot committed Aug 24, 2024
commit 658cae967ef04d4daa7b262e9b9f3dae5ce49cec
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ open System
open System.Linq
open FSharp.Compiler.EditorServices
open FSharp.Compiler.Symbols
open JetBrains.Application.Parts
open JetBrains.DocumentModel
open JetBrains.ReSharper.Feature.Services.CodeCompletion
open JetBrains.ReSharper.Feature.Services.CodeCompletion.Impl
Expand Down Expand Up @@ -206,7 +207,7 @@ type FSharpCodeCompletionContext(context: CodeCompletionContext, fcsCompletionCo
fsFile.GetParseAndCheckResults(true, opName) |> Option.map (fun results -> results.CheckResults)
| _ -> None

[<IntellisensePart>]
[<IntellisensePart(Instantiation.DemandAnyThreadUnsafe)>]
type FSharpCodeCompletionContextProvider(fsXmlDocService: FSharpXmlDocService) =
inherit CodeCompletionContextProviderBase()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type FSharpScriptReferenceCompletionContext(context, token, completedPath, range
member x.SupportsNuget = supportsNuget


[<IntellisensePart>]
[<IntellisensePart(Instantiation.DemandAnyThreadSafe)>]
type FSharpScriptReferenceCompletionContextProvider() =
inherit CodeCompletionContextProviderBase()

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
namespace JetBrains.ReSharper.Plugins.FSharp.Psi.Features.Comment

open JetBrains.Application.Parts
open JetBrains.ReSharper.Feature.Services.CodeCompletion.CompletionInDocComments
open JetBrains.ReSharper.Feature.Services.CodeCompletion.Infrastructure
open JetBrains.ReSharper.Plugins.FSharp.Psi.Impl.DocComments
open JetBrains.ReSharper.Plugins.FSharp.Psi.Tree
open JetBrains.ReSharper.Psi.Tree

[<IntellisensePart>]
[<IntellisensePart(Instantiation.DemandAnyThreadSafe)>]
type FSharpCodeCompletionContextProviderInDocComment() =
inherit CodeCompletionContextProviderInDocCommentBase()

Expand Down