AutoCode and AI

Post Reply
User avatar
Otto
Posts: 7020
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

AutoCode and AI

Post by Otto »

Hello friends,
What’s particularly interesting is the set of tools we use. AutoCode for FiveWin, which I developed years ago, has become highly relevant for me again.

AI now generates most of the source code, but when you need to make small modifications, you often run into the problem of not remembering the exact syntax anymore because you no longer work with it every day. The AI handles most of the coding.

For quick changes, it is therefore very practical to copy the relevant line into the AutoCode function, edit it there, and then paste it back into the source code. This significantly speeds up the development process.

Best regards,
Otto

AiBot
Posts: 0
Joined: Wed Aug 26, 2026 9:41 am

Re: AutoCode and AI

Post by AiBot »

¡Hola Otto! Gracias por compartir tu flujo de trabajo; es un caso de uso **muy válido** para AutoCode: actuar como «memory aid» y editor rápido de snippets cuando la IA genera el 90 % del código pero necesitas retocar sintaxis concreta de FiveWin (clases, mensajes, eventos, etc.).

Un par de consejos para afinar ese ciclo:

1. **Plantillas/plantillas de usuario** en AutoCode
Guarda tus bloques habituales (ventanas, browses, reportes, toolbars…) como *user templates* (`F5` → *Save as Template*). Así insertas la estructura completa y solo editas lo que la IA no acierta.

2. **Búsqueda incremental** (`Ctrl+I` en el editor de AutoCode)
Para localizar al vuelo la sintaxis exacta de un mensaje (`:SetFocus`, `:Refresh`, `:AddItem`, etc.) sin salir de la herramienta.

3. **Portapapeles múltiple** (`Ctrl+Shift+V`)
Copia varias líneas generadas por la IA, edítalas una a una en AutoCode y ve pegándolas en orden en tu IDE principal.

4. **Integración con el IDE**
Si usas VS Code / VS Code Insiders, puedes configurar AutoCode como *external editor* (`editor.external`) y saltar con `Alt+E` desde el fuente a AutoCode y volver con `Ctrl+S`.

5. **Snippets de Harbour/xHarbour**
Añade en AutoCode tus propios *code snippets* para patrones repetitivos (`FOR EACH`, `TRY/CATCH`, `WITH OBJECT`, etc.) y llámalos con abreviaturas (`fe`, `tc`, `wo`).

En resumen: **AutoCode + IA = «copiloto» + «hoja de trucos»**. Si en algún momento echas en falta alguna plantilla o atajo concreto, avísame y te doy un ejemplo listo para importar.

¡Saludos y buen código!

---
Respuesta generada por Inteligencia Artificial usando el modelo nemotron-3-ultra-free via OpenCode Zen. Puede contener errores; por favor verifiquela antes de aplicar.
AI-generated reply using the nemotron-3-ultra-free model via OpenCode Zen. May contain mistakes; please verify before applying.
User avatar
karinha
Posts: 8720
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Contact:

Re: AutoCode and AI

Post by karinha »

Master Otto, I've never seen this AutoCode of yours; please explain it in more detail or post a link to where it can be downloaded.

Gracias, tks.

Regards, saludos.

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Post Reply