Top "Code-generation" questions

Topics related to the generation of code as the output of an application, instead of directly writing code by a programmer.

suppress warning for generated c# code

I have turned on "Treat warnings as errors" for my VS project which mean that I get errors for missing …

c# visual-studio code-generation suppress-warnings
XJC Generating Integer Instead of int

The following schema should be generating two primitive int fields in a Value class, but instead generates a primitive int …

xsd jaxb code-generation xjc
How can I add my attributes to Code-Generated Linq2Sql classes properties?

I would like to add attributes to Linq 2 Sql classes properties. Such as this Column is browsable in the UI …

c# linq-to-sql attributes code-generation
Any way to get TStringList.CommaText to not escape commas with quotes?

I'm doing some work with code generation, and one of the things I need to do is create a function …

delphi code-generation escaping tstringlist
Share Constants Between PHP and JavaScript

Possible Duplicate: Pass a PHP string to a Javascript variable (and escape newlines) I have several constants in a PHP …

php javascript code-generation dry
XSD tool appends "Specified" to certain properties/fields when generating C# code

I got a strange behaviour with the XSD generator I can't really explain. I got an XSD like this: <…

c# code-generation xsd.exe
Most portable library for dynamic code generation?

I'm looking for the most portable assembler library, like asmjit or jitasm. When I say 'most portable' I mean, that …

c++ assembly code-generation cpu-architecture machine-code
Using generated source or src-gen folder in Android Studio?

My project my directory looks like this: -project -someModule -mainProjectModule -src -main -java (all of my code) I am trying …

android-studio code-generation greendao generated-code
DTO Generator for EF 4 Entity model

Is it possible to write t4 template ( or if it already exists ) which will be able to generate DTO classes …

c# visual-studio code-generation t4 dto
Best design for generating code from an AST?

I'm working on a pretty complex DSL that I want to compile down into a few high level languages. The …

java code-generation abstract-syntax-tree dsl