Skip to content

add substitution variable for line_number #212

@bigla

Description

@bigla

Goal

Open the source of a derived file when debugging derived files at exact same line. Because this makes this great tool even more flexible.

Explanation

I have some project generating derived files from source files with a different extension, without changing the file line numbers.

I'd love to be able to open the source file in an external editor passing the exact same line number where I am currently at (or where warnings and errors are indicating problems) using something along the lines of:
eclipse -name Eclipse --launcher.openFile ${easyshell:container_name}${easyshell:file_separator}${easyshell:resource_basename}.cu:${easyshell:resource_line_number}

Any occuring line breaks in above command not intended!

Example files:
derived file: myDerivedfile.cudato.cpp
source file: myDerivedfile.cu

Suggestion for a substitution variable name

${easyshell:resource_line_number}

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions