# "Extract string resource" intention action missing in kt code

**URL:** <https://discuss.kotlinlang.org/t/extract-string-resource-intention-action-missing-in-kt-code/1936>\
**Category:** Android\
**Created:** [August 28, 2016, 5:14am UTC](https://discuss.kotlinlang.org/t/extract-string-resource-intention-action-missing-in-kt-code/1936 "2016-08-28T05:14:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![harrypotter](https://avatars.discourse-cdn.com/v4/letter/h/ee7513/32.png) [@harrypotter](https://discuss.kotlinlang.org/u/harrypotter)\
**Post date:** [August 28, 2016, 5:14am UTC](https://discuss.kotlinlang.org/t/extract-string-resource-intention-action-missing-in-kt-code/1936/1 "2016-08-28T05:14:36Z")

</div>

Hi,

Quite easy to reproduce:  
class OMG {  
val shouldBeInResource = “blahblah”  
}

Pull up the intent actions, there is no “Extract string resource”  
While in Java file, seems like this action is available from any string literal, producing code like ‘.getString(…)’ and creating the String resource for me 🙂

---

<div class="post-metadata">

**Author:** ![yole](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/yole/32/1425_2.png) [@yole](https://discuss.kotlinlang.org/u/yole)\
**Post date:** [August 29, 2016, 10:15am UTC](https://discuss.kotlinlang.org/t/extract-string-resource-intention-action-missing-in-kt-code/1936/2 "2016-08-29T10:15:01Z")

</div>

This feature is indeed not implemented at this time. There is an [open feature request](https://youtrack.jetbrains.com/issue/KT-11715).

---

<div class="post-metadata">

**Author:** ![harrypotter](https://avatars.discourse-cdn.com/v4/letter/h/ee7513/32.png) [@harrypotter](https://discuss.kotlinlang.org/u/harrypotter)\
**Post date:** [August 30, 2016, 9:27am UTC](https://discuss.kotlinlang.org/t/extract-string-resource-intention-action-missing-in-kt-code/1936/3 "2016-08-30T09:27:21Z")

</div>

Thanks!
