Open MulverineX opened 4 months ago
can we infer the template from the normal type definition? maybe even with #[default]
attributes on individual fields for the placeholder values. i don't see the point of repeating so much information with a weird #[template]
attribute.
I guess someone could still do something like this after inject
is introduced, if #[default]
was added:
use ::java::server::world::entity::display::DisplayBase
inject DisplayBase::transformation::__union to (#[default] [1f,0f,0f,0f,0f,1f,0f,0f,0f,0f,1f,0f,0f,0f,0f,1f])
Modified the initial suggestion
When defining types, autocomplete should immediately appear with predefined template/code snippet options.
Example:
data
folder#[default]
values.