%0 Thesis %9 Skripsi %A Akhmad Ikhsan Sayyid Al Haq, NIM.: 22106050045 %B FAKULTAS SAINS DAN TEKNOLOGI %D 2026 %F digilib:79629 %I UIN SUNAN KALIJAGA YOGYAKARTA %K Auto-Focus Switching, Visual Studio Code Extension, Github Copilot Chat, Log Monitoring, Win32 API, Applescript %P 90 %T RANCANG BANGUN EKSTENSI VISUAL STUDIO CODE UNTUK OTOMATISASI PENGEMBALIAN FOKUS PADA AI-ASSISTED PROGRAMMING %U https://digilib.uin-suka.ac.id/id/eprint/79629/ %X The use of artificial intelligence-based programming assistants such as GitHub Copilot Chat allows developers to switch to other applications while waiting for the AI response to finish processing. This condition requires developers to manually switch windows to return to Visual Studio Code once the response is available. This research aims to design and build a Visual Studio Code extension named copilot-focus that automates the window focus return after the GitHub Copilot Chat activity is completed. The extension development was conducted using the Extreme Programming (XP) methodology through three iterations. The constructed system consists of a periodic local log file monitoring mechanism, log data parsing using regular expressions, Copilot activity completion detection, and a platform-tailored focus return service utilizing the Win32 API on Windows and AppleScript via osascript on macOS. Supporting features such as visual notifications, audio notifications, and configuration settings were also implemented. Testing was conducted using the Black-Box Testing method based on four scenarios derived from the acceptance criteria, performed both internally and by involving 13 independent testers. The test results demonstrated a functional success rate of 92%, wherein the extension successfully returned the window focus without manual user intervention. The independent evaluation also validated the execution of a protective fallback mechanism (in the form of a blinking Taskbar icon on Windows) when the operating system blocked forced focus switching, and confirmed the necessity of manual accessibility permissions on macOS. Nevertheless, in some trials, a condition was found where log monitoring did not run immediately upon initial initialization, thus requiring an extension reload or restarting Visual Studio Code. %Z Ir. Maria Ulfah Siregar, S.Kom., MIT., Ph.D.