hamoid / idea-thumbnails

An WIP IntelliJ Idea plugin for showing thumbnails representing each OPENRNDR .kt file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thumbnailer

Build Version Downloads

A plugin I use with the OPENRNDR template. It exists because I have over 200 small programs (Sketches, if you're a Processing user) and there's no way I can remember what I called each program. That's why I wrote this plugin to set a thumbnail for each .kt file so I can find them visually.

I wanted it to work even if I renamed or moved my files (which I very often do). That's why the plugin adds a comment to the top of the file with a unique ID. It also adds an empty description and tags which you can populate.

There is a filter box in the Thumnailer pane which searches file names, descriptions, tags and source code and shows found thumbnails instantly.

The thumbnails have two parts: the image on the left and the program name on the right. Double-clicking the image opens a larger preview pane. Double-clicking on the right side opens the program for editing.

Setting screenshots is simple: you can select a row in Thumbnailer and paste an image from the clipboard, or you can drag and drop an image to the desired row.

Important note

The plug-in edits your .kt files automatically! Back-up your computer before use. Also, it's my first Idea plugin.

The current audience is OPENRNDR users who are interested in improving the plugin. Making it compatible with Processing or other frameworks should be quite simple.

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "idea-thumbnails" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...


Plugin based on the IntelliJ Platform Plugin Template.

TO DO

Feb 12, 2023. I've been updating the plugin. I added two buttons to the UI. Look at SettingsDialog.kt:65 Issue to solve: Currently the "model" is in ThumbsPanel.kt, with a list of all KotlinFile with thumb and path. I want to forward the button event from SettingsDialog to ThumbsPanel to export markdown with all thumbnails (and descriptions?).

About

An WIP IntelliJ Idea plugin for showing thumbnails representing each OPENRNDR .kt file


Languages

Language:Kotlin 100.0%