This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 149163 - "EmptyYAML.yml" under "Other" category should be "YAML File"
Summary: "EmptyYAML.yml" under "Other" category should be "YAML File"
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: YAML (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-05 02:57 UTC by Masaki Katakai
Modified: 2008-10-09 18:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2008-10-05 02:57:55 UTC
Now yaml file can be created from Ruby and Other categories from new File dialog.
However, under "Other" category, it displays "EmptyYAML.yml".

1. Create New Rails project
2. Try to create a new file
3. on new File dialog, under "Ruby" category, there is "YAML file" -> OK
4. Under "Other" category, there is "EmptyYAML.yml"

It's better to use the same "YAML File" file. "Templates/Other/EmptyYAML.yml"
needs to be added too.

diff -r ff02f2f6c3af languages.yaml/src/org/netbeans/modules/languages/yaml/Bundle.properties
--- a/languages.yaml/src/org/netbeans/modules/languages/yaml/Bundle.properties	Sat Oct 04 00:57:55 2008 +0000
+++ b/languages.yaml/src/org/netbeans/modules/languages/yaml/Bundle.properties	Sun Oct 05 10:35:54 2008 +0900
@@ -44,9 +44,10 @@
 
 Services/MIMEResolver/YAML.xml=YAML Files
 Templates/Ruby/EmptyYAML.yml=YAML File
+Templates/Other/EmptyYAML.yml=YAML File
 text/x-yaml=Yaml
Comment 1 Torbjorn Norbye 2008-10-09 18:41:37 UTC
Fixed - changeset 27ba8d46ba53