cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
egallis
Level 10

Bug - Wrong auto code formatting

Hi PowerApps team,

Here is a little code formatting bug I have encountered recently when using the Format text button in the code editor...

This formats fine:

Image 5.png

But if you add a comment before the second operation of the 'true part' of the condition, then it formats this way:

Image 6.png

Just wanted to let you know so you can provide a fix.

See you around...

Emmanuel

1 ACCEPTED SOLUTION

Accepted Solutions
PowerApps Staff Mr-Dang-MSFT
PowerApps Staff

Re: Bug - Wrong auto code formatting

Hi @egallis, thanks for the heads up. I've communicated this to the right team. 👍

 

@TopShelf-MSFT 

3 REPLIES 3
Community Support Team
Community Support Team

Re: Bug - Wrong auto code formatting

Hi @egallis ,

Based on the needs that you mentioned, I have made a test, and the issue is confirmed on my side.

 

I think this issue may be related to Format Text functionality in Formula bar within PowerApps. If you would like this feature to be improved, please consider submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

As an alternative solution, you could also consider format your formula within the Formula bar manually.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
egallis
Level 10

Re: Bug - Wrong auto code formatting

Hi @v-xida-msft,

Thanks for your feedback... When using the Format Text feature, the code formatting should be correct in terms of indentation. But as you noticed, in some cases, it doesn't.

So, my point is: it is not a new idea, it is a bug.

How are real confirmed bugs handled by PowerApps team ? Are we supposed to create ideas for these bugs ? I wouldn't see the logic in this...

Waiting for your opinion on this... Smiley Happy

Emmanuel

PowerApps Staff Mr-Dang-MSFT
PowerApps Staff

Re: Bug - Wrong auto code formatting

Hi @egallis, thanks for the heads up. I've communicated this to the right team. 👍

 

@TopShelf-MSFT 

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 43 members 4,104 guests
Please welcome our newest community members: