Home  >  Q&A  >  body text

How to format and paste visual studio code?

Is there a formatted paste function similar to sublime ctrl sfhit v or intellij on vs code? When pasting a piece of code, there is no way to automatically indent it, which is very troublesome. I searched around and couldn't find anything similar. Shortcut keys

天蓬老师天蓬老师2711 days ago1458

reply all(4)I'll reply

  • 世界只因有你

    世界只因有你2017-05-19 10:29:18

    Paste and Indent
    Sure enough, I still have to ask on stackoverflow. Don’t you have such confusion? I switched from sublime to vs. This is the biggest problem I encountered.

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-19 10:29:18

    Format code? ? Is this what you're talking about? ? This comes with it. If you want to install other plug-ins, Crtl + Shift + x opens the plug-in list

    reply
    0
  • PHP中文网

    PHP中文网2017-05-19 10:29:18

    vscode extension: Copy With Syntax Highlight

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-19 10:29:18

    .....Isn’t it okay to format it after pasting?

    reply
    0
  • Cancelreply