[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4] startup: add support for <file>:<line> format
From: |
Benjamin Valentin |
Subject: |
[PATCH v4] startup: add support for <file>:<line> format |
Date: |
Thu, 2 Mar 2023 15:17:47 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:111.0) Gecko/20100101 Thunderbird/111.0 |
Many development tools (e.g. GCC, addr2line, grep -n, assert/log messages)
will output files with line numbers in the format <file>:<line>:<column>.
Support this format in addition to the +<line>,<column> format when
opening files.
This makes it much easier to copy the file name from a compile error or
failed assertion into a nano command line an open the file at the right
place as it can be done with e.g. Sublime Text, VSCode or Geany.
v4: Squashed two bugs - thank you for spotting those!
Best,
Benjamin
0001-startup-add-support-for-file-line-format.patch
Description: Text Data
- [PATCH v4] startup: add support for <file>:<line> format,
Benjamin Valentin <=