Skip to content

Commit 4970541

Browse files
committed
Distro's should have custom default file extensions...
1 parent e7a9f41 commit 4970541

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

Distros/HaxeDevelop/PluginCore/PluginCore/DistroConfig.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public class DistroConfig
1313
public const String DISTRIBUTION_COPYRIGHT = "HaxeDevelop.org 2015-2016";
1414
public const String DISTRIBUTION_COMPANY = "HaxeDevelop.org";
1515
public const String DISTRIBUTION_RSS = "http://www.haxedevelop.org/rss.xml";
16+
public const String DISTRIBUTION_EXT = "hx";
1617
}
1718

1819
}

FlashDevelop/Settings/Accessors.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ public Int32 ScrollWidth
286286
set { this.scrollWidth = value; }
287287
}
288288

289-
[DefaultValue("as")]
289+
[DefaultValue(DistroConfig.DISTRIBUTION_EXT)]
290290
[DisplayName("Default File Extension")]
291291
[LocalizedCategory("FlashDevelop.Category.Editor")]
292292
[LocalizedDescription("FlashDevelop.Description.DefaultFileExtension")]

FlashDevelop/Settings/Properties.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public partial class SettingObject : ISettings
4040
private List<String> previousDocuments = new List<String>();
4141
private List<String> disabledPlugins = new List<String>();
4242
private String latestDialogPath = Application.StartupPath;
43-
private String defaultFileExtension = "as";
43+
private String defaultFileExtension = DistroConfig.DISTRIBUTION_EXT;
4444
private Boolean confirmOnExit = false;
4545
private Boolean keepIndentTabs = false;
4646
private Boolean disableFindOptionSync = false;

PluginCore/PluginCore/DistroConfig.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public class DistroConfig
1313
public const String DISTRIBUTION_COPYRIGHT = "FlashDevelop.org 2005-2016";
1414
public const String DISTRIBUTION_COMPANY = "FlashDevelop.org";
1515
public const String DISTRIBUTION_RSS = "http://www.flashdevelop.org/community/rss.php?f=15";
16+
public const String DISTRIBUTION_EXT = "as";
1617
}
1718

1819
}

0 commit comments

Comments
 (0)