Plugin Developement (OneDrive)

Description

Hello!
I would like to develop OneDrive plugin for Greenshot. I have experience with C#, but I can't find any documentation on how to develop such plugins.
Any help would be appreciated.

Thanks!

Environment

None

Gliffy Diagrams

Activity

Show:

Robin Krom June 8, 2014 at 7:33 AM

Hi,

We are in the middle of refactoring Greenshot from .NET 2.0 to the current version, while doing this we also introduce dependency injection. This will make Greenshot 2.0 so much different that writing a new plugin for 1.x would mean you will have to write most of it again for 2.x

As the changes for 2.x have not stabilized yet, you would be developing while having no idea how it is supposed to fit into Greenshot in the end.

I think it is not very hard to write something to export to OneDrive, we currently have other priorities. In fact, if we are finished it is probably a lot easier to add new plugins. But what we currently really need is a feature request that goes beyond "please add a OneDrive export" and explains how the person expects it to work.

Still, if you can't wait... And want to create something for 1.x.
There should be plenty of plugins in our git-repo which you can use as an example, you could just modify an existing.

This will not describe everything, but roughtly you will need to do the following:
1) fork Greenshot from our bitbucket repository
2) clone/checkout branch 1.2
3) copy the plugin you want to modify to a new project, see http://stackoverflow.com/questions/884255/visual-studio-copy-project
4) modify the name etc, and start working on your chances.

Be aware, we officially only support .NET 2.0 but you could use 3.5
We currently don't like to include any external dll's as most are bigger than Greenshot itself.

For Greenshot 2.0 I will write a tutorial, it should be a LOT easier to add functionality compared to 1.x

Best wishes,
Robin

Details

Assignee

Reporter

Created June 7, 2014 at 8:20 PM
Updated June 7, 2014 at 8:20 PM