inkdropapp / docs-old

Inkdrop documentation
https://docs.inkdrop.app/
MIT License
74 stars 16 forks source link

Add information on how to run a plugin during development #5

Closed John-K closed 5 years ago

John-K commented 5 years ago

While trying to develop a new plugin (and being new to Electron), I could not figure out how to get Inkdrop to load my plugin. After inspecting the arguments of ipm I discovered the link command.

This PR adds a new section named Running your Plugin to the Plugin Word Count document and describes how to tell Inkdrop about your plugin and how to make any code changes active in Inkdrop.

craftzdog commented 5 years ago

Thank you for the PR. Actually it is mentioned in a page about how to create a theme here:

https://docs.inkdrop.app/manual/creating-a-theme#creating-a-syntax-theme

Run ipm link --dev to symlink your repository to ~/Library/Application Support/inkdrop/dev/packages

But I guess it would be nice to also mention it in the WordCount page.

John-K commented 5 years ago

Of course.

Aha, I did not see this as I wasn't interested in developing a theme.

craftzdog commented 5 years ago

I've added the same description on the WordCount page. Thanks! https://docs.inkdrop.app/manual/plugin-word-count/#linking-to-the-app-locally