提交 8aef4601 编写于 作者: C Cyrus Najmabadi

Reverting regex feature work. That will go on in the regexFeatures branch

上级 b0cd7608
......@@ -256,22 +256,5 @@ public async Task TestTuplesWithGenerics()
var x = [|(|]new Dictionary<int, string>(), new List<int>()[|)$$|];
}", TestOptions.Regular);
}
[WpfFact, Trait(Traits.Feature, Traits.Features.BraceHighlighting)]
public async Task TestRegexBracket1()
{
var input = @"
using System.Text.RegularExpressions;
class C
{
void Goo()
{
var r = new Regex(@""[|(|]a[|)|]$$"");
}
}";
await TestBraceHighlightingAsync(input);
}
}
}
......@@ -2504,240 +2504,5 @@ interface unmanaged {}
TypeParameter("T"),
Keyword("unmanaged"));
}
[WpfFact, Trait(Traits.Feature, Traits.Features.Classification)]
public async Task TestRegex1()
{
await TestAsync(
@"
using System.Text.RegularExpressions;
class Program
{
void Goo()
{
var r = new Regex(@""$(\a\t\u0020)|[^\p{Lu}-a\w\sa-z-[m-p]]+?(?#comment)|(\b\G\z)|(?<name>sub){0,5}?^"");
}
}",
Keyword("var"),
Class("Regex"),
Regex.Anchor("$"),
Regex.Grouping("("),
Regex.Escape("\\"),
Regex.Escape("a"),
Regex.Escape("\\"),
Regex.Escape("t"),
Regex.Escape("\\"),
Regex.Escape("u"),
Regex.Escape("0020"),
Regex.Grouping(")"),
Regex.Alternation("|"),
Regex.CharacterClass("["),
Regex.CharacterClass("^"),
Regex.CharacterClass("\\"),
Regex.CharacterClass("p"),
Regex.CharacterClass("{"),
Regex.CharacterClass("Lu"),
Regex.CharacterClass("}"),
Regex.Text("-a"),
Regex.CharacterClass("\\"),
Regex.CharacterClass("w"),
Regex.CharacterClass("\\"),
Regex.CharacterClass("s"),
Regex.Text("a"),
Regex.CharacterClass("-"),
Regex.Text("z"),
Regex.CharacterClass("-"),
Regex.CharacterClass("["),
Regex.Text("m"),
Regex.CharacterClass("-"),
Regex.Text("p"),
Regex.CharacterClass("]"),
Regex.CharacterClass("]"),
Regex.Quantifier("+"),
Regex.Quantifier("?"),
Regex.Comment("(?#comment)"),
Regex.Alternation("|"),
Regex.Grouping("("),
Regex.Anchor("\\"),
Regex.Anchor("b"),
Regex.Anchor("\\"),
Regex.Anchor("G"),
Regex.Anchor("\\"),
Regex.Anchor("z"),
Regex.Grouping(")"),
Regex.Alternation("|"),
Regex.Grouping("("),
Regex.Grouping("?"),
Regex.Grouping("<"),
Regex.Grouping("name"),
Regex.Grouping(">"),
Regex.Text("sub"),
Regex.Grouping(")"),
Regex.Quantifier("{"),
Regex.Quantifier("0"),
Regex.Quantifier(","),
Regex.Quantifier("5"),
Regex.Quantifier("}"),
Regex.Quantifier("?"),
Regex.Anchor("^"));
}
[WpfFact, Trait(Traits.Feature, Traits.Features.Classification)]
public async Task TestRegex2()
{
await TestAsync(
@"
using System.Text.RegularExpressions;
class Program
{
void Goo()
{
// language=regex
var r = @""$(\a\t\u0020)|[^\p{Lu}-a\w\sa-z-[m-p]]+?(?#comment)|(\b\G\z)|(?<name>sub){0,5}?^"";
}
}",
Keyword("var"),
Regex.Anchor("$"),
Regex.Grouping("("),
Regex.Escape("\\"),
Regex.Escape("a"),
Regex.Escape("\\"),
Regex.Escape("t"),
Regex.Escape("\\"),
Regex.Escape("u"),
Regex.Escape("0020"),
Regex.Grouping(")"),
Regex.Alternation("|"),
Regex.CharacterClass("["),
Regex.CharacterClass("^"),
Regex.CharacterClass("\\"),
Regex.CharacterClass("p"),
Regex.CharacterClass("{"),
Regex.CharacterClass("Lu"),
Regex.CharacterClass("}"),
Regex.Text("-a"),
Regex.CharacterClass("\\"),
Regex.CharacterClass("w"),
Regex.CharacterClass("\\"),
Regex.CharacterClass("s"),
Regex.Text("a"),
Regex.CharacterClass("-"),
Regex.Text("z"),
Regex.CharacterClass("-"),
Regex.CharacterClass("["),
Regex.Text("m"),
Regex.CharacterClass("-"),
Regex.Text("p"),
Regex.CharacterClass("]"),
Regex.CharacterClass("]"),
Regex.Quantifier("+"),
Regex.Quantifier("?"),
Regex.Comment("(?#comment)"),
Regex.Alternation("|"),
Regex.Grouping("("),
Regex.Anchor("\\"),
Regex.Anchor("b"),
Regex.Anchor("\\"),
Regex.Anchor("G"),
Regex.Anchor("\\"),
Regex.Anchor("z"),
Regex.Grouping(")"),
Regex.Alternation("|"),
Regex.Grouping("("),
Regex.Grouping("?"),
Regex.Grouping("<"),
Regex.Grouping("name"),
Regex.Grouping(">"),
Regex.Text("sub"),
Regex.Grouping(")"),
Regex.Quantifier("{"),
Regex.Quantifier("0"),
Regex.Quantifier(","),
Regex.Quantifier("5"),
Regex.Quantifier("}"),
Regex.Quantifier("?"),
Regex.Anchor("^"));
}
[WpfFact, Trait(Traits.Feature, Traits.Features.Classification)]
public async Task TestRegex3()
{
await TestAsync(
@"
using System.Text.RegularExpressions;
class Program
{
void Goo()
{
var r = /* language=regex */@""$(\a\t\u0020)|[^\p{Lu}-a\w\sa-z-[m-p]]+?(?#comment)|(\b\G\z)|(?<name>sub){0,5}?^"";
}
}",
Keyword("var"),
Regex.Anchor("$"),
Regex.Grouping("("),
Regex.Escape("\\"),
Regex.Escape("a"),
Regex.Escape("\\"),
Regex.Escape("t"),
Regex.Escape("\\"),
Regex.Escape("u"),
Regex.Escape("0020"),
Regex.Grouping(")"),
Regex.Alternation("|"),
Regex.CharacterClass("["),
Regex.CharacterClass("^"),
Regex.CharacterClass("\\"),
Regex.CharacterClass("p"),
Regex.CharacterClass("{"),
Regex.CharacterClass("Lu"),
Regex.CharacterClass("}"),
Regex.Text("-a"),
Regex.CharacterClass("\\"),
Regex.CharacterClass("w"),
Regex.CharacterClass("\\"),
Regex.CharacterClass("s"),
Regex.Text("a"),
Regex.CharacterClass("-"),
Regex.Text("z"),
Regex.CharacterClass("-"),
Regex.CharacterClass("["),
Regex.Text("m"),
Regex.CharacterClass("-"),
Regex.Text("p"),
Regex.CharacterClass("]"),
Regex.CharacterClass("]"),
Regex.Quantifier("+"),
Regex.Quantifier("?"),
Regex.Comment("(?#comment)"),
Regex.Alternation("|"),
Regex.Grouping("("),
Regex.Anchor("\\"),
Regex.Anchor("b"),
Regex.Anchor("\\"),
Regex.Anchor("G"),
Regex.Anchor("\\"),
Regex.Anchor("z"),
Regex.Grouping(")"),
Regex.Alternation("|"),
Regex.Grouping("("),
Regex.Grouping("?"),
Regex.Grouping("<"),
Regex.Grouping("name"),
Regex.Grouping(">"),
Regex.Text("sub"),
Regex.Grouping(")"),
Regex.Quantifier("{"),
Regex.Quantifier("0"),
Regex.Quantifier(","),
Regex.Quantifier("5"),
Regex.Quantifier("}"),
Regex.Quantifier("?"),
Regex.Anchor("^"));
}
}
}
......@@ -343,137 +343,6 @@ private XmlDocCommentTextFormatDefinition()
}
#endregion
#region Regex - Comment
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = ClassificationTypeNames.RegexComment)]
[Name(ClassificationTypeNames.RegexComment)]
[Order(After = ClassificationTypeNames.StringLiteral)]
[Order(After = ClassificationTypeNames.VerbatimStringLiteral)]
[UserVisible(true)]
[ExcludeFromCodeCoverage]
private class RegexCommentFormatDefinition : ClassificationFormatDefinition
{
private RegexCommentFormatDefinition()
{
this.DisplayName = EditorFeaturesWpfResources.Regex_Comment;
this.ForegroundColor = Color.FromRgb(87, 166, 74);
}
}
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = ClassificationTypeNames.RegexText)]
[Name(ClassificationTypeNames.RegexText)]
[Order(After = ClassificationTypeNames.StringLiteral)]
[Order(After = ClassificationTypeNames.VerbatimStringLiteral)]
[UserVisible(true)]
[ExcludeFromCodeCoverage]
private class RegexTextFormatDefinition : ClassificationFormatDefinition
{
private RegexTextFormatDefinition()
{
this.DisplayName = EditorFeaturesWpfResources.Regex_Text;
this.ForegroundColor = Color.FromRgb(192, 192, 192);
}
}
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = ClassificationTypeNames.RegexCharacterClass)]
[Name(ClassificationTypeNames.RegexCharacterClass)]
[Order(After = ClassificationTypeNames.StringLiteral)]
[Order(After = ClassificationTypeNames.VerbatimStringLiteral)]
[UserVisible(true)]
[ExcludeFromCodeCoverage]
private class RegexCharacterClassFormatDefinition : ClassificationFormatDefinition
{
private RegexCharacterClassFormatDefinition()
{
this.DisplayName = EditorFeaturesWpfResources.Regex_Character_class;
this.ForegroundColor = Color.FromRgb(216, 80, 80);
}
}
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = ClassificationTypeNames.RegexQuantifier)]
[Name(ClassificationTypeNames.RegexQuantifier)]
[Order(After = ClassificationTypeNames.StringLiteral)]
[Order(After = ClassificationTypeNames.VerbatimStringLiteral)]
[UserVisible(true)]
[ExcludeFromCodeCoverage]
private class RegexQuantifierFormatDefinition : ClassificationFormatDefinition
{
private RegexQuantifierFormatDefinition()
{
this.DisplayName = EditorFeaturesWpfResources.Regex_Quantifier;
this.ForegroundColor = Color.FromRgb(95, 149, 250);
}
}
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = ClassificationTypeNames.RegexAnchor)]
[Name(ClassificationTypeNames.RegexAnchor)]
[Order(After = ClassificationTypeNames.StringLiteral)]
[Order(After = ClassificationTypeNames.VerbatimStringLiteral)]
[UserVisible(true)]
[ExcludeFromCodeCoverage]
private class RegexAnchorFormatDefinition : ClassificationFormatDefinition
{
private RegexAnchorFormatDefinition()
{
this.DisplayName = EditorFeaturesWpfResources.Regex_Anchor;
this.ForegroundColor = Color.FromRgb(202, 121, 236);
}
}
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = ClassificationTypeNames.RegexAlternation)]
[Name(ClassificationTypeNames.RegexAlternation)]
[Order(After = ClassificationTypeNames.StringLiteral)]
[Order(After = ClassificationTypeNames.VerbatimStringLiteral)]
[UserVisible(true)]
[ExcludeFromCodeCoverage]
private class RegexAlternationFormatDefinition : ClassificationFormatDefinition
{
private RegexAlternationFormatDefinition()
{
this.DisplayName = EditorFeaturesWpfResources.Regex_Alternation;
this.ForegroundColor = Color.FromRgb(255, 255, 0);
}
}
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = ClassificationTypeNames.RegexEscape)]
[Name(ClassificationTypeNames.RegexEscape)]
[Order(After = ClassificationTypeNames.StringLiteral)]
[Order(After = ClassificationTypeNames.VerbatimStringLiteral)]
[UserVisible(true)]
[ExcludeFromCodeCoverage]
private class RegexEscapeFormatDefinition : ClassificationFormatDefinition
{
private RegexEscapeFormatDefinition()
{
this.DisplayName = EditorFeaturesWpfResources.Regex_Escape;
this.ForegroundColor = Color.FromRgb(255, 128, 9);
}
}
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = ClassificationTypeNames.RegexGrouping)]
[Name(ClassificationTypeNames.RegexGrouping)]
[Order(After = ClassificationTypeNames.StringLiteral)]
[Order(After = ClassificationTypeNames.VerbatimStringLiteral)]
[UserVisible(true)]
[ExcludeFromCodeCoverage]
private class RegexGroupingFormatDefinition : ClassificationFormatDefinition
{
private RegexGroupingFormatDefinition()
{
this.DisplayName = EditorFeaturesWpfResources.Regex_Grouping;
this.ForegroundColor = Color.FromRgb(78, 201, 176);
}
}
#endregion
#region VB XML Literals - Attribute Name
[Export(typeof(EditorFormatDefinition))]
[ClassificationType(ClassificationTypeNames = ClassificationTypeNames.XmlLiteralAttributeName)]
......
......@@ -86,77 +86,5 @@ internal class EditorFeaturesWpfResources {
return ResourceManager.GetString("Downloading_IntelliSense_index_for_0", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Regex - Alternation.
/// </summary>
internal static string Regex_Alternation {
get {
return ResourceManager.GetString("Regex_Alternation", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Regex - Anchor.
/// </summary>
internal static string Regex_Anchor {
get {
return ResourceManager.GetString("Regex_Anchor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Regex - Character class.
/// </summary>
internal static string Regex_Character_class {
get {
return ResourceManager.GetString("Regex_Character_class", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Regex - Comment.
/// </summary>
internal static string Regex_Comment {
get {
return ResourceManager.GetString("Regex_Comment", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Regex - Escape.
/// </summary>
internal static string Regex_Escape {
get {
return ResourceManager.GetString("Regex_Escape", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Regex - Grouping.
/// </summary>
internal static string Regex_Grouping {
get {
return ResourceManager.GetString("Regex_Grouping", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Regex - Quantifier.
/// </summary>
internal static string Regex_Quantifier {
get {
return ResourceManager.GetString("Regex_Quantifier", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Regex - Text.
/// </summary>
internal static string Regex_Text {
get {
return ResourceManager.GetString("Regex_Text", resourceCulture);
}
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
<!--
Microsoft ResX Schema
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
Version 1.3
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">1.3</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1">this is my long string</data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
[base64 mime encoded serialized .NET Framework object]
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
[base64 mime encoded string representing a byte array form of the .NET Framework object]
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Downloading_index_failed" xml:space="preserve">
<value>Downloading index failed</value>
</data>
......@@ -126,28 +107,4 @@
<data name="Downloading_IntelliSense_index_for_0" xml:space="preserve">
<value>Downloading IntelliSense index for {0}</value>
</data>
<data name="Regex_Comment" xml:space="preserve">
<value>Regex - Comment</value>
</data>
<data name="Regex_Character_class" xml:space="preserve">
<value>Regex - Character class</value>
</data>
<data name="Regex_Alternation" xml:space="preserve">
<value>Regex - Alternation</value>
</data>
<data name="Regex_Anchor" xml:space="preserve">
<value>Regex - Anchor</value>
</data>
<data name="Regex_Quantifier" xml:space="preserve">
<value>Regex - Quantifier</value>
</data>
<data name="Regex_Escape" xml:space="preserve">
<value>Regex - Escape</value>
</data>
<data name="Regex_Grouping" xml:space="preserve">
<value>Regex - Grouping</value>
</data>
<data name="Regex_Text" xml:space="preserve">
<value>Regex - Text</value>
</data>
</root>
\ No newline at end of file
......@@ -17,46 +17,6 @@
<target state="translated">Stahuje se index IntelliSense pro {0}.</target>
<note />
</trans-unit>
<trans-unit id="Regex_Comment">
<source>Regex - Comment</source>
<target state="new">Regex - Comment</target>
<note />
</trans-unit>
<trans-unit id="Regex_Character_class">
<source>Regex - Character class</source>
<target state="new">Regex - Character class</target>
<note />
</trans-unit>
<trans-unit id="Regex_Quantifier">
<source>Regex - Quantifier</source>
<target state="new">Regex - Quantifier</target>
<note />
</trans-unit>
<trans-unit id="Regex_Anchor">
<source>Regex - Anchor</source>
<target state="new">Regex - Anchor</target>
<note />
</trans-unit>
<trans-unit id="Regex_Alternation">
<source>Regex - Alternation</source>
<target state="new">Regex - Alternation</target>
<note />
</trans-unit>
<trans-unit id="Regex_Text">
<source>Regex - Text</source>
<target state="new">Regex - Text</target>
<note />
</trans-unit>
<trans-unit id="Regex_Escape">
<source>Regex - Escape</source>
<target state="new">Regex - Escape</target>
<note />
</trans-unit>
<trans-unit id="Regex_Grouping">
<source>Regex - Grouping</source>
<target state="new">Regex - Grouping</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -17,46 +17,6 @@
<target state="translated">Der IntelliSense-Index für "{0}" wird heruntergeladen.</target>
<note />
</trans-unit>
<trans-unit id="Regex_Comment">
<source>Regex - Comment</source>
<target state="new">Regex - Comment</target>
<note />
</trans-unit>
<trans-unit id="Regex_Character_class">
<source>Regex - Character class</source>
<target state="new">Regex - Character class</target>
<note />
</trans-unit>
<trans-unit id="Regex_Quantifier">
<source>Regex - Quantifier</source>
<target state="new">Regex - Quantifier</target>
<note />
</trans-unit>
<trans-unit id="Regex_Anchor">
<source>Regex - Anchor</source>
<target state="new">Regex - Anchor</target>
<note />
</trans-unit>
<trans-unit id="Regex_Alternation">
<source>Regex - Alternation</source>
<target state="new">Regex - Alternation</target>
<note />
</trans-unit>
<trans-unit id="Regex_Text">
<source>Regex - Text</source>
<target state="new">Regex - Text</target>
<note />
</trans-unit>
<trans-unit id="Regex_Escape">
<source>Regex - Escape</source>
<target state="new">Regex - Escape</target>
<note />
</trans-unit>
<trans-unit id="Regex_Grouping">
<source>Regex - Grouping</source>
<target state="new">Regex - Grouping</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -17,46 +17,6 @@
<target state="translated">Descargando el índice de IntelliSense para {0}</target>
<note />
</trans-unit>
<trans-unit id="Regex_Comment">
<source>Regex - Comment</source>
<target state="new">Regex - Comment</target>
<note />
</trans-unit>
<trans-unit id="Regex_Character_class">
<source>Regex - Character class</source>
<target state="new">Regex - Character class</target>
<note />
</trans-unit>
<trans-unit id="Regex_Quantifier">
<source>Regex - Quantifier</source>
<target state="new">Regex - Quantifier</target>
<note />
</trans-unit>
<trans-unit id="Regex_Anchor">
<source>Regex - Anchor</source>
<target state="new">Regex - Anchor</target>
<note />
</trans-unit>
<trans-unit id="Regex_Alternation">
<source>Regex - Alternation</source>
<target state="new">Regex - Alternation</target>
<note />
</trans-unit>
<trans-unit id="Regex_Text">
<source>Regex - Text</source>
<target state="new">Regex - Text</target>
<note />
</trans-unit>
<trans-unit id="Regex_Escape">
<source>Regex - Escape</source>
<target state="new">Regex - Escape</target>
<note />
</trans-unit>
<trans-unit id="Regex_Grouping">
<source>Regex - Grouping</source>
<target state="new">Regex - Grouping</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -17,46 +17,6 @@
<target state="translated">Téléchargement de l'index IntelliSense pour {0}</target>
<note />
</trans-unit>
<trans-unit id="Regex_Comment">
<source>Regex - Comment</source>
<target state="new">Regex - Comment</target>
<note />
</trans-unit>
<trans-unit id="Regex_Character_class">
<source>Regex - Character class</source>
<target state="new">Regex - Character class</target>
<note />
</trans-unit>
<trans-unit id="Regex_Quantifier">
<source>Regex - Quantifier</source>
<target state="new">Regex - Quantifier</target>
<note />
</trans-unit>
<trans-unit id="Regex_Anchor">
<source>Regex - Anchor</source>
<target state="new">Regex - Anchor</target>
<note />
</trans-unit>
<trans-unit id="Regex_Alternation">
<source>Regex - Alternation</source>
<target state="new">Regex - Alternation</target>
<note />
</trans-unit>
<trans-unit id="Regex_Text">
<source>Regex - Text</source>
<target state="new">Regex - Text</target>
<note />
</trans-unit>
<trans-unit id="Regex_Escape">
<source>Regex - Escape</source>
<target state="new">Regex - Escape</target>
<note />
</trans-unit>
<trans-unit id="Regex_Grouping">
<source>Regex - Grouping</source>
<target state="new">Regex - Grouping</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -17,46 +17,6 @@
<target state="translated">Download dell'indice IntelliSense per {0}</target>
<note />
</trans-unit>
<trans-unit id="Regex_Comment">
<source>Regex - Comment</source>
<target state="new">Regex - Comment</target>
<note />
</trans-unit>
<trans-unit id="Regex_Character_class">
<source>Regex - Character class</source>
<target state="new">Regex - Character class</target>
<note />
</trans-unit>
<trans-unit id="Regex_Quantifier">
<source>Regex - Quantifier</source>
<target state="new">Regex - Quantifier</target>
<note />
</trans-unit>
<trans-unit id="Regex_Anchor">
<source>Regex - Anchor</source>
<target state="new">Regex - Anchor</target>
<note />
</trans-unit>
<trans-unit id="Regex_Alternation">
<source>Regex - Alternation</source>
<target state="new">Regex - Alternation</target>
<note />
</trans-unit>
<trans-unit id="Regex_Text">
<source>Regex - Text</source>
<target state="new">Regex - Text</target>
<note />
</trans-unit>
<trans-unit id="Regex_Escape">
<source>Regex - Escape</source>
<target state="new">Regex - Escape</target>
<note />
</trans-unit>
<trans-unit id="Regex_Grouping">
<source>Regex - Grouping</source>
<target state="new">Regex - Grouping</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -17,46 +17,6 @@
<target state="translated">{0} の IntelliSense インデックスをダウンロードしています</target>
<note />
</trans-unit>
<trans-unit id="Regex_Comment">
<source>Regex - Comment</source>
<target state="new">Regex - Comment</target>
<note />
</trans-unit>
<trans-unit id="Regex_Character_class">
<source>Regex - Character class</source>
<target state="new">Regex - Character class</target>
<note />
</trans-unit>
<trans-unit id="Regex_Quantifier">
<source>Regex - Quantifier</source>
<target state="new">Regex - Quantifier</target>
<note />
</trans-unit>
<trans-unit id="Regex_Anchor">
<source>Regex - Anchor</source>
<target state="new">Regex - Anchor</target>
<note />
</trans-unit>
<trans-unit id="Regex_Alternation">
<source>Regex - Alternation</source>
<target state="new">Regex - Alternation</target>
<note />
</trans-unit>
<trans-unit id="Regex_Text">
<source>Regex - Text</source>
<target state="new">Regex - Text</target>
<note />
</trans-unit>
<trans-unit id="Regex_Escape">
<source>Regex - Escape</source>
<target state="new">Regex - Escape</target>
<note />
</trans-unit>
<trans-unit id="Regex_Grouping">
<source>Regex - Grouping</source>
<target state="new">Regex - Grouping</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -17,46 +17,6 @@
<target state="translated">{0}의 IntelliSense 인덱스 다운로드 중</target>
<note />
</trans-unit>
<trans-unit id="Regex_Comment">
<source>Regex - Comment</source>
<target state="new">Regex - Comment</target>
<note />
</trans-unit>
<trans-unit id="Regex_Character_class">
<source>Regex - Character class</source>
<target state="new">Regex - Character class</target>
<note />
</trans-unit>
<trans-unit id="Regex_Quantifier">
<source>Regex - Quantifier</source>
<target state="new">Regex - Quantifier</target>
<note />
</trans-unit>
<trans-unit id="Regex_Anchor">
<source>Regex - Anchor</source>
<target state="new">Regex - Anchor</target>
<note />
</trans-unit>
<trans-unit id="Regex_Alternation">
<source>Regex - Alternation</source>
<target state="new">Regex - Alternation</target>
<note />
</trans-unit>
<trans-unit id="Regex_Text">
<source>Regex - Text</source>
<target state="new">Regex - Text</target>
<note />
</trans-unit>
<trans-unit id="Regex_Escape">
<source>Regex - Escape</source>
<target state="new">Regex - Escape</target>
<note />
</trans-unit>
<trans-unit id="Regex_Grouping">
<source>Regex - Grouping</source>
<target state="new">Regex - Grouping</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -17,46 +17,6 @@
<target state="translated">Pobieranie indeksu funkcji IntelliSense dla {0}</target>
<note />
</trans-unit>
<trans-unit id="Regex_Comment">
<source>Regex - Comment</source>
<target state="new">Regex - Comment</target>
<note />
</trans-unit>
<trans-unit id="Regex_Character_class">
<source>Regex - Character class</source>
<target state="new">Regex - Character class</target>
<note />
</trans-unit>
<trans-unit id="Regex_Quantifier">
<source>Regex - Quantifier</source>
<target state="new">Regex - Quantifier</target>
<note />
</trans-unit>
<trans-unit id="Regex_Anchor">
<source>Regex - Anchor</source>
<target state="new">Regex - Anchor</target>
<note />
</trans-unit>
<trans-unit id="Regex_Alternation">
<source>Regex - Alternation</source>
<target state="new">Regex - Alternation</target>
<note />
</trans-unit>
<trans-unit id="Regex_Text">
<source>Regex - Text</source>
<target state="new">Regex - Text</target>
<note />
</trans-unit>
<trans-unit id="Regex_Escape">
<source>Regex - Escape</source>
<target state="new">Regex - Escape</target>
<note />
</trans-unit>
<trans-unit id="Regex_Grouping">
<source>Regex - Grouping</source>
<target state="new">Regex - Grouping</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -17,46 +17,6 @@
<target state="translated">Baixando o índice do IntelliSense para {0}</target>
<note />
</trans-unit>
<trans-unit id="Regex_Comment">
<source>Regex - Comment</source>
<target state="new">Regex - Comment</target>
<note />
</trans-unit>
<trans-unit id="Regex_Character_class">
<source>Regex - Character class</source>
<target state="new">Regex - Character class</target>
<note />
</trans-unit>
<trans-unit id="Regex_Quantifier">
<source>Regex - Quantifier</source>
<target state="new">Regex - Quantifier</target>
<note />
</trans-unit>
<trans-unit id="Regex_Anchor">
<source>Regex - Anchor</source>
<target state="new">Regex - Anchor</target>
<note />
</trans-unit>
<trans-unit id="Regex_Alternation">
<source>Regex - Alternation</source>
<target state="new">Regex - Alternation</target>
<note />
</trans-unit>
<trans-unit id="Regex_Text">
<source>Regex - Text</source>
<target state="new">Regex - Text</target>
<note />
</trans-unit>
<trans-unit id="Regex_Escape">
<source>Regex - Escape</source>
<target state="new">Regex - Escape</target>
<note />
</trans-unit>
<trans-unit id="Regex_Grouping">
<source>Regex - Grouping</source>
<target state="new">Regex - Grouping</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -17,46 +17,6 @@
<target state="translated">Загрузка индекса IntelliSense для {0}</target>
<note />
</trans-unit>
<trans-unit id="Regex_Comment">
<source>Regex - Comment</source>
<target state="new">Regex - Comment</target>
<note />
</trans-unit>
<trans-unit id="Regex_Character_class">
<source>Regex - Character class</source>
<target state="new">Regex - Character class</target>
<note />
</trans-unit>
<trans-unit id="Regex_Quantifier">
<source>Regex - Quantifier</source>
<target state="new">Regex - Quantifier</target>
<note />
</trans-unit>
<trans-unit id="Regex_Anchor">
<source>Regex - Anchor</source>
<target state="new">Regex - Anchor</target>
<note />
</trans-unit>
<trans-unit id="Regex_Alternation">
<source>Regex - Alternation</source>
<target state="new">Regex - Alternation</target>
<note />
</trans-unit>
<trans-unit id="Regex_Text">
<source>Regex - Text</source>
<target state="new">Regex - Text</target>
<note />
</trans-unit>
<trans-unit id="Regex_Escape">
<source>Regex - Escape</source>
<target state="new">Regex - Escape</target>
<note />
</trans-unit>
<trans-unit id="Regex_Grouping">
<source>Regex - Grouping</source>
<target state="new">Regex - Grouping</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -17,46 +17,6 @@
<target state="translated">{0} için IntelliSense dizini indiriliyor</target>
<note />
</trans-unit>
<trans-unit id="Regex_Comment">
<source>Regex - Comment</source>
<target state="new">Regex - Comment</target>
<note />
</trans-unit>
<trans-unit id="Regex_Character_class">
<source>Regex - Character class</source>
<target state="new">Regex - Character class</target>
<note />
</trans-unit>
<trans-unit id="Regex_Quantifier">
<source>Regex - Quantifier</source>
<target state="new">Regex - Quantifier</target>
<note />
</trans-unit>
<trans-unit id="Regex_Anchor">
<source>Regex - Anchor</source>
<target state="new">Regex - Anchor</target>
<note />
</trans-unit>
<trans-unit id="Regex_Alternation">
<source>Regex - Alternation</source>
<target state="new">Regex - Alternation</target>
<note />
</trans-unit>
<trans-unit id="Regex_Text">
<source>Regex - Text</source>
<target state="new">Regex - Text</target>
<note />
</trans-unit>
<trans-unit id="Regex_Escape">
<source>Regex - Escape</source>
<target state="new">Regex - Escape</target>
<note />
</trans-unit>
<trans-unit id="Regex_Grouping">
<source>Regex - Grouping</source>
<target state="new">Regex - Grouping</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -17,46 +17,6 @@
<target state="translated">正在下载用于 {0} 的 IntelliSense 索引</target>
<note />
</trans-unit>
<trans-unit id="Regex_Comment">
<source>Regex - Comment</source>
<target state="new">Regex - Comment</target>
<note />
</trans-unit>
<trans-unit id="Regex_Character_class">
<source>Regex - Character class</source>
<target state="new">Regex - Character class</target>
<note />
</trans-unit>
<trans-unit id="Regex_Quantifier">
<source>Regex - Quantifier</source>
<target state="new">Regex - Quantifier</target>
<note />
</trans-unit>
<trans-unit id="Regex_Anchor">
<source>Regex - Anchor</source>
<target state="new">Regex - Anchor</target>
<note />
</trans-unit>
<trans-unit id="Regex_Alternation">
<source>Regex - Alternation</source>
<target state="new">Regex - Alternation</target>
<note />
</trans-unit>
<trans-unit id="Regex_Text">
<source>Regex - Text</source>
<target state="new">Regex - Text</target>
<note />
</trans-unit>
<trans-unit id="Regex_Escape">
<source>Regex - Escape</source>
<target state="new">Regex - Escape</target>
<note />
</trans-unit>
<trans-unit id="Regex_Grouping">
<source>Regex - Grouping</source>
<target state="new">Regex - Grouping</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -17,46 +17,6 @@
<target state="translated">正在為 {0} 下載 IntelliSense 索引</target>
<note />
</trans-unit>
<trans-unit id="Regex_Comment">
<source>Regex - Comment</source>
<target state="new">Regex - Comment</target>
<note />
</trans-unit>
<trans-unit id="Regex_Character_class">
<source>Regex - Character class</source>
<target state="new">Regex - Character class</target>
<note />
</trans-unit>
<trans-unit id="Regex_Quantifier">
<source>Regex - Quantifier</source>
<target state="new">Regex - Quantifier</target>
<note />
</trans-unit>
<trans-unit id="Regex_Anchor">
<source>Regex - Anchor</source>
<target state="new">Regex - Anchor</target>
<note />
</trans-unit>
<trans-unit id="Regex_Alternation">
<source>Regex - Alternation</source>
<target state="new">Regex - Alternation</target>
<note />
</trans-unit>
<trans-unit id="Regex_Text">
<source>Regex - Text</source>
<target state="new">Regex - Text</target>
<note />
</trans-unit>
<trans-unit id="Regex_Escape">
<source>Regex - Escape</source>
<target state="new">Regex - Escape</target>
<note />
</trans-unit>
<trans-unit id="Regex_Grouping">
<source>Regex - Grouping</source>
<target state="new">Regex - Grouping</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
......
......@@ -134,48 +134,6 @@ internal sealed class ClassificationTypeDefinitions
internal readonly ClassificationTypeDefinition XmlDocCommentTextTypeDefinition;
#endregion
#region Regex
[Export]
[Name(ClassificationTypeNames.RegexComment)]
[BaseDefinition(PredefinedClassificationTypeNames.FormalLanguage)]
internal readonly ClassificationTypeDefinition RegexCommentTypeDefinition;
[Export]
[Name(ClassificationTypeNames.RegexText)]
[BaseDefinition(PredefinedClassificationTypeNames.FormalLanguage)]
internal readonly ClassificationTypeDefinition RegexTextTypeDefinition;
[Export]
[Name(ClassificationTypeNames.RegexCharacterClass)]
[BaseDefinition(PredefinedClassificationTypeNames.FormalLanguage)]
internal readonly ClassificationTypeDefinition RegexCharacterClassTypeDefinition;
[Export]
[Name(ClassificationTypeNames.RegexQuantifier)]
[BaseDefinition(PredefinedClassificationTypeNames.FormalLanguage)]
internal readonly ClassificationTypeDefinition RegexQuantifierTypeDefinition;
[Export]
[Name(ClassificationTypeNames.RegexAnchor)]
[BaseDefinition(PredefinedClassificationTypeNames.FormalLanguage)]
internal readonly ClassificationTypeDefinition RegexAnchorTypeDefinition;
[Export]
[Name(ClassificationTypeNames.RegexAlternation)]
[BaseDefinition(PredefinedClassificationTypeNames.FormalLanguage)]
internal readonly ClassificationTypeDefinition RegexAlternationTypeDefinition;
[Export]
[Name(ClassificationTypeNames.RegexEscape)]
[BaseDefinition(PredefinedClassificationTypeNames.FormalLanguage)]
internal readonly ClassificationTypeDefinition RegexEscapeTypeDefinition;
[Export]
[Name(ClassificationTypeNames.RegexGrouping)]
[BaseDefinition(PredefinedClassificationTypeNames.FormalLanguage)]
internal readonly ClassificationTypeDefinition RegexGroupingTypeDefinition;
#endregion
#region VB XML Literals - Attribute Name
[Export]
[Name(ClassificationTypeNames.XmlLiteralAttributeName)]
......
......@@ -76,13 +76,12 @@ protected override async Task ProduceTagsAsync(TaggerContext<KeywordHighlightTag
var position = caretPosition.Value;
var snapshot = snapshotSpan.Snapshot;
// See if the user is just moving their caret around in an existing tag. If so, we don't
// want to actually go recompute things. Note: this only works for containment. If the
// user moves their caret to the end of a highlighted reference, we do want to recompute
// as they may now be at the start of some other reference that should be highlighted instead.
var existingTags = context.GetExistingContainingTags(new SnapshotPoint(snapshot, position));
var existingTags = context.GetExistingTags(new SnapshotSpan(snapshot, position, 0));
if (!existingTags.IsEmpty())
{
// We already have a tag at this position. So the user is moving from one highlight
// tag to another. In this case we don't want to recompute anything. Let our caller
// know that we should preserve all tags.
context.SetSpansTagged(SpecializedCollections.EmptyEnumerable<DocumentSnapshotSpan>());
return;
}
......
......@@ -104,13 +104,12 @@ protected override Task ProduceTagsAsync(TaggerContext<NavigableHighlightTag> co
return SpecializedTasks.EmptyTask;
}
// See if the user is just moving their caret around in an existing tag. If so, we don't
// want to actually go recompute things. Note: this only works for containment. If the
// user moves their caret to the end of a highlighted reference, we do want to recompute
// as they may now be at the start of some other reference that should be highlighted instead.
var existingTags = context.GetExistingContainingTags(caretPosition);
var existingTags = context.GetExistingTags(new SnapshotSpan(caretPosition, 0));
if (!existingTags.IsEmpty())
{
// We already have a tag at this position. So the user is moving from one highlight
// tag to another. In this case we don't want to recompute anything. Let our caller
// know that we should preserve all tags.
context.SetSpansTagged(SpecializedCollections.EmptyEnumerable<DocumentSnapshotSpan>());
return SpecializedTasks.EmptyTask;
}
......
......@@ -3,7 +3,6 @@
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis.Editor.Shared.Tagging;
using Microsoft.CodeAnalysis.Text;
......@@ -87,15 +86,11 @@ public void SetSpansTagged(IEnumerable<DocumentSnapshotSpan> spansTagged)
this._spansTagged = spansTagged ?? throw new ArgumentNullException(nameof(spansTagged));
}
public IEnumerable<ITagSpan<TTag>> GetExistingContainingTags(SnapshotPoint point)
public IEnumerable<ITagSpan<TTag>> GetExistingTags(SnapshotSpan span)
{
if (_existingTags != null && _existingTags.TryGetValue(point.Snapshot.TextBuffer, out var tree))
{
return tree.GetIntersectingSpans(new SnapshotSpan(point.Snapshot, new Span(point, 0)))
.Where(s => s.Span.Contains(point));
}
return SpecializedCollections.EmptyEnumerable<ITagSpan<TTag>>();
return _existingTags != null && _existingTags.TryGetValue(span.Snapshot.TextBuffer, out var tree)
? tree.GetIntersectingSpans(span)
: SpecializedCollections.EmptyEnumerable<ITagSpan<TTag>>();
}
}
}
......@@ -672,28 +672,5 @@ class C
Await VerifyHighlightsAsync(input)
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.ReferenceHighlighting)>
Public Async Function TestRegexReference1() As Task
Dim input =
<Workspace>
<Project Language="C#" CommonReferences="true">
<Document>
using System.Text.RegularExpressions;
class C
{
void Goo()
{
var r = new Regex(@"{|Reference:(a)|}\0{|Reference:\$$1|}");
}
}
</Document>
</Project>
</Workspace>
Await VerifyHighlightsAsync(input)
End Function
End Class
End Namespace
......@@ -187,7 +187,6 @@ public static class Features
public const string TypeInferenceService = nameof(TypeInferenceService);
public const string Venus = nameof(Venus);
public const string ValidateFormatString = nameof(ValidateFormatString);
public const string ValidateRegexString = nameof(ValidateRegexString);
public const string VsLanguageBlock = nameof(VsLanguageBlock);
public const string VsNavInfo = nameof(VsNavInfo);
public const string XmlTagCompletion = nameof(XmlTagCompletion);
......
......@@ -5,6 +5,7 @@ Imports System.Threading.Tasks
Imports Microsoft.CodeAnalysis.Text
Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.BraceMatching
<ExportBraceMatcher(LanguageNames.VisualBasic)>
Friend Class StringLiteralBraceMatcher
Implements IBraceMatcher
......@@ -15,15 +16,14 @@ Namespace Microsoft.CodeAnalysis.Editor.VisualBasic.BraceMatching
Dim root = Await document.GetSyntaxRootAsync(cancellationToken).ConfigureAwait(False)
Dim token = root.FindToken(position)
If position = token.SpanStart OrElse position = token.Span.End - 1 Then
If token.Kind = SyntaxKind.StringLiteralToken AndAlso Not token.ContainsDiagnostics Then
Return New BraceMatchingResult(
If token.Kind = SyntaxKind.StringLiteralToken AndAlso Not token.ContainsDiagnostics Then
Return New BraceMatchingResult(
New TextSpan(token.SpanStart, 1),
New TextSpan(token.Span.End - 1, 1))
End If
End If
Return Nothing
End Function
End Class
End Namespace
......@@ -531,44 +531,6 @@ End Class"
[Class]("AttributeUsage"))
End Function
<WpfFact, Trait(Traits.Feature, Traits.Features.Classification)>
Public Async Function TestRegex1() As Task
Await TestAsync(
"
imports System.Text.RegularExpressions
class Program
sub Goo()
' language=regex
var r = ""$(\b\G\z)|(?<name>sub){0,5}?^""
end sub
end class",
Regex.Anchor("$"),
Regex.Grouping("("),
Regex.Anchor("\"),
Regex.Anchor("b"),
Regex.Anchor("\"),
Regex.Anchor("G"),
Regex.Anchor("\"),
Regex.Anchor("z"),
Regex.Grouping(")"),
Regex.Alternation("|"),
Regex.Grouping("("),
Regex.Grouping("?"),
Regex.Grouping("<"),
Regex.Grouping("name"),
Regex.Grouping(">"),
Regex.Text("sub"),
Regex.Grouping(")"),
Regex.Quantifier("{"),
Regex.Quantifier("0"),
Regex.Quantifier(","),
Regex.Quantifier("5"),
Regex.Quantifier("}"),
Regex.Quantifier("?"),
Regex.Anchor("^"))
End Function
<Fact, Trait(Traits.Feature, Traits.Features.Classification)>
Public Async Function TestConstField() As Task
Dim code =
......@@ -678,5 +640,6 @@ End Operator"
Await TestInClassAsync(code)
End Function
End Class
End Namespace
......@@ -64,8 +64,6 @@ internal static class IDEDiagnosticIds
public const string ValidateFormatStringDiagnosticID = "IDE0043";
public const string RegexPatternDiagnosticId = "IDE0044";
// Analyzer error Ids
public const string AnalyzerChangedId = "IDE1001";
public const string AnalyzerDependencyConflictId = "IDE1002";
......
......@@ -8,6 +8,7 @@
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.ErrorReporting;
using Microsoft.CodeAnalysis.Experiments;
using Microsoft.CodeAnalysis.FindSymbols;
using Microsoft.CodeAnalysis.LanguageServices;
using Microsoft.CodeAnalysis.PooledObjects;
......@@ -60,12 +61,6 @@ internal abstract partial class AbstractDocumentHighlightsService : IDocumentHig
private async Task<ImmutableArray<DocumentHighlights>> GetDocumentHighlightsInCurrentProcessAsync(
Document document, int position, IImmutableSet<Document> documentsToSearch, CancellationToken cancellationToken)
{
var result = await TryGetRegexPatternHighlightsAsync(document, position, cancellationToken).ConfigureAwait(false);
if (!result.IsDefaultOrEmpty)
{
return result;
}
// use speculative semantic model to see whether we are on a symbol we can do HR
var span = new TextSpan(position, 0);
var solution = document.Project.Solution;
......@@ -320,7 +315,7 @@ private static async Task AddLocationSpan(Location location, Solution solution,
var tree = location.SourceTree;
var document = solution.GetDocument(tree);
var syntaxFacts = document.GetLanguageService<ISyntaxFactsService>();
var syntaxFacts = document.Project.LanguageServices.GetService<ISyntaxFactsService>();
if (syntaxFacts != null)
{
......
......@@ -427,16 +427,18 @@ internal class FeaturesResources {
return ResourceManager.GetString("Adding_an_imported_method_will_prevent_the_debug_session_from_continuing", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Alias ambiguous type &apos;{0}&apos;.
/// </summary>
internal static string Alias_ambiguous_type_0 {
get {
internal static string Alias_ambiguous_type_0
{
get
{
return ResourceManager.GetString("Alias_ambiguous_type_0", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to All lowercase.
/// </summary>
......@@ -2544,15 +2546,6 @@ internal class FeaturesResources {
}
}
/// <summary>
/// Looks up a localized string similar to Regex issue: {0}.
/// </summary>
internal static string Regex_issue_0 {
get {
return ResourceManager.GetString("Regex_issue_0", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Remarks:.
/// </summary>
......@@ -3653,6 +3646,15 @@ internal class FeaturesResources {
}
}
/// <summary>
/// Looks up a localized string similar to Variable declaration can be deconstructed.
/// </summary>
internal static string Variable_declaration_can_be_deconstructed {
get {
return ResourceManager.GetString("Variable_declaration_can_be_deconstructed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Using readonly references will prevent the debug session from continuing..
/// </summary>
......@@ -3680,15 +3682,6 @@ internal class FeaturesResources {
}
}
/// <summary>
/// Looks up a localized string similar to Variable declaration can be deconstructed.
/// </summary>
internal static string Variable_declaration_can_be_deconstructed {
get {
return ResourceManager.GetString("Variable_declaration_can_be_deconstructed", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Variable declaration can be inlined.
/// </summary>
......
......@@ -1334,9 +1334,6 @@ This version used in: {2}</value>
<data name="indexer_" xml:space="preserve">
<value>indexer</value>
</data>
<data name="Regex_issue_0" xml:space="preserve">
<value>Regex issue: {0}</value>
</data>
<data name="Alias_ambiguous_type_0" xml:space="preserve">
<value>Alias ambiguous type '{0}'</value>
</data>
......
......@@ -1985,11 +1985,6 @@ Tato verze se používá zde: {2}.</target>
<target state="translated">indexer</target>
<note />
</trans-unit>
<trans-unit id="Regex_issue_0">
<source>Regex issue: {0}</source>
<target state="new">Regex issue: {0}</target>
<note />
</trans-unit>
<trans-unit id="Alias_ambiguous_type_0">
<source>Alias ambiguous type '{0}'</source>
<target state="new">Alias ambiguous type '{0}'</target>
......
......@@ -1985,11 +1985,6 @@ Diese Version wird verwendet in: {2}</target>
<target state="translated">Indexer</target>
<note />
</trans-unit>
<trans-unit id="Regex_issue_0">
<source>Regex issue: {0}</source>
<target state="new">Regex issue: {0}</target>
<note />
</trans-unit>
<trans-unit id="Alias_ambiguous_type_0">
<source>Alias ambiguous type '{0}'</source>
<target state="new">Alias ambiguous type '{0}'</target>
......
......@@ -1985,11 +1985,6 @@ Esta versión se utiliza en: {2}</target>
<target state="translated">indizador</target>
<note />
</trans-unit>
<trans-unit id="Regex_issue_0">
<source>Regex issue: {0}</source>
<target state="new">Regex issue: {0}</target>
<note />
</trans-unit>
<trans-unit id="Alias_ambiguous_type_0">
<source>Alias ambiguous type '{0}'</source>
<target state="new">Alias ambiguous type '{0}'</target>
......
......@@ -1985,11 +1985,6 @@ Version utilisée dans : {2}</target>
<target state="translated">indexeur</target>
<note />
</trans-unit>
<trans-unit id="Regex_issue_0">
<source>Regex issue: {0}</source>
<target state="new">Regex issue: {0}</target>
<note />
</trans-unit>
<trans-unit id="Alias_ambiguous_type_0">
<source>Alias ambiguous type '{0}'</source>
<target state="new">Alias ambiguous type '{0}'</target>
......
......@@ -1985,11 +1985,6 @@ Questa versione è usata {2}</target>
<target state="translated">indicizzatore</target>
<note />
</trans-unit>
<trans-unit id="Regex_issue_0">
<source>Regex issue: {0}</source>
<target state="new">Regex issue: {0}</target>
<note />
</trans-unit>
<trans-unit id="Alias_ambiguous_type_0">
<source>Alias ambiguous type '{0}'</source>
<target state="new">Alias ambiguous type '{0}'</target>
......
......@@ -1985,11 +1985,6 @@ This version used in: {2}</source>
<target state="translated">インデクサー</target>
<note />
</trans-unit>
<trans-unit id="Regex_issue_0">
<source>Regex issue: {0}</source>
<target state="new">Regex issue: {0}</target>
<note />
</trans-unit>
<trans-unit id="Alias_ambiguous_type_0">
<source>Alias ambiguous type '{0}'</source>
<target state="new">Alias ambiguous type '{0}'</target>
......
......@@ -1985,11 +1985,6 @@ This version used in: {2}</source>
<target state="translated">인덱서</target>
<note />
</trans-unit>
<trans-unit id="Regex_issue_0">
<source>Regex issue: {0}</source>
<target state="new">Regex issue: {0}</target>
<note />
</trans-unit>
<trans-unit id="Alias_ambiguous_type_0">
<source>Alias ambiguous type '{0}'</source>
<target state="new">Alias ambiguous type '{0}'</target>
......
......@@ -1985,11 +1985,6 @@ Ta wersja jest używana wersja: {2}</target>
<target state="translated">indeksator</target>
<note />
</trans-unit>
<trans-unit id="Regex_issue_0">
<source>Regex issue: {0}</source>
<target state="new">Regex issue: {0}</target>
<note />
</trans-unit>
<trans-unit id="Alias_ambiguous_type_0">
<source>Alias ambiguous type '{0}'</source>
<target state="new">Alias ambiguous type '{0}'</target>
......
......@@ -1985,11 +1985,6 @@ Essa versão é usada no: {2}</target>
<target state="translated">indexador</target>
<note />
</trans-unit>
<trans-unit id="Regex_issue_0">
<source>Regex issue: {0}</source>
<target state="new">Regex issue: {0}</target>
<note />
</trans-unit>
<trans-unit id="Alias_ambiguous_type_0">
<source>Alias ambiguous type '{0}'</source>
<target state="new">Alias ambiguous type '{0}'</target>
......
......@@ -1985,11 +1985,6 @@ This version used in: {2}</source>
<target state="translated">индексатор</target>
<note />
</trans-unit>
<trans-unit id="Regex_issue_0">
<source>Regex issue: {0}</source>
<target state="new">Regex issue: {0}</target>
<note />
</trans-unit>
<trans-unit id="Alias_ambiguous_type_0">
<source>Alias ambiguous type '{0}'</source>
<target state="new">Alias ambiguous type '{0}'</target>
......
......@@ -1985,11 +1985,6 @@ Bu sürüm şurada kullanılır: {2}</target>
<target state="translated">dizin oluşturucu</target>
<note />
</trans-unit>
<trans-unit id="Regex_issue_0">
<source>Regex issue: {0}</source>
<target state="new">Regex issue: {0}</target>
<note />
</trans-unit>
<trans-unit id="Alias_ambiguous_type_0">
<source>Alias ambiguous type '{0}'</source>
<target state="new">Alias ambiguous type '{0}'</target>
......
......@@ -1985,11 +1985,6 @@ This version used in: {2}</source>
<target state="translated">索引器</target>
<note />
</trans-unit>
<trans-unit id="Regex_issue_0">
<source>Regex issue: {0}</source>
<target state="new">Regex issue: {0}</target>
<note />
</trans-unit>
<trans-unit id="Alias_ambiguous_type_0">
<source>Alias ambiguous type '{0}'</source>
<target state="new">Alias ambiguous type '{0}'</target>
......
......@@ -1985,11 +1985,6 @@ This version used in: {2}</source>
<target state="translated">索引子</target>
<note />
</trans-unit>
<trans-unit id="Regex_issue_0">
<source>Regex issue: {0}</source>
<target state="new">Regex issue: {0}</target>
<note />
</trans-unit>
<trans-unit id="Alias_ambiguous_type_0">
<source>Alias ambiguous type '{0}'</source>
<target state="new">Alias ambiguous type '{0}'</target>
......
......@@ -99,20 +99,7 @@
Content="{x:Static local:AdvancedOptionPageStrings.Option_Report_invalid_placeholders_in_string_dot_format_calls}" />
</StackPanel>
</GroupBox>
<GroupBox x:Uid="RegularExpressionsGroupBox"
Header="{x:Static local:AdvancedOptionPageStrings.Option_Regular_Expressions}">
<StackPanel>
<CheckBox x:Name="Colorize_regular_expressions"
Content="{x:Static local:AdvancedOptionPageStrings.Option_Colorize_regular_expressions}" />
<CheckBox x:Name="Report_invalid_regular_expressions"
Content="{x:Static local:AdvancedOptionPageStrings.Option_Report_invalid_regular_expressions}" />
<CheckBox x:Name="Highlight_related_components_under_cursor"
Content="{x:Static local:AdvancedOptionPageStrings.Option_Highlight_related_components_under_cursor}" />
</StackPanel>
</GroupBox>
<GroupBox x:Uid="ExtractMethodGroupBox"
<GroupBox x:Uid="ExtractMethodGroupBox"
Header="{x:Static local:AdvancedOptionPageStrings.Option_ExtractMethod}">
<StackPanel>
<CheckBox x:Name="DontPutOutOrRefOnStruct"
......
......@@ -8,12 +8,10 @@
using Microsoft.CodeAnalysis.ExtractMethod;
using Microsoft.CodeAnalysis.Fading;
using Microsoft.CodeAnalysis.ImplementType;
using Microsoft.CodeAnalysis.RegularExpressions;
using Microsoft.CodeAnalysis.Remote;
using Microsoft.CodeAnalysis.Structure;
using Microsoft.CodeAnalysis.SymbolSearch;
using Microsoft.CodeAnalysis.ValidateFormatString;
using Microsoft.CodeAnalysis.ValidateRegexString;
using Microsoft.VisualStudio.LanguageServices.Implementation.Options;
namespace Microsoft.VisualStudio.LanguageServices.CSharp.Options
......@@ -63,10 +61,6 @@ public AdvancedOptionPageControl(IServiceProvider serviceProvider) : base(servic
BindToOption(prefer_auto_properties, ImplementTypeOptions.PropertyGenerationBehavior, ImplementTypePropertyGenerationBehavior.PreferAutoProperties, LanguageNames.CSharp);
BindToOption(Report_invalid_placeholders_in_string_dot_format_calls, ValidateFormatStringOption.ReportInvalidPlaceholdersInStringDotFormatCalls, LanguageNames.CSharp);
BindToOption(Colorize_regular_expressions, RegularExpressionsOptions.ColorizeRegexPatterns, LanguageNames.CSharp);
BindToOption(Report_invalid_regular_expressions, RegularExpressionsOptions.ReportInvalidRegexPatterns, LanguageNames.CSharp);
BindToOption(Highlight_related_components_under_cursor, RegularExpressionsOptions.HighlightRelatedRegexComponentsUnderCursor, LanguageNames.CSharp);
}
}
}
......@@ -167,18 +167,6 @@ public static string Option_SeparateImportGroups
CSharpVSResources.Suggest_usings_for_types_in_NuGet_packages;
public static string Option_Report_invalid_placeholders_in_string_dot_format_calls =>
CSharpVSResources.Report_invalid_placeholders_in_string_dot_format_calls;
public static string Option_Regular_Expressions =>
ServicesVSResources.Regular_Expressions;
public static string Option_Colorize_regular_expressions =>
ServicesVSResources.Colorize_regular_expressions;
public static string Option_Report_invalid_regular_expressions =>
ServicesVSResources.Report_invalid_regular_expressions;
public static string Option_Highlight_related_components_under_cursor =>
ServicesVSResources.Highlight_related_components_under_cursor;
CSharpVSResources.Report_invalid_placeholders_in_string_dot_format_calls;
}
}
......@@ -75,15 +75,6 @@ public void RefreshThemeColors()
UpdateForegroundColor(ClassificationTypeNames.XmlDocCommentComment, sourceFormatMap, targetFormatMap);
UpdateForegroundColor(ClassificationTypeNames.XmlDocCommentCDataSection, sourceFormatMap, targetFormatMap);
UpdateForegroundColor(ClassificationTypeNames.RegexComment, sourceFormatMap, targetFormatMap);
UpdateForegroundColor(ClassificationTypeNames.RegexText, sourceFormatMap, targetFormatMap);
UpdateForegroundColor(ClassificationTypeNames.RegexCharacterClass, sourceFormatMap, targetFormatMap);
UpdateForegroundColor(ClassificationTypeNames.RegexQuantifier, sourceFormatMap, targetFormatMap);
UpdateForegroundColor(ClassificationTypeNames.RegexAnchor, sourceFormatMap, targetFormatMap);
UpdateForegroundColor(ClassificationTypeNames.RegexAlternation, sourceFormatMap, targetFormatMap);
UpdateForegroundColor(ClassificationTypeNames.RegexEscape, sourceFormatMap, targetFormatMap);
UpdateForegroundColor(ClassificationTypeNames.RegexGrouping, sourceFormatMap, targetFormatMap);
UpdateForegroundColor(ClassificationTypeNames.PreprocessorKeyword, sourceFormatMap, targetFormatMap);
UpdateForegroundColor(ClassificationTypeNames.PreprocessorText, sourceFormatMap, targetFormatMap);
......
......@@ -516,15 +516,6 @@ internal class ServicesVSResources {
}
}
/// <summary>
/// Looks up a localized string similar to Colorize regular expressions.
/// </summary>
internal static string Colorize_regular_expressions {
get {
return ResourceManager.GetString("Colorize_regular_expressions", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Computing remove suppressions fix....
/// </summary>
......@@ -1080,15 +1071,6 @@ internal class ServicesVSResources {
}
}
/// <summary>
/// Looks up a localized string similar to Highlight related components under cursor.
/// </summary>
internal static string Highlight_related_components_under_cursor {
get {
return ResourceManager.GetString("Highlight_related_components_under_cursor", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to identifier.
/// </summary>
......@@ -1989,15 +1971,6 @@ internal class ServicesVSResources {
}
}
/// <summary>
/// Looks up a localized string similar to Regular Expressions.
/// </summary>
internal static string Regular_Expressions {
get {
return ResourceManager.GetString("Regular_Expressions", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Remarks:.
/// </summary>
......@@ -2070,15 +2043,6 @@ internal class ServicesVSResources {
}
}
/// <summary>
/// Looks up a localized string similar to Report invalid regular expressions.
/// </summary>
internal static string Report_invalid_regular_expressions {
get {
return ResourceManager.GetString("Report_invalid_regular_expressions", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Required Prefix:.
/// </summary>
......
......@@ -1009,18 +1009,6 @@ I agree to all of the foregoing:</value>
<data name="Decompiler_Legal_Notice_Title" xml:space="preserve">
<value>Decompiler Legal Notice</value>
</data>
<data name="Colorize_regular_expressions" xml:space="preserve">
<value>Colorize regular expressions</value>
</data>
<data name="Highlight_related_components_under_cursor" xml:space="preserve">
<value>Highlight related components under cursor</value>
</data>
<data name="Regular_Expressions" xml:space="preserve">
<value>Regular Expressions</value>
</data>
<data name="Report_invalid_regular_expressions" xml:space="preserve">
<value>Report invalid regular expressions</value>
</data>
<data name="Disabling_the_extension_0_unbound_your_keyboard_bindings" xml:space="preserve">
<value>Disabling the extension '{0}' unbound your keyboard bindings.</value>
<comment>0 is an extension name</comment>
......
......@@ -1488,26 +1488,6 @@ Souhlasím se všemi výše uvedenými podmínkami:</target>
<target state="translated">Právní doložka pro dekompilátor</target>
<note />
</trans-unit>
<trans-unit id="Colorize_regular_expressions">
<source>Colorize regular expressions</source>
<target state="new">Colorize regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Highlight_related_components_under_cursor">
<source>Highlight related components under cursor</source>
<target state="new">Highlight related components under cursor</target>
<note />
</trans-unit>
<trans-unit id="Regular_Expressions">
<source>Regular Expressions</source>
<target state="new">Regular Expressions</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_regular_expressions">
<source>Report invalid regular expressions</source>
<target state="new">Report invalid regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Disabling_the_extension_0_unbound_your_keyboard_bindings">
<source>Disabling the extension '{0}' unbound your keyboard bindings.</source>
<target state="translated">Zakázání rozšíření {0} uvolnilo klávesové zkratky.</target>
......
......@@ -1488,26 +1488,6 @@ Ich stimme allen vorstehenden Bedingungen zu:</target>
<target state="translated">Rechtlicher Hinweis zum Decompiler</target>
<note />
</trans-unit>
<trans-unit id="Colorize_regular_expressions">
<source>Colorize regular expressions</source>
<target state="new">Colorize regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Highlight_related_components_under_cursor">
<source>Highlight related components under cursor</source>
<target state="new">Highlight related components under cursor</target>
<note />
</trans-unit>
<trans-unit id="Regular_Expressions">
<source>Regular Expressions</source>
<target state="new">Regular Expressions</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_regular_expressions">
<source>Report invalid regular expressions</source>
<target state="new">Report invalid regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Disabling_the_extension_0_unbound_your_keyboard_bindings">
<source>Disabling the extension '{0}' unbound your keyboard bindings.</source>
<target state="translated">Durch das Deaktivieren der Erweiterung "{0}" wurden die Tastaturbindungen aufgehoben.</target>
......
......@@ -1488,26 +1488,6 @@ Estoy de acuerdo con todo lo anterior:</target>
<target state="translated">Aviso legal del Descompilador</target>
<note />
</trans-unit>
<trans-unit id="Colorize_regular_expressions">
<source>Colorize regular expressions</source>
<target state="new">Colorize regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Highlight_related_components_under_cursor">
<source>Highlight related components under cursor</source>
<target state="new">Highlight related components under cursor</target>
<note />
</trans-unit>
<trans-unit id="Regular_Expressions">
<source>Regular Expressions</source>
<target state="new">Regular Expressions</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_regular_expressions">
<source>Report invalid regular expressions</source>
<target state="new">Report invalid regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Disabling_the_extension_0_unbound_your_keyboard_bindings">
<source>Disabling the extension '{0}' unbound your keyboard bindings.</source>
<target state="translated">La deshabilitación de la extensión "{0}" quitará los enlaces de teclado.</target>
......
......@@ -1488,26 +1488,6 @@ Je suis d'accord avec tout ce qui précède :</target>
<target state="translated">Décompileur - Mention légale</target>
<note />
</trans-unit>
<trans-unit id="Colorize_regular_expressions">
<source>Colorize regular expressions</source>
<target state="new">Colorize regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Highlight_related_components_under_cursor">
<source>Highlight related components under cursor</source>
<target state="new">Highlight related components under cursor</target>
<note />
</trans-unit>
<trans-unit id="Regular_Expressions">
<source>Regular Expressions</source>
<target state="new">Regular Expressions</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_regular_expressions">
<source>Report invalid regular expressions</source>
<target state="new">Report invalid regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Disabling_the_extension_0_unbound_your_keyboard_bindings">
<source>Disabling the extension '{0}' unbound your keyboard bindings.</source>
<target state="translated">La désactivation de l'extension '{0}' a annulé la liaison de vos combinaisons de touches.</target>
......
......@@ -1488,26 +1488,6 @@ L'utente accetta le condizioni sopra riportate:</target>
<target state="translated">Note legali sul decompilatore</target>
<note />
</trans-unit>
<trans-unit id="Colorize_regular_expressions">
<source>Colorize regular expressions</source>
<target state="new">Colorize regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Highlight_related_components_under_cursor">
<source>Highlight related components under cursor</source>
<target state="new">Highlight related components under cursor</target>
<note />
</trans-unit>
<trans-unit id="Regular_Expressions">
<source>Regular Expressions</source>
<target state="new">Regular Expressions</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_regular_expressions">
<source>Report invalid regular expressions</source>
<target state="new">Report invalid regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Disabling_the_extension_0_unbound_your_keyboard_bindings">
<source>Disabling the extension '{0}' unbound your keyboard bindings.</source>
<target state="translated">In seguito alla disabilitazione dell'estensione '{0}' i binding di tastiera sono stati annullati.</target>
......
......@@ -1488,26 +1488,6 @@ I agree to all of the foregoing:</source>
<target state="translated">デコンパイラの法的通知</target>
<note />
</trans-unit>
<trans-unit id="Colorize_regular_expressions">
<source>Colorize regular expressions</source>
<target state="new">Colorize regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Highlight_related_components_under_cursor">
<source>Highlight related components under cursor</source>
<target state="new">Highlight related components under cursor</target>
<note />
</trans-unit>
<trans-unit id="Regular_Expressions">
<source>Regular Expressions</source>
<target state="new">Regular Expressions</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_regular_expressions">
<source>Report invalid regular expressions</source>
<target state="new">Report invalid regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Disabling_the_extension_0_unbound_your_keyboard_bindings">
<source>Disabling the extension '{0}' unbound your keyboard bindings.</source>
<target state="translated">拡張 '{0}' を無効にすることにより、キーボードのバインディングがバインド解除されました。</target>
......
......@@ -1488,26 +1488,6 @@ I agree to all of the foregoing:</source>
<target state="translated">디컴파일러 법적 고지 사항</target>
<note />
</trans-unit>
<trans-unit id="Colorize_regular_expressions">
<source>Colorize regular expressions</source>
<target state="new">Colorize regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Highlight_related_components_under_cursor">
<source>Highlight related components under cursor</source>
<target state="new">Highlight related components under cursor</target>
<note />
</trans-unit>
<trans-unit id="Regular_Expressions">
<source>Regular Expressions</source>
<target state="new">Regular Expressions</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_regular_expressions">
<source>Report invalid regular expressions</source>
<target state="new">Report invalid regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Disabling_the_extension_0_unbound_your_keyboard_bindings">
<source>Disabling the extension '{0}' unbound your keyboard bindings.</source>
<target state="translated">키보드 바인딩을 바인딩 해제하는 '{0}' 확장을 사용하지 않도록 설정하는 중입니다.</target>
......
......@@ -1488,26 +1488,6 @@ Wyrażam zgodę na wszystkie następujące postanowienia:</target>
<target state="translated">Informacje prawne dotyczące Dekompilatora</target>
<note />
</trans-unit>
<trans-unit id="Colorize_regular_expressions">
<source>Colorize regular expressions</source>
<target state="new">Colorize regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Highlight_related_components_under_cursor">
<source>Highlight related components under cursor</source>
<target state="new">Highlight related components under cursor</target>
<note />
</trans-unit>
<trans-unit id="Regular_Expressions">
<source>Regular Expressions</source>
<target state="new">Regular Expressions</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_regular_expressions">
<source>Report invalid regular expressions</source>
<target state="new">Report invalid regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Disabling_the_extension_0_unbound_your_keyboard_bindings">
<source>Disabling the extension '{0}' unbound your keyboard bindings.</source>
<target state="translated">Wyłączenie rozszerzenia „{0}” spowodowało usunięcie powiązań klawiaturowych.</target>
......
......@@ -1488,26 +1488,6 @@ Eu concordo com todo o conteúdo supracitado:</target>
<target state="translated">Aviso Legal do Descompilador</target>
<note />
</trans-unit>
<trans-unit id="Colorize_regular_expressions">
<source>Colorize regular expressions</source>
<target state="new">Colorize regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Highlight_related_components_under_cursor">
<source>Highlight related components under cursor</source>
<target state="new">Highlight related components under cursor</target>
<note />
</trans-unit>
<trans-unit id="Regular_Expressions">
<source>Regular Expressions</source>
<target state="new">Regular Expressions</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_regular_expressions">
<source>Report invalid regular expressions</source>
<target state="new">Report invalid regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Disabling_the_extension_0_unbound_your_keyboard_bindings">
<source>Disabling the extension '{0}' unbound your keyboard bindings.</source>
<target state="translated">A desabilitação da extensão '{0}' desvinculou as associações do teclado.</target>
......
......@@ -1488,26 +1488,6 @@ I agree to all of the foregoing:</source>
<target state="translated">Юридическая информация для декомпилятора</target>
<note />
</trans-unit>
<trans-unit id="Colorize_regular_expressions">
<source>Colorize regular expressions</source>
<target state="new">Colorize regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Highlight_related_components_under_cursor">
<source>Highlight related components under cursor</source>
<target state="new">Highlight related components under cursor</target>
<note />
</trans-unit>
<trans-unit id="Regular_Expressions">
<source>Regular Expressions</source>
<target state="new">Regular Expressions</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_regular_expressions">
<source>Report invalid regular expressions</source>
<target state="new">Report invalid regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Disabling_the_extension_0_unbound_your_keyboard_bindings">
<source>Disabling the extension '{0}' unbound your keyboard bindings.</source>
<target state="translated">Отключение расширения "{0}" удалит привязки клавиш.</target>
......
......@@ -1488,26 +1488,6 @@ Aşağıdakilerin tümünü onaylıyorum:</target>
<target state="translated">Derleme Ayırıcı Yasal Bildirim</target>
<note />
</trans-unit>
<trans-unit id="Colorize_regular_expressions">
<source>Colorize regular expressions</source>
<target state="new">Colorize regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Highlight_related_components_under_cursor">
<source>Highlight related components under cursor</source>
<target state="new">Highlight related components under cursor</target>
<note />
</trans-unit>
<trans-unit id="Regular_Expressions">
<source>Regular Expressions</source>
<target state="new">Regular Expressions</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_regular_expressions">
<source>Report invalid regular expressions</source>
<target state="new">Report invalid regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Disabling_the_extension_0_unbound_your_keyboard_bindings">
<source>Disabling the extension '{0}' unbound your keyboard bindings.</source>
<target state="translated">'{0}' uzantısının devre dışı bırakılması klavye bağlamalarınızı bozdu.</target>
......
......@@ -1488,26 +1488,6 @@ I agree to all of the foregoing:</source>
<target state="translated">Decompiler 法律声明</target>
<note />
</trans-unit>
<trans-unit id="Colorize_regular_expressions">
<source>Colorize regular expressions</source>
<target state="new">Colorize regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Highlight_related_components_under_cursor">
<source>Highlight related components under cursor</source>
<target state="new">Highlight related components under cursor</target>
<note />
</trans-unit>
<trans-unit id="Regular_Expressions">
<source>Regular Expressions</source>
<target state="new">Regular Expressions</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_regular_expressions">
<source>Report invalid regular expressions</source>
<target state="new">Report invalid regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Disabling_the_extension_0_unbound_your_keyboard_bindings">
<source>Disabling the extension '{0}' unbound your keyboard bindings.</source>
<target state="translated">禁用扩展“{0}”,取消绑定键盘绑定。</target>
......
......@@ -1488,26 +1488,6 @@ I agree to all of the foregoing:</source>
<target state="translated">解編程式的法律聲明</target>
<note />
</trans-unit>
<trans-unit id="Colorize_regular_expressions">
<source>Colorize regular expressions</source>
<target state="new">Colorize regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Highlight_related_components_under_cursor">
<source>Highlight related components under cursor</source>
<target state="new">Highlight related components under cursor</target>
<note />
</trans-unit>
<trans-unit id="Regular_Expressions">
<source>Regular Expressions</source>
<target state="new">Regular Expressions</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_regular_expressions">
<source>Report invalid regular expressions</source>
<target state="new">Report invalid regular expressions</target>
<note />
</trans-unit>
<trans-unit id="Disabling_the_extension_0_unbound_your_keyboard_bindings">
<source>Disabling the extension '{0}' unbound your keyboard bindings.</source>
<target state="translated">禁止延伸模組 '{0}' 解除您的鍵盤繫結關係。</target>
......
......@@ -273,10 +273,10 @@
<data name="Prefer_Is_Nothing_over_ReferenceEquals" xml:space="preserve">
<value>Prefer 'Is Nothing' over 'Object.ReferenceEquals(..., Nothing)'</value>
</data>
<data name="Separate_import_directive_groups" xml:space="preserve">
<value>Separate import directive groups</value>
</data>
<data name="Report_invalid_placeholders_in_string_dot_format_calls" xml:space="preserve">
<value>Report invalid placeholders in 'String.Format' calls</value>
</data>
<data name="Separate_import_directive_groups" xml:space="preserve">
<value>Separate import directive groups</value>
</data>
</root>
\ No newline at end of file
......@@ -105,19 +105,6 @@
Content="{x:Static local:AdvancedOptionPageStrings.Option_NavigateToObjectBrowser}" />
</StackPanel>
</GroupBox>
<GroupBox x:Uid="RegularExpressionsGroupBox"
Header="{x:Static local:AdvancedOptionPageStrings.Option_Regular_Expressions}">
<StackPanel>
<CheckBox x:Name="Colorize_regular_expressions"
Content="{x:Static local:AdvancedOptionPageStrings.Option_Colorize_regular_expressions}" />
<CheckBox x:Name="Report_invalid_regular_expressions"
Content="{x:Static local:AdvancedOptionPageStrings.Option_Report_invalid_regular_expressions}" />
<CheckBox x:Name="Highlight_related_components_under_cursor"
Content="{x:Static local:AdvancedOptionPageStrings.Option_Highlight_related_components_under_cursor}" />
</StackPanel>
</GroupBox>
<GroupBox x:Uid="ExtractMethodGroupBox"
Header="{x:Static local:AdvancedOptionPageStrings.Option_ExtractMethod}">
<StackPanel>
......
......@@ -6,7 +6,6 @@ Imports Microsoft.CodeAnalysis.Editor.Shared.Options
Imports Microsoft.CodeAnalysis.ExtractMethod
Imports Microsoft.CodeAnalysis.Fading
Imports Microsoft.CodeAnalysis.ImplementType
Imports Microsoft.CodeAnalysis.RegularExpressions
Imports Microsoft.CodeAnalysis.Remote
Imports Microsoft.CodeAnalysis.Structure
Imports Microsoft.CodeAnalysis.SymbolSearch
......@@ -59,10 +58,6 @@ Namespace Microsoft.VisualStudio.LanguageServices.VisualBasic.Options
BindToOption(prefer_auto_properties, ImplementTypeOptions.PropertyGenerationBehavior, ImplementTypePropertyGenerationBehavior.PreferAutoProperties, LanguageNames.VisualBasic)
BindToOption(Report_invalid_placeholders_in_string_dot_format_calls, ValidateFormatStringOption.ReportInvalidPlaceholdersInStringDotFormatCalls, LanguageNames.VisualBasic)
BindToOption(Colorize_regular_expressions, RegularExpressionsOptions.ColorizeRegexPatterns, LanguageNames.VisualBasic)
BindToOption(Report_invalid_regular_expressions, RegularExpressionsOptions.ReportInvalidRegexPatterns, LanguageNames.VisualBasic)
BindToOption(Highlight_related_components_under_cursor, RegularExpressionsOptions.HighlightRelatedRegexComponentsUnderCursor, LanguageNames.VisualBasic)
End Sub
End Class
End Namespace
......@@ -200,22 +200,16 @@ Namespace Microsoft.VisualStudio.LanguageServices.VisualBasic.Options
Public ReadOnly Property Option_SeparateImportGroups As String =
BasicVSResources.Separate_import_directive_groups
Public ReadOnly Property Option_Suggest_imports_for_types_in_reference_assemblies As String =
BasicVSResources.Suggest_imports_for_types_in_reference_assemblies
Public ReadOnly Property Option_Suggest_imports_for_types_in_NuGet_packages As String =
BasicVSResources.Suggest_imports_for_types_in_NuGet_packages
Public ReadOnly Property Option_Regular_Expressions As String =
ServicesVSResources.Regular_Expressions
Public ReadOnly Property Option_Colorize_regular_expressions As String =
ServicesVSResources.Colorize_regular_expressions
Public ReadOnly Property Option_Report_invalid_regular_expressions As String =
ServicesVSResources.Report_invalid_regular_expressions
Public ReadOnly Property Option_Suggest_imports_for_types_in_reference_assemblies As String
Get
Return BasicVSResources.Suggest_imports_for_types_in_reference_assemblies
End Get
End Property
Public ReadOnly Property Option_Highlight_related_components_under_cursor As String =
ServicesVSResources.Highlight_related_components_under_cursor
Public ReadOnly Property Option_Suggest_imports_for_types_in_NuGet_packages As String
Get
Return BasicVSResources.Suggest_imports_for_types_in_NuGet_packages
End Get
End Property
End Module
End Namespace
......@@ -262,16 +262,16 @@
<target state="translated">Preferovat „Is Nothing“ před „Object.ReferenceEquals(..., Nothing)“</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="translated">Oznamovat neplatné zástupné symboly ve voláních „String.Format“</target>
<note />
</trans-unit>
<trans-unit id="Separate_import_directive_groups">
<source>Separate import directive groups</source>
<target state="translated">Oddělovat skupiny direktiv import</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="new">Report invalid placeholders in 'String.Format' calls</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -262,16 +262,16 @@
<target state="translated">"Is Nothing" gegenüber "Object.ReferenceEquals(..., Nothing)" bevorzugen</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="translated">Ungültige Platzhalter in String.Format-Aufrufen melden</target>
<note />
</trans-unit>
<trans-unit id="Separate_import_directive_groups">
<source>Separate import directive groups</source>
<target state="translated">Import-Anweisungsgruppen trennen</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="new">Report invalid placeholders in 'String.Format' calls</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -262,16 +262,16 @@
<target state="translated">Preferir "Is Nothing" a "Object.ReferenceEquals(..., Nothing)"</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="translated">Informar sobre marcadores de posición no válidos en llamadas a "String.Format"</target>
<note />
</trans-unit>
<trans-unit id="Separate_import_directive_groups">
<source>Separate import directive groups</source>
<target state="translated">Separar grupos de directivas import</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="new">Report invalid placeholders in 'String.Format' calls</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -262,16 +262,16 @@
<target state="translated">Préférer 'Is Nothing' à 'Object.ReferenceEquals(..., Nothing)'</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="translated">Signaler les espaces réservés non valides dans les appels de 'String.Format'</target>
<note />
</trans-unit>
<trans-unit id="Separate_import_directive_groups">
<source>Separate import directive groups</source>
<target state="translated">Séparer les groupes de directives import</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="new">Report invalid placeholders in 'String.Format' calls</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -262,16 +262,16 @@
<target state="translated">Preferisci 'Is Nothing' a 'Object.ReferenceEquals(..., Nothing)'</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="translated">Segnala segnaposto non validi in chiamate 'String.Format'</target>
<note />
</trans-unit>
<trans-unit id="Separate_import_directive_groups">
<source>Separate import directive groups</source>
<target state="translated">Separa gruppi di direttive import</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="new">Report invalid placeholders in 'String.Format' calls</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -262,16 +262,16 @@
<target state="translated">Object.ReferenceEquals(..., Nothing)' より 'Is Nothing' を優先します</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="translated">String.Format' の呼び出しで無効なプレース ホルダーをレポートします</target>
<note />
</trans-unit>
<trans-unit id="Separate_import_directive_groups">
<source>Separate import directive groups</source>
<target state="translated">インポート ディレクティブのグループを分離します</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="new">Report invalid placeholders in 'String.Format' calls</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -262,16 +262,16 @@
<target state="translated">Object.ReferenceEquals(..., Nothing)'보다 'Is Nothing' 선호</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="translated">String.Format' 호출에서 잘못된 자리 표시자 보고</target>
<note />
</trans-unit>
<trans-unit id="Separate_import_directive_groups">
<source>Separate import directive groups</source>
<target state="translated">import 지시문 그룹 구분</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="new">Report invalid placeholders in 'String.Format' calls</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -262,16 +262,16 @@
<target state="translated">Preferuj „Is Nothing” zamiast „Object.ReferenceEquals(..., Nothing)”</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="translated">Zgłaszaj nieprawidłowe symbole zastępcze w wywołaniach metody „String.Format”</target>
<note />
</trans-unit>
<trans-unit id="Separate_import_directive_groups">
<source>Separate import directive groups</source>
<target state="translated">Oddziel grupy dyrektywy import</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="new">Report invalid placeholders in 'String.Format' calls</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -262,16 +262,16 @@
<target state="translated">Prefira usar 'Is Nothing' em vez de ' Object.ReferenceEquals(..., Nothing)'</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="translated">Relatar espaços reservados inválidos em chamadas 'String.Format'</target>
<note />
</trans-unit>
<trans-unit id="Separate_import_directive_groups">
<source>Separate import directive groups</source>
<target state="translated">Separar grupos de diretiva de importação</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="new">Report invalid placeholders in 'String.Format' calls</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -262,16 +262,16 @@
<target state="translated">Предпочитать "Is Nothing" методу "Object.ReferenceEquals(..., Nothing)"</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="translated">Сообщать о недопустимых заполнителях в вызовах "String.Format"</target>
<note />
</trans-unit>
<trans-unit id="Separate_import_directive_groups">
<source>Separate import directive groups</source>
<target state="translated">Разделять группы директив import</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="new">Report invalid placeholders in 'String.Format' calls</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -262,16 +262,16 @@
<target state="translated">Object.ReferenceEquals(..., Nothing)' yerine 'Is Nothing' tercih et</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="translated">String.Format' çağrılarındaki geçersiz yer tutucuları bildir</target>
<note />
</trans-unit>
<trans-unit id="Separate_import_directive_groups">
<source>Separate import directive groups</source>
<target state="translated">İçeri aktarma yönerge gruplarını ayır</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="new">Report invalid placeholders in 'String.Format' calls</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -262,16 +262,16 @@
<target state="translated">首选 "Is Nothing" 而非 "Object.ReferenceEquals(..., Nothing)"</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="translated">报告 "String.Format" 调用中无效的占位符</target>
<note />
</trans-unit>
<trans-unit id="Separate_import_directive_groups">
<source>Separate import directive groups</source>
<target state="translated">单独的导入指令组</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="new">Report invalid placeholders in 'String.Format' calls</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -262,16 +262,16 @@
<target state="translated">使用 'Is Nothing' 優先於 'Object.ReferenceEquals(..., Nothing)'</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="translated">報告 'String.Format' 呼叫中無效的預留位置</target>
<note />
</trans-unit>
<trans-unit id="Separate_import_directive_groups">
<source>Separate import directive groups</source>
<target state="translated">分隔匯入指示詞群組</target>
<note />
</trans-unit>
<trans-unit id="Report_invalid_placeholders_in_string_dot_format_calls">
<source>Report invalid placeholders in 'String.Format' calls</source>
<target state="new">Report invalid placeholders in 'String.Format' calls</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册