Creating a Scratch Text Editor Extension

Asked by Jason Pezzimenti

What are the steps involved in creating an extension for the Scratch Text Editor?

I have downloaded the Scratch source and checked out all of the files. But that doesn't explain the process. How do we generate the .so files? How do we link them? What tools do we need and are there resources for this online? I have yet to find a single resource on this.

Any help is much appreciated!

Question information

Language:
English Edit question
Status:
Answered
For:
Scratch Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mario Guerriero (mefrio-g) said :
#1

Documentation is still missing. The only thing you can do at the moment is to look inside the plugins subdir in the Scratch source code. There are several plugins here and you can use them as reference. To generate the .so I use CMake with some Vala modules. You can find an example of that in plugins/<plugin-name>/CMakeLists.txt. If you have any other questions you can email me whenever you want.

Can you help with this problem?

Provide an answer of your own, or ask Jason Pezzimenti for more information if necessary.

To post a message you must log in.