# Collection Literals in Kotlin

DevFeed: [Collection Literals in Kotlin](<https://devfeed.tech/articles/collection-literals-in-kotlin-39251.md>)

Original publisher: [Read original article](<https://kt.academy/article/collection-literals>)

Published: 2026-05-04T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Collections](<https://devfeed.tech/topics/collections.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [IntelliJ IDEA](<https://devfeed.tech/topics/intellij-idea.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>)

Tags: [collection](<https://devfeed.tech/tags/collection.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [feature](<https://devfeed.tech/tags/feature.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [intellij-idea](<https://devfeed.tech/tags/intellij-idea.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [new-feature](<https://devfeed.tech/tags/new-feature.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

## AI overview

This tutorial explains Kotlin collection literals, an experimental feature that uses square brackets to create lists, sets, and custom collections. It covers usage examples, compiler requirements, current IntelliJ IDEA limitations, and the expected future support.

## Source excerpt

The new feature in Kotlin that allows for concise and expressive collection creation.