Skip to main navigation Skip to search Skip to main content

CoCoCoLa: Code Completion Control Language

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

2 Downloads (Pure)

Abstract

In software development, the efficiency and accuracy of code completion systems are crucial for productivity and codebase discovery. From simple spell checkers to advanced AI-powered tools, there are more ways to complete your code than ever. This results in an explosion in the number of possible valid proposals, especially when working with today's increasingly large codebases. Over the years, a lot of effort has been put into developing effective ranking systems to prioritise proposals with more potential. Yet developers still often struggle with an overwhelming number of suggestions, leading to reduced productivity and increased cognitive load. In this paper, instead of just performing completion by name, we propose CoCoCoLa - an alternative approach to give back the control over the presented proposals to the developer. By investigating the recorded code completion events, frequencies of desirable code elements' properties were calculated to identify useful control factors. To avoid adding further complexity to the completion process, we propose a simple language, defined within the boundary of a valid identifier of the 50+ most popular software languages in 2024. This language allows developers to specify and filter for desired properties of the proposals.

Original languageEnglish
Title of host publicationGPCE 2025
Subtitle of host publicationProceedings of the 24th ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences
EditorsAmir Shaikhha, Sebastian Erdweg, Nada Amin
Place of PublicationNew York, NY
PublisherAssociation for Computing Machinery, Inc
Pages1-12
Number of pages12
ISBN (Electronic)979-8-4007-1995-0
DOIs
Publication statusPublished - 27 Jun 2025
Event24th ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences, GPCE 2025 - Western Norway University of Applied Sciences, Bergen, Norway
Duration: 3 Jul 20254 Jul 2025
Conference number: 24
https://2025.ecoop.org/home/gpce-2025

Conference

Conference24th ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences, GPCE 2025
Abbreviated titleGPCE 2025
Country/TerritoryNorway
CityBergen
Period3/07/254/07/25
Internet address

Keywords

  • Ccode completion
  • Code completion control
  • Code completion filtering
  • Domain-specific language
  • DSL

Fingerprint

Dive into the research topics of 'CoCoCoLa: Code Completion Control Language'. Together they form a unique fingerprint.

Cite this