The automation of the creation of classes, files, documentation, or anything else for which manual creation is costly.
Questions tagged [auto-generate]
654 questions
2
votes
1 answer
Unit test C-generating python code
I have a project which involves some (fairly simple) C-code generation as part of a build system. In essence, I have some version information associated with a project (embedded C) which I want to expose in my binary, so that I can easily determine…

Austin Glaser
- 352
- 1
- 12
2
votes
3 answers
Changing autogenerated code in a C# Windows Forms Application project
When you open a new C# Windows Forms Application project in Visual Studio 2008, you get a lot of autogenerated code (AssemblyInfo.cs, Resources.Designer.cs, Settings.Designer.cs, Form1.Designer.cs, Form1.resx, Program.cs).
Beside adding components…

matsolof
- 2,665
- 3
- 18
- 17
2
votes
0 answers
Any tools to document Java POJO transformer code?
I've inherited a project which essentially maps large documents from one structure to another. The source and target documents are POJOs, and there are a number of transformer classes that map the source POJO to the target by using the…

Brian Wainwright
- 21
- 2
2
votes
2 answers
How to bootstrap NAnt environment from an existing solution (.sln)
I have a Visual Studio 2005 solution (.sln) with a mix of .NET and C++ projects. What is the best way to generate the .build file I will need to run my build process with NAnt. I'm new to using NAnt, and I'm not sure how to set it up. Will I have to…

Ron Harlev
- 16,227
- 24
- 89
- 132
2
votes
2 answers
How to disable "Missing XML comment" warning for auto generated code in Windows Store app?
I get numerous compiler warnings CS1591 Missing XML comment for publicly visible type or member ... in my Universal Windows Store App project in VS2015 for auto generated code files, e.g.
App.g.cs
App.g.i.cs
SomePage.g.cs
SomePage.g.i.cs
I know of…

Gorgsenegger
- 7,356
- 4
- 51
- 89
2
votes
1 answer
make new sentence with a n-gram model using nltk
I made 2 and 3-gram models from my text file.
from nltk import *
text = open('Alice in Wonderland.txt', 'r').read()
table = string.maketrans('', '')
text = text.translate(table, string.punctuation)
tokens = word_tokenize(text.lower())
bigram =…

Mohammad Hassan Sohan Ajini
- 150
- 1
- 12
2
votes
3 answers
CoreData iOS - How to create unique ID for objects?
I have a project in IOS for iPhones and iPads and such. For the project I am using CoreData to hold the data the user feeds in the app. For ease of understanding lets say its like a contacts app. So basically you know you have your name, work, phone…

CoderJ
- 21
- 1
- 3
2
votes
2 answers
setting an id autogenerate into an object
Sorry if my post is duplicated or the tittle doesn't describe the topics, because I don't know how to describe this in the tittle, I look on internet, but I didn't find the solution.
I am using Java and JPA. The problem is the next :
I have a class…
user5344646
2
votes
1 answer
Autogenerated files and VC++ 2008 projects
all. I was wondering if there's a way to add Autogenerated files to a VC++ 2008 build. It seems like it's a fairly trivial thing to do if you write your own makefile, but I'd prefer to let visual studio construct a makefile from the project (like…

Rick Nelson
- 21
- 1
2
votes
2 answers
Generate Code in Visual Studio 2015 UML Class diagram is not working
I made a basic UML Class diagram of a class with two fields, a method, and a subclass with one field but when I hit generate code nothing happens. The console says it worked with no errors but when I look at the log it says "(Class): no file…

NecroTheif
- 284
- 1
- 2
- 12
2
votes
2 answers
Regenerate steps for scenarios in specflow
Is there a way i can "regenerate" steps for the scenarios in specflow.
Currently my feature file has steps which are already bound to it. I would like to generate steps again and write the code all over again without deleting my previous step…

AutomateFr33k
- 562
- 2
- 8
- 26
2
votes
3 answers
How reset database back to initial state in rails?
I am currently working on a ROR project. I had generated the scaffold for Notes and run the migrations for it. However now we had a little change of plans and I want to get the app back to the initial state. So I run rails scaffold destroy notes and…

vinibol12
- 468
- 4
- 21
2
votes
1 answer
Issues with getting uniqueidentifier auto generate in SQL on insert
I am trying to insert data from one table into another table. Table1 doesn't have a uniqueidentifier, but Table2 does. I have tried to insert using NEWID(), but I get a syntax error. Can someone please tell me what I am doing wrong?
INSERT INTO…

nate
- 1,418
- 5
- 34
- 73
2
votes
0 answers
Dynamically generate form inputs based on two models of data in ember
I'm currently trying to generate forms dynamically in Ember with Ember-data. The form fields required depend on the content type of the publishable being loaded when the route publishables/:publishable_id/edit is accessed.
Data…

tr3online
- 1,429
- 2
- 24
- 45
2
votes
1 answer
WiX: How to allow autogenerated ComponentGroup to autogenerate Guids
I used heat.exe to generate a .wxs file that lists all the files that I want to install. I told heat to put them in a ComponentGroup so I could reference them from another (hand-generated) .wxs file.
However, the autogenerated file specifications…

Eric
- 1,414
- 3
- 16
- 35