From cfd23b2f5726d4895b414c10a6c85e40e2ca67c7 Mon Sep 17 00:00:00 2001 From: Alex Berezhnykh Date: Mon, 21 Sep 2020 01:43:13 +0300 Subject: [PATCH] Add const keyword to completion info (#10158) --- src/fsharp/FSComp.txt | 1 + src/fsharp/lexhelp.fs | 1 + src/fsharp/xlf/FSComp.txt.cs.xlf | 5 +++++ src/fsharp/xlf/FSComp.txt.de.xlf | 5 +++++ src/fsharp/xlf/FSComp.txt.es.xlf | 5 +++++ src/fsharp/xlf/FSComp.txt.fr.xlf | 5 +++++ src/fsharp/xlf/FSComp.txt.it.xlf | 5 +++++ src/fsharp/xlf/FSComp.txt.ja.xlf | 5 +++++ src/fsharp/xlf/FSComp.txt.ko.xlf | 5 +++++ src/fsharp/xlf/FSComp.txt.pl.xlf | 5 +++++ src/fsharp/xlf/FSComp.txt.pt-BR.xlf | 5 +++++ src/fsharp/xlf/FSComp.txt.ru.xlf | 5 +++++ src/fsharp/xlf/FSComp.txt.tr.xlf | 5 +++++ src/fsharp/xlf/FSComp.txt.zh-Hans.xlf | 5 +++++ src/fsharp/xlf/FSComp.txt.zh-Hant.xlf | 5 +++++ 15 files changed, 67 insertions(+) diff --git a/src/fsharp/FSComp.txt b/src/fsharp/FSComp.txt index 7914b2e6919..358fb27c46b 100644 --- a/src/fsharp/FSComp.txt +++ b/src/fsharp/FSComp.txt @@ -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." diff --git a/src/fsharp/lexhelp.fs b/src/fsharp/lexhelp.fs index d4936792ec7..26a50de6f28 100644 --- a/src/fsharp/lexhelp.fs +++ b/src/fsharp/lexhelp.fs @@ -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() diff --git a/src/fsharp/xlf/FSComp.txt.cs.xlf b/src/fsharp/xlf/FSComp.txt.cs.xlf index 9839f7d0bca..ffddf66f7ce 100644 --- a/src/fsharp/xlf/FSComp.txt.cs.xlf +++ b/src/fsharp/xlf/FSComp.txt.cs.xlf @@ -197,6 +197,11 @@ Invalid directive '#{0} {1}' + + Keyword to specify a constant literal as a type parameter argument in Type Providers. + Keyword to specify a constant literal as a type parameter argument in Type Providers. + + a byte string may not be interpolated a byte string may not be interpolated diff --git a/src/fsharp/xlf/FSComp.txt.de.xlf b/src/fsharp/xlf/FSComp.txt.de.xlf index f0ddc681111..229ddc47488 100644 --- a/src/fsharp/xlf/FSComp.txt.de.xlf +++ b/src/fsharp/xlf/FSComp.txt.de.xlf @@ -197,6 +197,11 @@ Invalid directive '#{0} {1}' + + Keyword to specify a constant literal as a type parameter argument in Type Providers. + Keyword to specify a constant literal as a type parameter argument in Type Providers. + + a byte string may not be interpolated a byte string may not be interpolated diff --git a/src/fsharp/xlf/FSComp.txt.es.xlf b/src/fsharp/xlf/FSComp.txt.es.xlf index 24077dfabb0..e54ea1b0e7e 100644 --- a/src/fsharp/xlf/FSComp.txt.es.xlf +++ b/src/fsharp/xlf/FSComp.txt.es.xlf @@ -197,6 +197,11 @@ Invalid directive '#{0} {1}' + + Keyword to specify a constant literal as a type parameter argument in Type Providers. + Keyword to specify a constant literal as a type parameter argument in Type Providers. + + a byte string may not be interpolated a byte string may not be interpolated diff --git a/src/fsharp/xlf/FSComp.txt.fr.xlf b/src/fsharp/xlf/FSComp.txt.fr.xlf index 505de283f8c..31fd1c7095e 100644 --- a/src/fsharp/xlf/FSComp.txt.fr.xlf +++ b/src/fsharp/xlf/FSComp.txt.fr.xlf @@ -197,6 +197,11 @@ Invalid directive '#{0} {1}' + + Keyword to specify a constant literal as a type parameter argument in Type Providers. + Keyword to specify a constant literal as a type parameter argument in Type Providers. + + a byte string may not be interpolated a byte string may not be interpolated diff --git a/src/fsharp/xlf/FSComp.txt.it.xlf b/src/fsharp/xlf/FSComp.txt.it.xlf index b6527118704..aacd17bbf27 100644 --- a/src/fsharp/xlf/FSComp.txt.it.xlf +++ b/src/fsharp/xlf/FSComp.txt.it.xlf @@ -197,6 +197,11 @@ Invalid directive '#{0} {1}' + + Keyword to specify a constant literal as a type parameter argument in Type Providers. + Keyword to specify a constant literal as a type parameter argument in Type Providers. + + a byte string may not be interpolated a byte string may not be interpolated diff --git a/src/fsharp/xlf/FSComp.txt.ja.xlf b/src/fsharp/xlf/FSComp.txt.ja.xlf index a361c41ff6b..88ab50b3ace 100644 --- a/src/fsharp/xlf/FSComp.txt.ja.xlf +++ b/src/fsharp/xlf/FSComp.txt.ja.xlf @@ -2607,6 +2607,11 @@ In verbose syntax, indicates the start of a class definition. + + Keyword to specify a constant literal as a type parameter argument in Type Providers. + Keyword to specify a constant literal as a type parameter argument in Type Providers. + + Indicates an implementation of an abstract method; used together with an abstract method declaration to create a virtual method. Indicates an implementation of an abstract method; used together with an abstract method declaration to create a virtual method. diff --git a/src/fsharp/xlf/FSComp.txt.ko.xlf b/src/fsharp/xlf/FSComp.txt.ko.xlf index a6fcf98469d..a17642876f9 100644 --- a/src/fsharp/xlf/FSComp.txt.ko.xlf +++ b/src/fsharp/xlf/FSComp.txt.ko.xlf @@ -197,6 +197,11 @@ Invalid directive '#{0} {1}' + + Keyword to specify a constant literal as a type parameter argument in Type Providers. + Keyword to specify a constant literal as a type parameter argument in Type Providers. + + a byte string may not be interpolated a byte string may not be interpolated diff --git a/src/fsharp/xlf/FSComp.txt.pl.xlf b/src/fsharp/xlf/FSComp.txt.pl.xlf index 3727ead1dac..699f1f2e755 100644 --- a/src/fsharp/xlf/FSComp.txt.pl.xlf +++ b/src/fsharp/xlf/FSComp.txt.pl.xlf @@ -197,6 +197,11 @@ Invalid directive '#{0} {1}' + + Keyword to specify a constant literal as a type parameter argument in Type Providers. + Keyword to specify a constant literal as a type parameter argument in Type Providers. + + a byte string may not be interpolated a byte string may not be interpolated diff --git a/src/fsharp/xlf/FSComp.txt.pt-BR.xlf b/src/fsharp/xlf/FSComp.txt.pt-BR.xlf index c6281378ea8..884d70b372e 100644 --- a/src/fsharp/xlf/FSComp.txt.pt-BR.xlf +++ b/src/fsharp/xlf/FSComp.txt.pt-BR.xlf @@ -197,6 +197,11 @@ Invalid directive '#{0} {1}' + + Keyword to specify a constant literal as a type parameter argument in Type Providers. + Keyword to specify a constant literal as a type parameter argument in Type Providers. + + a byte string may not be interpolated a byte string may not be interpolated diff --git a/src/fsharp/xlf/FSComp.txt.ru.xlf b/src/fsharp/xlf/FSComp.txt.ru.xlf index afe00bca155..864e9e9b9ce 100644 --- a/src/fsharp/xlf/FSComp.txt.ru.xlf +++ b/src/fsharp/xlf/FSComp.txt.ru.xlf @@ -197,6 +197,11 @@ Invalid directive '#{0} {1}' + + Keyword to specify a constant literal as a type parameter argument in Type Providers. + Keyword to specify a constant literal as a type parameter argument in Type Providers. + + a byte string may not be interpolated a byte string may not be interpolated diff --git a/src/fsharp/xlf/FSComp.txt.tr.xlf b/src/fsharp/xlf/FSComp.txt.tr.xlf index bc142bfc6a0..7fd449a1959 100644 --- a/src/fsharp/xlf/FSComp.txt.tr.xlf +++ b/src/fsharp/xlf/FSComp.txt.tr.xlf @@ -197,6 +197,11 @@ Invalid directive '#{0} {1}' + + Keyword to specify a constant literal as a type parameter argument in Type Providers. + Keyword to specify a constant literal as a type parameter argument in Type Providers. + + a byte string may not be interpolated a byte string may not be interpolated diff --git a/src/fsharp/xlf/FSComp.txt.zh-Hans.xlf b/src/fsharp/xlf/FSComp.txt.zh-Hans.xlf index 8df687974e5..8459be70851 100644 --- a/src/fsharp/xlf/FSComp.txt.zh-Hans.xlf +++ b/src/fsharp/xlf/FSComp.txt.zh-Hans.xlf @@ -197,6 +197,11 @@ Invalid directive '#{0} {1}' + + Keyword to specify a constant literal as a type parameter argument in Type Providers. + Keyword to specify a constant literal as a type parameter argument in Type Providers. + + a byte string may not be interpolated a byte string may not be interpolated diff --git a/src/fsharp/xlf/FSComp.txt.zh-Hant.xlf b/src/fsharp/xlf/FSComp.txt.zh-Hant.xlf index 035bd7f69dc..0388f6c5814 100644 --- a/src/fsharp/xlf/FSComp.txt.zh-Hant.xlf +++ b/src/fsharp/xlf/FSComp.txt.zh-Hant.xlf @@ -197,6 +197,11 @@ Invalid directive '#{0} {1}' + + Keyword to specify a constant literal as a type parameter argument in Type Providers. + Keyword to specify a constant literal as a type parameter argument in Type Providers. + + a byte string may not be interpolated a byte string may not be interpolated