This is a migrated thread and some comments may be shown as answers.

Template Generation

7 Answers 100 Views
Code Templates
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 05 Jul 2010, 02:06 PM
Any chance\plans for a template generation window perhaps?...or learn template from a block of code?

Coding like this sucks :)
for (int $2=SUGGEST_INDEX_NAME()$ = 0; $2$ < $1=SELECT_VARIABLE([])$.Length; $2$++) 
$3=GET_ELEMENT_TYPE($1$)$ $4=SUGGEST_ELEMENT_NAME($1$)$ = $1$[$2$]; 




7 Answers, 1 is accepted

Sort by
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 05 Jul 2010, 02:07 PM
...is there documentation anywhere on template syntax?  Online docs don't seem to have it (or I cant find it)
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 05 Jul 2010, 02:22 PM
Sorry, one more thing

Can I get an "Alias" textbox above the edit template textbox so my listed templates have easier to read names?  (so then the listed template names would be overridden if an alias exists)

...or just alias them all
0
Tsviatko Yovtchev
Telerik team
answered on 14 Jul 2010, 01:45 PM
Hello Steve,

 I beg your pardon for the late reply.

You have very reasonable suggestions. Moreover, we are currently working on improving the templates so we could incorporate the features you suggest in the new functionality we implement. You should be able to monitor the progress of the issues I created based on your suggestions. 

Once again sorry about the delay.

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
0
Cori
Top achievements
Rank 2
answered on 07 Sep 2010, 03:44 PM
On one of the comments Steve made about the documentation on how to build the Code Templates. Have their been any plans on getting that done because it would be great to know the keywords available to create our Code Templates without having to check the pre-built ones and incorporating them into our own.
0
Tsviatko Yovtchev
Telerik team
answered on 08 Sep 2010, 08:54 AM
Hello Cori,

 Check out this blogpost http://blogs.telerik.com/justcodeteam/posts/10-09-06/justcode_code_templates.aspx .That should get you started just fine. 

Please, let me know if you have any further questions.

Regards,
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
0
Carlos
Top achievements
Rank 1
answered on 01 Jul 2014, 03:35 PM
I Know this is an old post, but can you update the link?.  Is broken,  
Thanks 
0
Borislav
Telerik team
answered on 03 Jul 2014, 07:56 AM
Hello Carlos,

I believe you are looking for this blog post:
http://blogs.telerik.com/justteam/posts/10-09-06/justcode-code-templates.aspx

Since then we've made several improvement in code templates such as assigning a scope to the template and introducing file templates. You can get more info about the templates from here.

If you have any questions, issues or thoughts about JustCode please don't hesitate to write us.

Regards,
Borislav
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Code Templates
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Tsviatko Yovtchev
Telerik team
Cori
Top achievements
Rank 2
Carlos
Top achievements
Rank 1
Borislav
Telerik team
Share this question
or