Wiki: Embrace the power of a Sourcerer: Writing plugins and extensions for your favorite tools/ Liri Sokol
For agents: Markdown version · Wiki index · Explore
- Speaker:
- Event: Reversim Summit 2024
- Video: https://www.youtube.com/watch?v=ruAbh31MePo
- Transcript: /transcripts/2024/50-ruAbh31MePo.md
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: Productivity, JavaScript, Developer Experience, DevOps
Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.
Summary
The speaker explores how developers can solve everyday annoyances in tools like Jira, GitHub, Gmail, IDEs, and log viewers by writing their own plugins and extensions. Through five practical examples, the speaker demonstrates different approaches ranging from user scripts and browser extensions to IDE extension points. The main argument is that developers have the power to hack their workflow and improve their environment instead of just complaining. Attendees learn the core principles of extending software, including manifests, event listeners, and leveraging existing extension points.
Key points
- 1:14 The speaker introduces common developer grievances, such as accidental edits in Jira tickets and repetitive GitHub code review configurations.
- 3:22 The core concept of plugins is explained through the register, condition, invoke principle and the use of configuration manifests.
- 4:31 Browser user scripts and Tampermonkey are used to prevent unwanted click behaviors in Jira by overriding event listeners.
- 8:46 GitHub’s single-page application behavior requires mutation observers to reliably inject query parameters and hide whitespace changes.
- 12:15 A proper Chrome extension with a dedicated background script and storage is built to automatically add specific email addresses to CC in Gmail.
- 13:23 An IDE plugin for JetBrains Rider is developed using extension points to visually group C# interfaces and their implementation classes in the solution explorer.
- 21:14 VS Code is utilized to host a custom React-based web application for querying and reading complex Google Cloud logs natively.
Takeaways
- Identify repetitive workflow frustrations and evaluate if a simple script or plugin can automate them away.
- Understand the distinction between injecting quick user scripts via tools like Tampermonkey and building robust extensions with official manifests.
- Leverage existing extension points and open-source plugin templates provided by modern tools and IDEs to accelerate development.
Questions this talk answers
- How can I automatically modify the behavior of third-party web applications without having access to their source code?
- When should I use a simple browser user script versus a full browser extension?
- How do I find and utilize extension points in modern IDEs like JetBrains or VS Code?
Technologies
JavaScript, Chrome, Jira, GitHub, Gmail, C#, .NET, Java, Kotlin, IntelliJ IDEA, VS Code, React, Google Cloud
Tags
automation, browser extensions, developer tools, ide plugins, javascript, productivity