I have a regex that I have been using with Android gradle builds which is as follows…
{
“file_regex”: “^(…[^:]):([0-9]+):?([0-9]+)?:? (.)$”,
“cmd”: [“gradlew.bat” , “assembleDebug” ],
“working_dir”: “${project_path}/SomDir1/SomeDir2/SomeDir3”
}
When I use this same regex, to build a flutter android app, the jump to error feature doesn’t work.
This is because the java compiler was returning absolute paths to files. The dart compiler is returning a relative path.
Is there a way I can instruct sublime to open the file path returned by the regex, based on a relative root directory?