• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

210
Views
What do I press to autocomplete the "-------" in console.log() and add a duplicate line?

Starting at 2:15 in the below vscode tutorial video, he types "console.log(", then I am assuming he presses a button that autocomplete the entry to "console.log("------------------"); which duplicates below.

When I type "console.log(" no autocomplete options appear. Additionally, even if I duplicate his code manually as below:

console.log("-------------------");
console.log("Rise & Shine!");
console.log("Ready for a new day!");
console.log("-------------------");

And press F5, a new window pops open titled "[Extension Development Host] settings.json - Visual Studio Code and returns the following code:

{
    "workbench.colorTheme": "Default High Contrast",
    "workbench.startupEditor": "none",
    "files.autoSave": "afterDelay",
    "explorer.confirmDelete": false
}

https://www.youtube.com/watch?v=B-s71n0dHUk&t=200s

Extensions installed: JavaSCript (ES6) code snippets Javascript Debugger Code Runner json npm intellisense

about 3 years ago · Santiago Gelvez
1 answers
Answer question

0

You can press option+shift+downarrow to copy a line below (alt+shift+arrow on windows)

To launch with F5, you need node.js installed on your system, with the corresponding extension in vs code.

about 3 years ago · Santiago Gelvez Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error