Tutorials
This video gives a good introduction to the workflow. (The screen layout changed a little since the video was made.)
Develop and run a Python app
If you don't have Python see "Setup Python" below.
In Click-Coder: File | Create New Project.
Make sure the drop list at the bottom right of Click-Coder shows CC-Sonnet.
In the Request box type something like "In Python write an app to <describe what you want your program to do>. Use Main.py for the main part of the program."
SEND Click toolbar button Send and wait for the result.
Click toolbar Right Arrow button to see the first section of code written.
Click the Down Arrow button to approve saving the code.
Repeat the two prior steps until it shows "All changes have been shown".
Click the Run button to test the app.
If you get an error, copy and paste the error into the Request box and loop back to SEND.
If the program is starting to work but you want to change something, say what you want to change in the Request box and loop back to SEND.
Setup Python
To install Python go to https://www.python.org/ and specify to include Python in the "environment variables".
If you have Python installed make sure the path to Python is setup in the Windows environment variables: Start menu | Environment Variables | button Environment Variables | System Variables | Path | Edit | New | enter path such as "C:\Program Files\Python311\" depending on it's location and version | OK | OK | OK.
Modify an existing code base in any language
In Click-Coder use File | Open Folder and select the root of your code base.
Make sure the drop list at the bottom right shows CC-Sonnet.
In the Request box type something like "Add a feature to ___."
Enable the checkbox next to files that the LLM needs to see or change. Or click the Suggest button.
SEND Click toolbar button Send and wait for the result.
Click Right Arrow to see the first section of code written.
If you think the code looks OK click the Down arrow button the save the code.
Repeat the last two steps until it shows "All changes have been shown".
Use your favorite IDE to run the program.
If you get an error copy and paste the error into the Request box and loop back to SEND.
Resolve an error
Copy and paste the error into the Request box.
Click toolbar button Send and wait for the result.
Click Right Arrow to see the first section of code written.
If you think the code looks OK click the Down arrow button the save the code.
Repeat the last two steps until it shows "All changes have been shown".
Important Tips
Snapshot
As soon as you get your app working, use File | Version | Snapshot to create a copy of the working program. If you skip this step and make additional changes that lead to errors you will not easily be able to go back to the working version. If you are using Click-Coder with an IDE you can use GIT to save your code.
Iterate
Don't be surprised if you have to make multiple attempts to solve a problem or get a feature right. Often goals are met on one or two tries but sometimes it can take up to 10 or even more. Help the LLM by improving prompts, giving your tips and ideas, etc. LLMs are getting better and better but they still have a way to go.
More tips
Click here.
Develop a spreadsheet macro
In Click-Coder: File | Create New Project.
In the Request box type "Please create a file MyMacro.txt for a Google (or Excel) spreadsheet. The purpose of the macro is to __________ .
SEND Click toolbar button Send and wait for the result.
Click Right Arrow to see the first section of code written.
If you think the code looks OK click the Down arrow button the save the code.
Repeat the last two steps until it shows "All changes have been shown".
Click on MyMacro.txt in the file tree to show the result in the Workspace.
Copy the macro from the Workspace into your spreadsheet and test.
If you need something changed, explain it in the Request box and loop back to SEND.