.gy Groovy source code

Text & source code

MIME typetext/x-groovy
DescriptionGroovy source code
CategoryText & source code
Based ontext/x-csrc
Other extensions.groovy, .gsh, .gvy

Frequently asked questions

What is a .gy file?

A .gy file is a “Groovy source code” (MIME type text/x-groovy).

How do I open a .gy file?

With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.

How can you tell a genuine .gy file?

No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.gy shows the guessed type.

Which format is .gy based on?

Technically a .gy file is a subtype of “C source code” (text/x-csrc), so programs for that base format can often read it too.

Which MIME type belongs to .gy?

The MIME type is text/x-groovy. In the Apache web server: AddType text/x-groovy .gy; in nginx: types { text/x-groovy gy; }.

Nearby entries