A template for NSB/AppStudio projects, ready to use with Copilot
Once you have made a project of your own, in your own repo, using this template, replace the above with a descripion of your project. You may also want to change the LICENSE.
You can also replace the text below with information specific to your project when you no longer need it.
This repository is a starting-point template for NSB/AppStudio projects.
LICENSE- the license for this template, not necessarily the same as your license, which will be in youREADME.md- this document. Update it with general information for your own project.Project1,appstudio/Project1.project– AppStudio project file (JavaScript, one empty form)Project1.appstudio/forms/Form1/Form1.json– Form definition File for Form1Project1.appstudio/forms/Form1/Form1.js– JavaScript code file for Form1Project1.appstudio/properties– build option files for your project
- A GitHub account
- Github Desktop needs to be installed.
- To use Copilot, you need a Copilot subscription. The Pro plan is much more powerful than the free plan.
- Using the green Code button, click Download ZIP and unzip on your local system.
- Rename it what you want, like
test. - In GitHub Desktop, select New Repository from the File menu.
- Give it the same name (
test) and set the local path where you want it. - Click on Create Repository
- Copy the downloaded
testfolder over thetestfolder in the new repo. - GitHub Desktop should show all the files as changed.
- Add a name for the push, like “initial push”
- Publish repository
- Go to GitHub website. Your project should be there.
- Do the above steps to start a new project.
- Go to your project's folder. It should end in .appStudio
- Copy that folder into the cloned template folder
- Remove the .appstudio folder that was there before.
- Add a name for the push, like “initial push”
- Publish repository
- Go to GitHub website. Your project should be there.
- In your repo's home page, click on the Agents tab.
- Paste the following into the
Describe a coding task to work onprompt box, then click on the Start task button
Modify Form1 by adding a Bootstrap 5 button named Button1, labeled "Click Me".
When clicked, it should display a message box with "Hello World".
You can click on the action to watch it work. When complete, merge the changes into your project.
Important
When using Copilot to modify your code, make sure your project is not open in AppStudio. Your changes could be overwritten.