https://bugzilla.novell.com/show_bug.cgi?id=646935

https://bugzilla.novell.com/show_bug.cgi?id=646935#c0


           Summary: Resource.Designer.cs Enhancements
    Classification: Mono
           Product: MonoDroid
           Version: SVN
          Platform: Other
        OS/Version: Windows 7
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: Tools
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64;
Trident/5.0)

The auto-generated resources file could be made more C#/.Net-ish; as well as
more helpful.

Reproducible: Always

Steps to Reproduce:
1. Create a MonoDroid project.
2. Inspect or use Resource.Designer.cs.
Actual Results:  
Names such as attr, layout, @string (which is annoying to type) are used.
Identifiers used in the XML are not normalized to .Net standards.

Expected Results:  
1. Names such as Attributes, Layouts, Strings, Identifiers for types.
2. Normalize XML resource names (I hacked together some code
http://pastie.org/1222986)
3. DocComments would be helpful. Especially in terms of the Strings (include
the actual value like the ResX file generator does).
4. Auto-subclass Activity for layouts and provide the boilerplate code (see
http://pastie.org/1222999).

More on point 4. If a new namespace the Resources code could be further
enhanced to wire up events automagically. http://pastie.org/1223007

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to