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.0.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

vmake-0.1.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

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