I've been programming in Delphi for a little over two years now, and I've only got maybe 5 custom templates, I feel as though I should have more.
If anyone has any particularly useful ones it would be great to have a nice repository of them here on stackoverflow.
I don't care whether you use the Delphi 2009 syntax or Delphi 7, but if t...
I have this code template in Eclipse
@since ${date}
when entered i get something like this :
@since 4.8.2009
But when i add the same template (@since ${date}) to NetBeans
it outputs
@since date
Can someone help ?
No answer yet ? Is this not possible in Netbeans ???
...
Hi all,
I'd like to create some custom templates in MonoDevelop 2.0 (under Ubuntu) but am not finding the process as intuitive as I'd like. Does anyone know where in templates are stored? In what format?
Kindness,
Dan
...
Is anyone know how to set up a live template in intellij for doing specialized setters
- i'm using v5, but I accept with pleasure knowledge for a more recent release) -
My first need is a firePropertyChange setter:
public final static String $PROPERTY$ = "$property$"
public void set$Property$($TYPE$ $property$) {
Object oldValue ...
T4 is the "official" code generation engine for C#/VB.NET. But F# doesn't support it (this is from April, but I couldn't find any newer mentions). So what is a good way to generate F# code?
EDIT:
I want to implement 2-3 finger trees in F#. I already have implemented them in C#, so this should be a nice comparison. The "digits" and node...
i am once again having to cobble together a bit of XSLT into order to turn generated XML into (rather than simply generating HTML).
i'm having huge deja-vu this time again. i'm once again having to solve again basic problems, e.g.:
how to convert characters into valid html entity references
how to preserve whitespace/carriage returns...
Hi,
Is it possible to use reflection when we write a code-template?
I was just thinking if it is possible to write a piece of code-template that will return me a list of all private field in the class separated by && operator in Visual Stuudio?
Let's say, I will enter "getAllPrivates&&" (or press a shortcut key) in the VS editor and i...
I add the following preprocessor code in header files all the time.
#ifdef _HELLO_H_
#define _HELLO_H_
#endif
Is there a way to do this automatically (I mean, when I load the header file for the first time, the emacs just adds the code), or manually (I mean, I have some M-x SOMETHING)?
If none exists, how can I program the elisp co...
I am trying to edit the template of creating a new method. I want to do something like this:
throw new mypackage.UnimplementedException();
but I want to add my package to imports and not to declare it with full package on the method body. I tried using:
${:import(mypackage.UnimplementedException)}
but it doesn't work (works only i...
I have following code template in NB 6.9.1:
function ${functionName}($$${param})
{
${selection}${cursor}
} // end: ${functionName} ()
NB formats this to:
function testFuncName($param)
{
}
// end: testFuncName ()
NB keeps to push comment from last line two linebreaks lower than ending bracket, but i want to have it exactly in...
Hi,
Basically the documentation provided in the official web site is not helping me so much to understand how it works.
Can you recommend a step-by-step tutorial on developing C# Code Templates with MyGeneration?
Thanks
...