Closed FMCorz closed 3 months ago
Thanks for suggestion Fred, added in version 1.0.34 released 2024-09-01
Place the cursor anywhere on the get_string
call, and choose "Replace with new lang_string()" from the code actions (yellow lightbulb or Ctrl+. )
This is an extra step when you transform a text into a string but otherwise the replacement menu would have too many options. And also I thought that converting get_string to lang_string (and vice versa) is a useful action even when you do not transform text. Hope you agree :)
Thanks @marinaglancy!
I absolutely love the ability to select text and transform it to a new language string, or re-use an existing one. It would be fantastic if there was a choice between using a
get_string
call, ornew lang_string
call. The need forlang_string
became apparent to me when working with the report builder that requires them in quite a few places.Thanks!