Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit cfd23b2

Browse files
DedSec256nosami
authored andcommitted
Add const keyword to completion info (dotnet#10158)
1 parent 33840a5 commit cfd23b2

15 files changed

+67
-0
lines changed

src/fsharp/FSComp.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1378,6 +1378,7 @@ keywordDescriptionAssert,"Used to verify code during debugging."
13781378
keywordDescriptionBase,"Used as the name of the base class object."
13791379
keywordDescriptionBegin,"In verbose syntax, indicates the start of a code block."
13801380
keywordDescriptionClass,"In verbose syntax, indicates the start of a class definition."
1381+
keywordDescriptionConst,"Keyword to specify a constant literal as a type parameter argument in Type Providers."
13811382
keywordDescriptionDefault,"Indicates an implementation of an abstract method; used together with an abstract method declaration to create a virtual method."
13821383
keywordDescriptionDelegate,"Used to declare a delegate."
13831384
keywordDescriptionDo,"Used in looping constructs or to execute imperative code."

src/fsharp/lexhelp.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ module Keywords =
410410
"base", FSComp.SR.keywordDescriptionBase()
411411
"begin", FSComp.SR.keywordDescriptionBegin()
412412
"class", FSComp.SR.keywordDescriptionClass()
413+
"const", FSComp.SR.keywordDescriptionConst()
413414
"default", FSComp.SR.keywordDescriptionDefault()
414415
"delegate", FSComp.SR.keywordDescriptionDelegate()
415416
"do", FSComp.SR.keywordDescriptionDo()

src/fsharp/xlf/FSComp.txt.cs.xlf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@
197197
<target state="new">Invalid directive '#{0} {1}'</target>
198198
<note />
199199
</trans-unit>
200+
<trans-unit id="keywordDescriptionConst">
201+
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
202+
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
203+
<note />
204+
</trans-unit>
200205
<trans-unit id="lexByteStringMayNotBeInterpolated">
201206
<source>a byte string may not be interpolated</source>
202207
<target state="new">a byte string may not be interpolated</target>

src/fsharp/xlf/FSComp.txt.de.xlf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@
197197
<target state="new">Invalid directive '#{0} {1}'</target>
198198
<note />
199199
</trans-unit>
200+
<trans-unit id="keywordDescriptionConst">
201+
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
202+
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
203+
<note />
204+
</trans-unit>
200205
<trans-unit id="lexByteStringMayNotBeInterpolated">
201206
<source>a byte string may not be interpolated</source>
202207
<target state="new">a byte string may not be interpolated</target>

src/fsharp/xlf/FSComp.txt.es.xlf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@
197197
<target state="new">Invalid directive '#{0} {1}'</target>
198198
<note />
199199
</trans-unit>
200+
<trans-unit id="keywordDescriptionConst">
201+
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
202+
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
203+
<note />
204+
</trans-unit>
200205
<trans-unit id="lexByteStringMayNotBeInterpolated">
201206
<source>a byte string may not be interpolated</source>
202207
<target state="new">a byte string may not be interpolated</target>

src/fsharp/xlf/FSComp.txt.fr.xlf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@
197197
<target state="new">Invalid directive '#{0} {1}'</target>
198198
<note />
199199
</trans-unit>
200+
<trans-unit id="keywordDescriptionConst">
201+
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
202+
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
203+
<note />
204+
</trans-unit>
200205
<trans-unit id="lexByteStringMayNotBeInterpolated">
201206
<source>a byte string may not be interpolated</source>
202207
<target state="new">a byte string may not be interpolated</target>

src/fsharp/xlf/FSComp.txt.it.xlf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@
197197
<target state="new">Invalid directive '#{0} {1}'</target>
198198
<note />
199199
</trans-unit>
200+
<trans-unit id="keywordDescriptionConst">
201+
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
202+
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
203+
<note />
204+
</trans-unit>
200205
<trans-unit id="lexByteStringMayNotBeInterpolated">
201206
<source>a byte string may not be interpolated</source>
202207
<target state="new">a byte string may not be interpolated</target>

src/fsharp/xlf/FSComp.txt.ja.xlf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2607,6 +2607,11 @@
26072607
<target state="new">In verbose syntax, indicates the start of a class definition.</target>
26082608
<note />
26092609
</trans-unit>
2610+
<trans-unit id="keywordDescriptionConst">
2611+
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
2612+
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
2613+
<note />
2614+
</trans-unit>
26102615
<trans-unit id="keywordDescriptionDefault">
26112616
<source>Indicates an implementation of an abstract method; used together with an abstract method declaration to create a virtual method.</source>
26122617
<target state="new">Indicates an implementation of an abstract method; used together with an abstract method declaration to create a virtual method.</target>

src/fsharp/xlf/FSComp.txt.ko.xlf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@
197197
<target state="new">Invalid directive '#{0} {1}'</target>
198198
<note />
199199
</trans-unit>
200+
<trans-unit id="keywordDescriptionConst">
201+
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
202+
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
203+
<note />
204+
</trans-unit>
200205
<trans-unit id="lexByteStringMayNotBeInterpolated">
201206
<source>a byte string may not be interpolated</source>
202207
<target state="new">a byte string may not be interpolated</target>

src/fsharp/xlf/FSComp.txt.pl.xlf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@
197197
<target state="new">Invalid directive '#{0} {1}'</target>
198198
<note />
199199
</trans-unit>
200+
<trans-unit id="keywordDescriptionConst">
201+
<source>Keyword to specify a constant literal as a type parameter argument in Type Providers.</source>
202+
<target state="new">Keyword to specify a constant literal as a type parameter argument in Type Providers.</target>
203+
<note />
204+
</trans-unit>
200205
<trans-unit id="lexByteStringMayNotBeInterpolated">
201206
<source>a byte string may not be interpolated</source>
202207
<target state="new">a byte string may not be interpolated</target>

0 commit comments

Comments
 (0)