encounter / objdiff

A local diffing tool for decompilation projects
Apache License 2.0
122 stars 21 forks source link

"Open In Editor" Button #99

Closed NWPlayer123 closed 2 months ago

NWPlayer123 commented 2 months ago

It would be nice to be able to right click on a TU in the tree and have it open in whatever program supports the source file, assuming it's actually configured. This would save a lot of time navigating the filesystem if, for example, a specific TU errors when being built by objdiff and needs changes to make it compile.

From a quick glance, this would require editor-specific integrations, but VSCode at the very least supports a URI to open specific files, so it should theoretically be possible just with the root directory and the path to the source file?