Skip to content

Commit a32dcf7

Browse files
committed
F#支持现在默认为false; 移除旧的不再支持的配置选项(不再展示);
1 parent d40052c commit a32dcf7

File tree

3 files changed

+3
-35
lines changed

3 files changed

+3
-35
lines changed

src/Options/DictionaryManagePage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ private void ButtonAddDictionaryApplyCombination_Click(object sender, EventArgs
7575

7676
private void ButtonResetDictionaryApplyCombination_Click(object sender, EventArgs e)
7777
{
78-
if (MessageBox.Show("确定重置字典组合为默认值吗?", ChinesePinyinIntelliSenseExtenderPackage.PackageName, MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
78+
if (MessageBox.Show(this, "确定重置字典组合为默认值吗?", ChinesePinyinIntelliSenseExtenderPackage.PackageName, MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
7979
{
8080
Options.DictionaryCombinations.Clear();
8181
LoadDictionaryCombinationTree();

src/Options/Model/GeneralOptions.cs

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -54,31 +54,6 @@ internal class GeneralOptions : Options<GeneralOptions>
5454

5555
#endregion 字符映射
5656

57-
#region 字典
58-
59-
[Category("字典")]
60-
[DisplayName("自定附加义字典文件路径(已废弃,使用新的字典配置进行替代)")]
61-
[Description("字典文件每一行的格式:\"汉字 拼写\"(用制表符分隔开)。")]
62-
[DefaultValue(new string[0])]
63-
[Obsolete("使用单独的字典配置替代", true)]
64-
public string[] CustomAdditionalDictionaryPaths { get; internal set; } = Array.Empty<string>();
65-
66-
[Category("字典")]
67-
[DisplayName("启用内置的拼音字典(已废弃,使用新的字典配置进行替代)")]
68-
[Description("启用内置的拼音字典")]
69-
[DefaultValue(true)]
70-
[Obsolete("使用单独的字典配置替代", true)]
71-
public bool EnableBuiltInPinyinDic { get; internal set; } = true;
72-
73-
[Category("字典")]
74-
[DisplayName("启用内置的五笔86字典(已废弃,使用新的字典配置进行替代)")]
75-
[Description("启用内置的五笔86字典")]
76-
[DefaultValue(false)]
77-
[Obsolete("使用单独的字典配置替代", true)]
78-
public bool EnableBuiltInWubi86Dic { get; internal set; } = false;
79-
80-
#endregion 字典
81-
8257
#region 展示
8358

8459
[Category("展示")]
@@ -106,15 +81,8 @@ internal class GeneralOptions : Options<GeneralOptions>
10681
[Category("拓展")]
10782
[DisplayName("启用F#支持")]
10883
[Description("启用F#的额外支持")]
109-
[DefaultValue(true)]
110-
public bool EnableFSharpSupport { get; set; } = false;
111-
112-
[Category("拓展")]
113-
[DisplayName("启用内置的假名字典(已废弃,使用新的字典配置进行替代)")]
114-
[Description("启用内置的假名字典")]
11584
[DefaultValue(false)]
116-
[Obsolete("使用单独的字典配置替代", true)]
117-
public bool EnableBuiltInKanaDic { get; internal set; } = false;
85+
public bool EnableFSharpSupport { get; set; } = false;
11886

11987
#endregion 拓展
12088

src/source.extension.vsixmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
33
<Metadata>
4-
<Identity Id="ChinesePinyinIntelliSenseExtender.4293B766-9575-4472-B6F0-98BD86737E0D" Version="1.2.3" Language="en-US" Publisher="Stratos" />
4+
<Identity Id="ChinesePinyinIntelliSenseExtender.4293B766-9575-4472-B6F0-98BD86737E0D" Version="1.2.4" Language="en-US" Publisher="Stratos" />
55
<DisplayName>IntelliSense汉语拼音拓展</DisplayName>
66
<Description xml:space="preserve">汉语拼音的IntelliSense拓展。(支持基于 IAsyncCompletionSource 的完成,如: C#、JS等;支持自定义字符映射;)</Description>
77
<MoreInfo>https://github.com/stratosblue/chinesepinyinintellisenseextender</MoreInfo>

0 commit comments

Comments
 (0)