Code Completion Tools (CCTs) powered by Artificial Intelligence are being increasingly used by developers to improve their work performance. However, there is little guidance in the literature about how AI-driven CCTs should be designed to meet developers' expectations of how these systems work, i.e., their mental models. Based on the results of co-design workshops conducted with 56 participants, we formulate user-centered guidelines to design and develop the user interface of and user interaction with CCTs. These emphasize customization, adaptivity, and contextual relevance of code suggestions and explanations inside an AI-powered CCT. Following these design guidelines is expected to create CCTs that better align mental models of developers, resulting in more intuitive, trustworthy, and efficient CCTs.

Designing Human-Centered Code Completion Tools in the Age of Generative AI

Giueseppe Desolda;Andrea Esposito;Francesco Greco;Cesare Tucci;Paolo Buono;Antonio Piccinno
2025-01-01

Abstract

Code Completion Tools (CCTs) powered by Artificial Intelligence are being increasingly used by developers to improve their work performance. However, there is little guidance in the literature about how AI-driven CCTs should be designed to meet developers' expectations of how these systems work, i.e., their mental models. Based on the results of co-design workshops conducted with 56 participants, we formulate user-centered guidelines to design and develop the user interface of and user interaction with CCTs. These emphasize customization, adaptivity, and contextual relevance of code suggestions and explanations inside an AI-powered CCT. Following these design guidelines is expected to create CCTs that better align mental models of developers, resulting in more intuitive, trustworthy, and efficient CCTs.
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11586/563629
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact