What is the short cut to extract strings from Android code into the strings.xml file in Intellij?

后端 未结 4 650
故里飘歌
故里飘歌 2021-02-03 18:01

In Eclipse I used to use a combination (first press Shift + Alt + A, then press S) to extract strings into strings.xml b

4条回答
  •  心在旅途
    2021-02-03 18:21

    Doing the same thing.

    Paramasivam Vijay Anand Had it right.

    Android Studio 2.2.3 you can go to help and turn on the Extract string resource. However, Alt+enter does not extract the resource when clicking the text in the Design tab, it works for me when I clicked to the Activity_main and then selected the text there. Quotes didn't seem to matter.

提交回复
热议问题