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

Add const keyword to completion info #10158

Merged
merged 1 commit into from
Sep 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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