Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6134175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:19:21+00:00 2026-05-23T17:19:21+00:00

I find a lot of the time when I am coding if statements, if

  • 0

I find a lot of the time when I am coding if statements, if I alter them to have an if become an if && || instead, I’ll end up with indents all over the place. Some will be tabbed once, some tabbed twice, turning back to once and back to twice sometimes – depending on how many changes I have done.

I was curious if there was a key that would auto format indents so my code would look like it was properly indented again. Thanks a lot for any answers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T17:19:22+00:00Added an answer on May 23, 2026 at 5:19 pm

    The default shortcut key to auto-format code in Visual Studio is Ctrl + E, D

    Other environment settings might also have it configured as Ctrl + K, Ctrl + D

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have spent a LOT of time browsing the web to find a solution
I spent a lot of time to find out why my app crashed. My
I find that if there are a lot of classes the compilation time is
I have an application (NOT MY Coding) which have a lot of crystal reports.
I've spent a lot of time trying to find out what is wrong, but
I find that a lot of the time, OpenGL will show you it failed
I waste a lot of time between Vim and Python. I find it too
I have spent a lot of time researching this, but perhaps someone point me
I find I waste a lot of time closing and reopening sets of files
I have spent a lot of time looking for a solution, but could not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.