Skip to content

A vscode extension to test Vencord/Replugged patches & webpack finds right from the comfort of your IDE

License

Notifications You must be signed in to change notification settings

sadan4/VencordCompanion

 
 

Repository files navigation

VencordCompanion

Vencord Companion is a vscode extension to test Vencord patches & webpack finds right from the comfort of your IDE

  • Adds "Test Find" on any webpack finds that will test whether your filter finds exactly one module (and not more or none)
  • Adds "Test Patch" on any patches you define in definePlugin() that will test that your find is unique and your match and replace works and compiles correctly

To use it you also need to compile Vencord with DEV (aka pnpm build --watch or pnpm buildWeb --watch) and enable the "DevCompanion" plugin. Then just start Discord

Download on the vscode marketplace

image

image

Dev Companion

Features

  • Testing Patches
  • Diffing Patches
  • Extracting Webpack Modules
    • From Patches
    • From Finds
  • Disable/Enable Plugin buttons above the definePlugin export
  • Automatically run the reporter and have a gui with with the results
  • Webpack LSP that lets you jump around extracted webpack files
  • See where exports from a webpack module are used
  • Cache discords modules locally

Images/Videos of the Features

Webpack LSP

2024-09-24_23-44-03.mp4

Reporter Gui

2024-08-29_20-26-50.mp4

Testing Patches

2024-08-29_20-12-55.mp4

Diffing Patches

Only works for patches that are currently applied and have not errored

Shows every patch to that webpack module, not just yours

2024-08-29_20-16-59.mp4

Extracting Webpack Modules

Use the toggle in the plugin setting to default to the extracted module or the unpatched module if the module is patched

2024-08-29_20-21-34.mp4

Disable/Enable Plugins

There is a plugin setting to set auto-reload after a plugin is toggled

2024-08-29_20-24-54.mp4

Module Cache

To enable the side bar, use the settings in vscode

2025-01-09_01-57-01.mp4

Jumping to References

2025-01-09_02-08-19.mp4

About

A vscode extension to test Vencord/Replugged patches & webpack finds right from the comfort of your IDE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.2%
  • JavaScript 4.6%
  • CSS 1.8%
  • HTML 0.4%