Clickable Links in Source

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andrew Davie

I just found out VSCodium (=VS Code) allows clickable links in source code.

I'm using this now (see https://woodgrain.taswegian.com/index.php?topic=436.0 ) to embed generated image files to show what caves look like.  Given a root folder of a project, with code in "main", and images in "cave_images", this is the format of the link I used in the source code (e.g., caveData.c living in main)...

    // file://./../cave_images/cave_P3_starsAndStripes.png

Note that omitting the ./ at the start of the path will cause the link to fail! Also several other more intuitive paths failed, too.  So, I posted this here so you don't have the same issues figuring this out that I did.