MrKim Well-Known Member Licensed User Longtime User Sep 18, 2017 #1 I like to put simple. related code on one line, i.e. Code: Copy InfoLabel.Color = Colors.Blue: InfoLabel.textcolor = Colors.white The problem is when you insert the colon ( : ) intellisense stops working. Not a huge deal but if it is a simple fix it would be nice.
I like to put simple. related code on one line, i.e. Code: Copy InfoLabel.Color = Colors.Blue: InfoLabel.textcolor = Colors.white The problem is when you insert the colon ( : ) intellisense stops working. Not a huge deal but if it is a simple fix it would be nice.
Erel B4X founder Staff member Licensed User Longtime User Sep 18, 2017 #2 This is a known issue / limitation. Autocomplete will not work after the "new line colon". There are no plans to change it.
This is a known issue / limitation. Autocomplete will not work after the "new line colon". There are no plans to change it.
LucaMs Expert Licensed User Longtime User Sep 18, 2017 #3 (Another) Good reason to write one instruction per line
MrKim Well-Known Member Licensed User Longtime User Sep 18, 2017 #4 LucaMs said: (Another) Good reason to write one instruction per line Click to expand... There are good reasons for doing it. I find, when doing simple assignment statements like the one above it is much more readable if everything for each view is on the same line. Not so much when doing one view, but when doing several...
LucaMs said: (Another) Good reason to write one instruction per line Click to expand... There are good reasons for doing it. I find, when doing simple assignment statements like the one above it is much more readable if everything for each view is on the same line. Not so much when doing one view, but when doing several...
LucaMs Expert Licensed User Longtime User Sep 19, 2017 #5 MrKim said: There are good reasons for doing it. I find, when doing simple assignment statements like the one above it is much more readable if everything for each view is on the same line. Not so much when doing one view, but when doing several... Click to expand... In some cases, writing two instructions on a single line may be useful and more readable but generally it is better to have one instruction per line, even for software maintenance.
MrKim said: There are good reasons for doing it. I find, when doing simple assignment statements like the one above it is much more readable if everything for each view is on the same line. Not so much when doing one view, but when doing several... Click to expand... In some cases, writing two instructions on a single line may be useful and more readable but generally it is better to have one instruction per line, even for software maintenance.