The gedit external tools plugin allows tools to apply to only one or more of a predefined list of file types.
How do I define my own file types?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Could you be more specific? What language?
Do yo want to add support for another programming language in gtksourceview – maybe you want to add code snippets for this language?
If this language is already supported
Then you have to find the language description and mime type files and install them on your system. You’ll find these embedded in plugins packages (example: Gmate).
Here’s an example for YAML:
If you can’t find any resource for this language (is this a custom language?)
Well, you’ll have to write the whole thing. The mime-type file is pretty basic (just mapping file extensions to your newly created mime-type).
But writing your own language file is not straightforward.
These links should be useful to that matter: