The automation of the creation of classes, files, documentation, or anything else for which manual creation is costly.
Questions tagged [auto-generate]
654 questions
4
votes
2 answers
Xcode 4.2 — add derived files to project
I'm using bison parser generator in my Xcode 4 project. I've written custom build rule for generating C++-source file from *.y grammar…

UncleAli
- 495
- 1
- 5
- 13
4
votes
1 answer
How libtool custom script is generated by configure?
I'm quite new to libtool stuff. I have a problem that building my project requires libtool 1.5, but the default libtool on my system (debian, squeeze) is 2.2.
What I did is I've installed libtool 1.5 from source, and put it into /usr/local. My PATH…

Vyacheslav
- 1,186
- 2
- 15
- 29
4
votes
4 answers
how to create random folder names 12 characters long in .NET
I would like to create random folder names on my website to store images and their thumbnails, but instead of using the full version of a generated guid, i was thinking about using just part of it, maybe just the first 8 characters and possibly…

ak3nat0n
- 6,060
- 6
- 36
- 59
4
votes
5 answers
Generate C# Class Code for Table in Visual Studio
I have multiple tables in my Server Explore database file. I want to generate auto code of Classes for tables, so all classes with their attributes, constructor and getter setter methods automatically generate.
Kindly tell me steps to do so.

m3nhaq
- 59
- 1
- 1
- 5
4
votes
1 answer
Apache Camel mail to identify auto generated messages
I'm looking for a way to identify auto generated messages like Outlook's "Out of office" replies.
I stumbled upon a header called "Auto-submitted" that's supposed to do the trick, but Camel doesn't seems to provide this header in the "Message"…

refaelos
- 7,927
- 7
- 36
- 55
4
votes
0 answers
C# generated client from swagger not working because of date implementation
I have a swagger definition which is already finalized so I am not able to alter attributes or propose changes.
This swagger file has various date definitions like this:
fromDate:
description: |
- en - fromDate.....
type: string
format:…

Marc Wittmann
- 2,286
- 2
- 28
- 41
4
votes
1 answer
How do I get rid of XXX Auto-generated method stub
I'm using an application called Eclipse to write java codes. So whenever I create a "New Class", it creates this comment.
"XXX Auto-generated method stub"
This is starting to become very annoying for me to have to delete this every time I start…

Azazel
- 573
- 3
- 10
- 23
4
votes
4 answers
Is there a Visual Studio Code extension that will write cucumber step definitions?
Is there a Visual Studio Code extension that will write cucumber step definitions?
For example, with IntelliJ if I type
When I login as "fred" with password "barney"
into a feature, then press alt-enter on the undefined step, IntelliJ will…

Zack
- 6,232
- 8
- 38
- 68
4
votes
3 answers
What is the best way to add attributes to auto-generated entities (using VS2010 and EF4)
ASP.NET MVC2 has strong support for using attributes on entities (validation, and extending Html helper class and more).
If I generated my Model from the Database using VS2010 EF4 Entity Data Model (edmx and it's cs class), And I want to add…

Dani
- 14,639
- 11
- 62
- 110
4
votes
2 answers
Generate Java Code that populates all fields from a JSON file
The reason for this is in my Selenium tests, I am mocking the REST services to return POJOs with hardcoded values, which represents my dummy data. One of the pages requires a list of objects who has heaps of fields and children Java objects (think…

Carlos Jaime C. De Leon
- 2,476
- 2
- 37
- 53
4
votes
3 answers
Solution fails to build w/ missing auto-generated .g.cs file for the first time, succeeds on second build
I'm building a WPF app w/ Visual Studio 2015 (Update 3), and—at least by now, I'm not sure for how long this has been the case—every time I make a change and compile, I'll get a failed build w/ the error
6>CSC : error CS2001: Source file…

Johann Studanski
- 1,023
- 12
- 19
4
votes
1 answer
Trying to insert ID and getting "cannot accept a NULL value"
I am trying to insert record in Derby database with auto generated key and I am getting this error:
Exception in thread "main" java.sql.SQLIntegrityConstraintViolationException: Column 'CUSTOMERID' cannot accept a NULL value.
at…

Jan444444
- 43
- 1
- 7
4
votes
4 answers
.NET Generate Sequence Diagrams From Running Code
Is there a tool that can generate sequence diagrams from running .NET code?

Ben Aston
- 53,718
- 65
- 205
- 331
4
votes
2 answers
Python: How to solve the issue : 'badly formed hexadecimal UUID string' in Django
I have created 'post' model in which I included 'post_id' as the primary key field. When I am trying to create a post, it is raising an error: 'badly formed hexadecimal UUID string'. I would appreciate helping me in solve this.
Here's my…

sumanth
- 751
- 2
- 15
- 34
4
votes
1 answer
Auto generate random long in IntelliJ Live Template
How do I auto generate an arbitrary number (Long) for use in a Live Template in IntelliJ?
Example:
public static final long uid = $randomLong$;
where randomLong is replaced with a random long value. I have tried adding the following as an…

travega
- 8,284
- 16
- 63
- 91