cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bhalicki
Frequent Visitor

IDE Issues - When I hit tab, it inserts random text.

Getting very frustrated with the whole PowerApps platform.  This is a new one.  When I try and edit code, if I hit tab, it inserts random text.  The only solution is to reverse the changes, save and reopen PowerApps project and try again.

 

bhalicki_0-1603237833924.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
iAm_ManCat
Super User II
Super User II

Hi,

 

Tab by default inserts the intellisense suggested item.

 

If you are trying to 'tab' items to indent them, unfortunately you will have to re-adjust your way of thinking from existing IDE standards - I am also used to tabbing in VSCode and other IDEs, but in Power Apps if you want to do this you can use 
Ctrl+] or Ctrl+[ to indent that line in or out

 

Cheers,

Sancho

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


View solution in original post

3 REPLIES 3
iAm_ManCat
Super User II
Super User II

Hi,

 

Tab by default inserts the intellisense suggested item.

 

If you are trying to 'tab' items to indent them, unfortunately you will have to re-adjust your way of thinking from existing IDE standards - I am also used to tabbing in VSCode and other IDEs, but in Power Apps if you want to do this you can use 
Ctrl+] or Ctrl+[ to indent that line in or out

 

Cheers,

Sancho

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


View solution in original post

Hi Sancho,

 

Thanks for the tips, i'll try that next time.  The annoying thing is, sometimes tab seems to work, other times it inserts the intellisense.  Some consistency and alignment would be nice.

 

Kind regards,

 

Ben.

Yeah, agree its a bit of a pain,

 

Did a bit more experimenting and there's actually a somewhat illogical consistency to it - so the funny thing is that when the IDE can't properly interpret your code, i.e. a missing " somewhere or a random inserted character, then it allows tabbing because it can't figure out what intellisense item to insert.

 

So.. if you want to use tab to indent/outdent, insert a random character on a new line at the top of your code, like an 'a', then you can use tab on all of the code below it, then just remove the character after you're done 🤔

 

Cheers,

Sancho

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (31,066)