David Rogers
07/29/2022, 3:11 PMfunction openInEditorURL(
required template,
required line,
editor = "vscode"
){
switch ( arguments.editor ) {
case "vscode":
return "<vscode://file/#arguments.template#:#arguments.line#>";
is there a way to remap template
, e.g. from /dev-container-root/app/*
to /host-machine/actual-root/*
(assuming * is consistent between the two, there's just a different prefix)bdw429s
07/29/2022, 3:50 PMlmajano
07/29/2022, 6:03 PMlmajano
07/29/2022, 6:03 PMDavid Rogers
07/29/2022, 6:59 PM(string s) => string
or maybe lucee should write it into class files (with a boot option to remap based on a glob or regex) and it's just picked out of the class file
low priority request!