►
From YouTube: Snippets with Multiple Files Demo
Description
Snippets with Multiple Files are live on GitLab.com! Check out this demo and share with us what you're going to use them for!
Snippet used: https://gitlab.com/-/snippets/2018386
Issue: https://gitlab.com/gitlab-org/gitlab/issues/14340
A
Hi,
my
name
is
kyren
stronger,
I'm
the
product
manager
for
the
editor
group
here
at
git
lab,
and
I
wanted
to
talk
today
about
multi-file
snippets,
so
something
we've
been
talking
about
for
quite
a
few
releases
and
kickoff
about
how
we
were
working
on
it,
but
it
is.
Finally
here
it
is
live
on
gitlab.com
as
of
this
recording,
so
I
want
to
show
it
off:
do
the
quick
demo
and
then
you
can
go
and
play
with
it,
and
let
us
know
what
you
think
so
I'm
gonna
share
my
screen.
A
Forward
and
show
this
one
perfect,
so
I
thought
this
would
be
a
good
way
to
demo
this
in
the
context
of
multi-file
and
what
you
might
be
able
to
do
with
it,
and
so
what
I've
loaded
up
here
is
I've
loaded
up
a
simple
index.html
file,
but
it
has
quickly
look
at
the
source.
It's
got
a
reference
style
sheet
and
a
javascript
file.
A
So
in
this
context
right
I
might
be
using
this
file
and
I
might
be
trying
to
help
someone
else,
learn
javascript
or
do
something
else
and
saying:
hey
here's
a
example
of
like
how
you
can
take
a
button
and
you
can
make
it
do
something,
and
so,
if
you
click
this
button,
it
hides
that
that
red
text
that
was
there
it's
really
great.
So
I
could
send
someone
all
these
files.
I
don't
know
how
I
would
do
that
normally,
but
maybe
I'd
zip
them
up,
maybe
attach
them
to
email.
A
But
in
this
way
I
sort
of
I
have
all
the
files
here
and
I
can
look
at
them
and
if
we
come
over
here
and
sort
of
look
what
this
is.
This
is
all
of
the
files
here,
so
we
can
copy
the
next
file.
It's
the
same
file.
That's.
A
Whoops
is
the
same
file.
That's
here,
so
you
can
see
that
those
two
are
the
same
thing
and
what's
great,
is
I've
got
this
locally
on
my
computer
and
you
can
tell
that
it's
already
checked
out
and
it's
a
master
variation.
So
this
is
already
a
snippet
that
I
have
cloned
locally
so
that
I
could
run
it
here
and
do
this
and
now
that
I
have
all
the
files.
A
If
I
come
back
and
look
where
I've
pushed
those
up,
let's
double
check
those
numbers.
So
all
these
files
exist
in
this
one
snippet,
and
so
now,
if
I
wanted
to
share
this
with
someone,
I
could
take
sort
of
this
link
and
I
could
paste
it
to
someone
in
slack.
I
could
send
it
to
someone
via
instant
message.
I
could
send
it
post
it
in
an
issue
or
something
else
and
you'd
be
like
hey.
Here's,
a
quick
demo
that
you
could
you
could
run.
A
A
On
that
to
that's
two
now
I'll,
just
go
into
that
and
we'll
do
an
ls
and
we'll
see
that
same
index
file-
that's
right
here,
and
so
it's
really
easy
for
someone
to
get
started
doing
that
now
they
can
easily
get
all
three
of
these
files
that
they
would
need.
The
files
are
set
up
and
ready
to
go
check
them
out
open
that
index
file
locally
and
sort
of
see
how
that
works,
and
this
works
for
a
whole
bunch
of
things
and
so
I'll
stop
sharing.
A
This
could
work
for
a
whole
bunch
of
things.
This
could
work,
for
maybe
you've
got
a
script
that
you
run
in
a
log
file
or
maybe
you've
got
a
script
file
that
you
run.
You
have
a
sample
input
file,
and
so
you
can
give
someone
that
script
with
that
sample
input
file
and
they
can
modify
that
and
then
run
it,
and
so
they
get
the
output
that
they
need.
A
This
is
just
a
couple
use
cases
we're
really
excited
about
getting
multiple
files
into
snippets.
It's
live
on,
gitlab.com,
so
test
it
out.
Let
us
know
what
you
think
and
we're
going
to
be
keeping
close
tabs
on
it
over
the
next
couple
of
weeks
to
hopefully
get
the
feature,
flags
completely
removed
and
have
it
turned
on
on
the
13.5
release
for
everyone
for
self-managing
gitlab.com,
but
give
it
a
try.
Let
us
know
what
you
think
and
thanks
for
watching.