Will there be a Create Module sometime soon?
Damnit! missed this post. Very nice feature!
@ed95, How do you create a PIP to a clipboard (e.g. to allow me to email a friend some code to start a simple JUCE project)?
I mean, can I just Paste a modified version of the start of that code, to the source for any component?
/*******************************************************************************
The block below describes the properties of this PIP. A PIP is a short snippet
of code that can be read by the Projucer and used to generate a JUCE project.
BEGIN_JUCE_PIP_METADATA
name: HelloWorldDemo
version: 1.0.0
vendor: juce
website: http://juce.com
description: Simple HelloWorld application.
dependencies: juce_core, juce_data_structures, juce_events, juce_graphics,
juce_gui_basics
exporters: xcode_mac, vs2017, linux_make, xcode_iphone
type: Component
mainClass: HelloWorldDemo
useLocalCopy: 1
END_JUCE_PIP_METADATA
*******************************************************************************/
You’ll need to change the mainClass
section of the metadata to name of the Component that you want to display and it will need to have a default constructor. Then you can either send the PIP file to someone and they can drag and drop in onto the Projucer to create a project, or you can paste the PIP file contents like I did above and they can open it in the Projucer by copying it to their clipboard and selecting File->New Project From Clipboard...
(or cmd/ctrl + shift + N
).
Yep, I’ll take a look at adding this.