Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd11d86c

Browse files
dungpaKevinRansom
authored andcommitted
Implement interface code fix (dotnet#2112)
* Create InterfaceStubGenerator service* Add a prototype of ImplementInterface code fix* Fix indentation calculation* Support both interface declarations and object expressions* Handle already implemented members* Localize lightbulb text* Rename labels
1 parent674ee40 commitd11d86c

File tree

8 files changed

+1237
-34
lines changed

8 files changed

+1237
-34
lines changed

‎src/fsharp/FSharp.LanguageService.Compiler/FSharp.LanguageService.Compiler.fsproj‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,9 @@
559559
<CompileInclude="..\vs\service.fs">
560560
<Link>Service/service.fs</Link>
561561
</Compile>
562+
<CompileInclude="..\vs\ServiceInterfaceStubGenerator.fs">
563+
<Link>Service/ServiceInterfaceStubGenerator.fs</Link>
564+
</Compile>
562565
</ItemGroup>
563566
<ItemGroup>
564567
<ReferenceInclude="mscorlib" />

‎src/fsharp/vs/ServiceAssemblyContent.fs‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ module internal Extensions =
2323
[<RequireQualifiedAccess>]
2424
[<CompilationRepresentation(CompilationRepresentationFlags.ModuleSuffix)>]
2525
moduleOption=
26-
let inlineattempt(f:unit->'T)=try Some(f())with_-> None
27-
let inlinedefaultValue v=function Some x-> x| None-> v
26+
let inlineattempt(f:unit->'T)=try Some(f())with_-> None
2827
let inlineorElse v=function Some x-> Some x| None-> v
2928

3029
[<RequireQualifiedAccess>]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp