Using Linq causes major template problems

2 posts, 0 answers
  1. Steve
    Steve avatar
    19 posts
    Member since:
    Apr 2009

    Posted 30 Oct 2010 Link to this post

    I use a lot of Linq and with the latest changes in Templates it becomes nearly impossible to write Linq statements without having a template incorrectly popping up.

    I have attached an image of what the template ends up adding but here is what I have coded and the image shows what JustCode adds...

    var query =
        from e

    At this point I hit space after the e and it throws in the enum template where it just plain shouldn't be. This will happen for any of the template single character keys. What makes it worse is that I can't turn it off (another post already created for that). The templates need a lot of work.

    Steve
  2. Tsviatko Yovtchev
    Admin
    Tsviatko Yovtchev avatar
    408 posts

    Posted 01 Nov 2010 Link to this post

    Hello Steve,

     Clearly this is an unwanted behavior.  You ended up that way because you installed a succession of internal builds. Please, refer to your other post - http://www.telerik.com/community/forums/justcode/code-templates/template-generation-will-not-turn-off.aspx for a more detailed explanation and a solution of that problem.

    Sincerely yours,
    Tsviatko Yovtchev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top