Skip to content

Commit

Permalink
Add const keyword to completion info (dotnet#10158)
Browse files Browse the repository at this point in the history
  • Loading branch information
DedSec256 authored and nosami committed Feb 22, 2021
1 parent 33840a5 commit cfd23b2
Show file tree
Hide file tree
Showing 15 changed files with 67 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/fsharp/FSComp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1378,6 +1378,7 @@ keywordDescriptionAssert,"Used to verify code during debugging."
keywordDescriptionBase,"Used as the name of the base class object."
keywordDescriptionBegin,"In verbose syntax, indicates the start of a code block."
keywordDescriptionClass,"In verbose syntax, indicates the start of a class definition."
keywordDescriptionConst,"Keyword to specify a constant literal as a type parameter argument in Type Providers."
keywordDescriptionDefault,"Indicates an implementation of an abstract method; used together with an abstract method declaration to create a virtual method."
keywordDescriptionDelegate,"Used to declare a delegate."
keywordDescriptionDo,"Used in looping constructs or to execute imperative code."
Expand Down
1 change: 1 addition & 0 deletions src/fsharp/lexhelp.fs
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ module Keywords =
"base", FSComp.SR.keywordDescriptionBase()
"begin", FSComp.SR.keywordDescriptionBegin()
"class", FSComp.SR.keywordDescriptionClass()
"const", FSComp.SR.keywordDescriptionConst()
"default", FSComp.SR.keywordDescriptionDefault()
"delegate", FSComp.SR.keywordDescriptionDelegate()
"do", FSComp.SR.keywordDescriptionDo()
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.cs.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@
<target state="new">Invalid directive '#{0} {1}'</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionConst">
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="new">a byte string may not be interpolated</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.de.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@
<target state="new">Invalid directive '#{0} {1}'</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionConst">
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="new">a byte string may not be interpolated</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.es.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@
<target state="new">Invalid directive '#{0} {1}'</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionConst">
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="new">a byte string may not be interpolated</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.fr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@
<target state="new">Invalid directive '#{0} {1}'</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionConst">
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="new">a byte string may not be interpolated</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.it.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@
<target state="new">Invalid directive '#{0} {1}'</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionConst">
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="new">a byte string may not be interpolated</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.ja.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -2607,6 +2607,11 @@
<target state="new">In verbose syntax, indicates the start of a class definition.</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionConst">
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionDefault">
<source>Indicates an implementation of an abstract method; used together with an abstract method declaration to create a virtual method.</source>
<target state="new">Indicates an implementation of an abstract method; used together with an abstract method declaration to create a virtual method.</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.ko.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@
<target state="new">Invalid directive '#{0} {1}'</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionConst">
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="new">a byte string may not be interpolated</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.pl.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@
<target state="new">Invalid directive '#{0} {1}'</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionConst">
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="new">a byte string may not be interpolated</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.pt-BR.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@
<target state="new">Invalid directive '#{0} {1}'</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionConst">
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="new">a byte string may not be interpolated</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.ru.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@
<target state="new">Invalid directive '#{0} {1}'</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionConst">
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="new">a byte string may not be interpolated</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.tr.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@
<target state="new">Invalid directive '#{0} {1}'</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionConst">
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="new">a byte string may not be interpolated</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.zh-Hans.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@
<target state="new">Invalid directive '#{0} {1}'</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionConst">
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="new">a byte string may not be interpolated</target>
Expand Down
5 changes: 5 additions & 0 deletions src/fsharp/xlf/FSComp.txt.zh-Hant.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@
<target state="new">Invalid directive '#{0} {1}'</target>
<note />
</trans-unit>
<trans-unit id="keywordDescriptionConst">
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
<note />
</trans-unit>
<trans-unit id="lexByteStringMayNotBeInterpolated">
<source>a byte string may not be interpolated</source>
<target state="new">a byte string may not be interpolated</target>
Expand Down

0 comments on commit cfd23b2

Please sign in to comment.