• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Visual Studio Code – how to format javascript

Q&A Forum › Category: ESP32 › Visual Studio Code – how to format javascript
0 Vote Up Vote Down
Dave Hill asked 3 years ago

Is it possible to format javascript in Visual Studio Code?

5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
What do you mean by “format”?
Regards,
Sara

0 Vote Up Vote Down
Dave Hill answered 3 years ago

Hi, I am working through ‘Build Web Servers’ all going well, albeit still grappling with Visual Studio Code {VSC)
When I copy code across from the pdf (where it is indented), then I paste it into VSC it is all left justified. It is obviously easier to follow when indented, but a bit of a pain to have to do it manually.
For info I have justed started on ‘Web Server with Slider’
Thanks in advance for any help, Regards, Dave

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi Dave.
I don’t recommend copying the code from the PDF because the indentation and formatting will be messed up.
At the end of each project, there are links to download all required files for the projects, so you don’t have the code indentation messed up.
Alternatively, you can download all the code for the whole eBook on page 13.
I hope this helps.
Regards,
Sara

0 Vote Up Vote Down
Dave Hill answered 3 years ago

Thank you, that is a much better way

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

I’ll mark this issue as resolved.
If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

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.