Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

142
Views
How to add a file path reference inside javascript comment?

Given the following code...

function foo() {
  // Look at "./image.png" for reference.
}

Is there a standard way to write "./image.png" so that when the text is clicked (or ctrl clicked) — using an IDE — the file image.png opens either in an external image editor or inside the IDE itself ?

I'm looking for a solution that works with Webstorm and VSCode.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Within the comment itself it is impossible since it is only text. However, most IDEs automatically handle that for you for ease of editing.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!