Skip to main content

Wrapper for "make", creating VSCode hyperlinks

Project description

vmake

This is a small wrapper for make, which captures gcc output and transforms errors/warnings to hyperlinks that open the Visual Studio Code editor for the referenced files at the respective locations.

It takes advantage of OSC8 escape sequence for hyperlinks and the VSCode URL handler.

Why not just use the VSCode terminal?

The VSCode terminal is bound to a VSCode instance, and VSCode doesn't support multi-monitor operation - so it is not possible to edit source files on one monitor and run the build on a second monitor with direct links from compiler messages to the editor.

TODOs / caveats

tmux doesn't support hyperlinks and requires special escape sequences to "passthrough" such things to the terminal emulator.

Unfortunately, the "passthrough" mechanism in tmux does not work reliably, so the only solution ATM is a patched version of tmux with native support for hyperlinks.

Prerequisites

Example

Example

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vmake-0.1.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

vmake-0.1.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file vmake-0.1.2.tar.gz.

File metadata

  • Download URL: vmake-0.1.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for vmake-0.1.2.tar.gz
Algorithm Hash digest
SHA256 283b672b8d6aa9731328be62fcb0ca742c98fab5cc4270d9c4e84830f0978ac5
MD5 1827bf16d585bddeed282badb4a400a8
BLAKE2b-256 a92a5d4cbbc8714a6db5b2f2060b8014a128a909e592b1a823fa1ca81bff5cfc

See more details on using hashes here.

File details

Details for the file vmake-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: vmake-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for vmake-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 58132b3550dbf06c5c9a8e4c51a501ed8b2c29da41e84b1c00e8b00e0475f9aa
MD5 57ca891c3198851bf14922f3a8ca701a
BLAKE2b-256 e0fbb71d3ad7d1af335fdf954fa47a3c6af14ee550bc3f46008076adc1ac1a15

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page