Skip to content

Commit 58d9b84

Browse files
Updates to language service
1 parent a8d13a8 commit 58d9b84

File tree

1 file changed

+0
-25
lines changed
  • src/toolkit/Community.VisualStudio.Toolkit.Shared/LanguageService

1 file changed

+0
-25
lines changed

src/toolkit/Community.VisualStudio.Toolkit.Shared/LanguageService/LanguageBase.cs

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -61,18 +61,6 @@ public LanguageBase(object site)
6161
/// </summary>
6262
public abstract string[] FileExtensions { get; }
6363

64-
/// <inheritdoc/>
65-
public override Source CreateSource(IVsTextLines buffer)
66-
{
67-
return new DefaultSource(this, buffer, new DefaultColorizer(this, buffer, null));
68-
}
69-
70-
/// <inheritdoc/>
71-
public override TypeAndMemberDropdownBars CreateDropDownHelper(IVsTextView forView)
72-
{
73-
return base.CreateDropDownHelper(forView);
74-
}
75-
7664
/// <summary>
7765
/// Set the default preferences for this language.
7866
/// </summary>
@@ -91,22 +79,9 @@ public override LanguagePreferences GetLanguagePreferences()
9179
return _preferences;
9280
}
9381

94-
/// <inheritdoc/>
95-
public override IScanner GetScanner(IVsTextLines buffer)
96-
{
97-
return null!;
98-
}
99-
100-
/// <inheritdoc/>
101-
public override AuthoringScope ParseSource(ParseRequest req)
102-
{
103-
return new DefaultAuthoringScope();
104-
}
105-
10682
/// <inheritdoc/>
10783
public override string GetFormatFilterList()
10884
{
109-
// Constructs a string similar to: Foo File (*.foo, *.bar)|*.foo;*.bar";
11085
IEnumerable<string> normalized = FileExtensions.Select(f => $"*{f}");
11186
string first = string.Join(", ", normalized);
11287
string second = string.Join(";", normalized);

0 commit comments

Comments
 (0)