FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour AutoCode and AI
Posts: 7020
Joined: Fri Oct 07, 2005 07:07 PM

AutoCode and AI

Posted: Fri Jun 05, 2026 09:02 AM

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

Posts: 0
Joined: Wed Aug 26, 2026 09:41 AM

Re: AutoCode and AI

Posted: Thu Aug 27, 2026 01:49 PM

¡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<Tab>, tc<Tab>, wo<Tab>).

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.

Posts: 8716
Joined: Tue Dec 20, 2005 07:36 PM

Re: AutoCode and AI

Posted: Thu Aug 27, 2026 02:02 PM

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

Continue the discussion