tchart Well-Known Member Licensed User Longtime User Jan 17, 2023 #1 As per title, if I have a multi-line smart string literal and add a placeholder any B4X keywords have their case changed. Watch the GIF image below, when the ${ is entered the text to the right is changed and "true" becomes "True", "then" becomes "Then" etc This has caught me out a few times and it would be good if this could be fixed in a future release.
As per title, if I have a multi-line smart string literal and add a placeholder any B4X keywords have their case changed. Watch the GIF image below, when the ${ is entered the text to the right is changed and "true" becomes "True", "then" becomes "Then" etc This has caught me out a few times and it would be good if this could be fixed in a future release.
Erel B4X founder Staff member Licensed User Longtime User Jan 17, 2023 #2 It will not happen if you let the IDE autocomplete the placeholder delimiters. It was created exactly to avoid such cases which are expected to happen.
It will not happen if you let the IDE autocomplete the placeholder delimiters. It was created exactly to avoid such cases which are expected to happen.
tchart Well-Known Member Licensed User Longtime User Jan 17, 2023 #3 Erel said: It will not happen if you let the IDE autocomplete the placeholder delimiters. It was created exactly to avoid such cases which are expected to happen. Click to expand... Thanks Erel, could you elaborate on how to do this? Ive probably missed some shortcut to do the placeholder delimeters From my tests it alters the text as soon as I type the first curly bracket ie ${ so I dont understand how autocomplete could get around the issue.
Erel said: It will not happen if you let the IDE autocomplete the placeholder delimiters. It was created exactly to avoid such cases which are expected to happen. Click to expand... Thanks Erel, could you elaborate on how to do this? Ive probably missed some shortcut to do the placeholder delimeters From my tests it alters the text as soon as I type the first curly bracket ie ${ so I dont understand how autocomplete could get around the issue.
Erel B4X founder Staff member Licensed User Longtime User Jan 17, 2023 #4 Type: $ -> it will open the autocomplete list -> down arrow -> enter.
tchart Well-Known Member Licensed User Longtime User Jan 17, 2023 #5 Oh I see, thanks Erel that does indeed work