Gedit-Text-Editor/C2/Third-party-plugins-in-gedit/English

From Script | Spoken-Tutorial
Jump to: navigation, search

Title of script: Third party Plugins in gedit Text editor

Author: Nirmala Venkat

Keywords: Plugins, Third party plugins, Installation of third party plugins, iIntelligent Text completion, Video tutorial

Visual Cue Narration
Slide 1:
Welcome to the Spoken Tutorial on Third party Plugins in gedit Text editor.
Slide 2:
Learning objectives
In this tutorial, we will learn how to
  • Install third party plugins and use it.
Slide 3:
System Requirements
To record this tutorial, I am using:
  • Ubuntu Linux 14.04 operating system
  • gedit Text editor 3.10
Slide 4:
Pre-requisites
To follow this tutorial, you should have working knowledge of any operating system.
Now we will learn about third party plugins.
Slide 5:
Third Party plugins
  • Plugins are also developed by other programmers.
  • These are called third party plugins.
  • This gives you extra functionality that is not available in default gedit plugins.
Slide 6:
Installing a third party plugin
Installing a third-party plugin involves:
  • Downloading the plugin from the below link

https://wiki.gnome.org/Apps/Gedit

  • Placing the plugin files in the correct directory
  • Activating the plugin
https://wiki.gnome.org/Apps/Gedit Let us go to the gedit website to download the plugins.
Click on the plugins link Click on the plugins link at the top right corner.
Click on Lists of gedit plugins Click on Lists of gedit plugins.
Point to different links We can see many links for third-party plugins for different versions of gedit Text editor.
click on the link for version 3.8 and 3.10. Since my version of gedit is 3.10, I'll click on the link for version 3.8 and 3.10.

You have to choose the link depending upon your gedit version.

Scroll down Scroll down to see the various third party plugins.
Let us explore the features of Intelligent Text completion.
Slide7:
Intelligent Text Completion
Features:
  • Auto-close brackets and quotes
  • Auto-complete html tags
  • Auto-indent after function or list
Point to Intelligent Text Completion plugin I'll demonstrate how to install and use Intelligent Text Completion.
Click on the Download link.
Let us go to the gedit website.

Click on the Download link.

Point to Features We can see the Features and Installation details for Intelligent Text Completion.


Go through the information thoroughly for your own understanding.
Click on the Clone or download drop down box on the top right corner Click on the Clone or download drop down box on the top right corner.
Click on the Download Zip Then click on the Download Zip.
Click Save. Click ok. Select the Save file option and click Ok.
The file is saved in the Downloads folder.
Extract the files Extract the files. Open the folder to see the available files.
Point to the folder gedit3-8 I'll copy the folder gedit3-8, because my gedit version is higher than this.
Copy the folder to

.local/share/gedit/plugins

We need to copy this folder to dot local/share/gedit/plugins in the Home directory.
Select the Home directory Select the Home directory.
Click on the View menu on the Menu bar and select Show Hidden Files Click on the View menu on the Menu bar and select Show Hidden Files.
Locate the directory .local/share/gedit/plugins Locate the .local folder share.


Create the subdirectory gedit if it is not there.


Inside gedit directory, let us create another subdirectory called plugins.

Paste the folder
Paste the folder or copy the files from the folder inside plugins.

Third party plugin files should be copied to the correct directory as shown.

Now our plugin is ready to use.
Open the gedit Text editor Let's open the gedit Text editor.
click Edit and Preferences. From the Main menu, click Edit and Preferences.
Scroll down in the Plugins list. Under the Plugins tab, scroll down to see whether our third party plugin is added.
Point to Intelligent Text completion plugin >> check it >> Click on Close We can see the Intelligent Text completion plugin is added to our list. Check the box.

Click Close.

Let us see how the Intelligent Text completion helps us to write a html program.
Click new icon from the toolbar Open a new document.
<html>
<head>

<title>Welcome to Spoken Tutorial<

I'll type tags as shown here.

After the less than symbol, press backslash. It will automatically insert the title closing tag.

Type
</
In the next line, type less than backslash. You can see the head closing tag is inserted.

Again type less than backslash. html closing tag is also inserted.

Point to the html tag So, it automatically detects the html tags and creates them.

It makes our work easy while writing the source code.

Point to the syntax keyword <html> We can see, the syntax highlight is in off mode.
Point to the file name Until you save a document in gedit Text editor, syntax highlighting is turned off.
Click view>> Highlight Mode You can turn it ON by clicking the menu View and Highlight Mode.
You can select the mode depending upon your source code.
Select HTML from the given list As our program is HTML, I'll select HTML option from the list.
We can see, our HTML code gets highlighted with the syntax.
This brings us to the end of this tutorial. Let us summarise.
Slide 8:
Summary
In this tutorial, we learnt about how to*
Install third party plugins and use it.
Slide 9:
Assignment
Here is an assignment for you.
  • Download and Install a plugin called Advanced find/replace plugin for gedit Text editor
  • Enable it and check its functions.
Slide 11:
About Spoken Tutorial project
The video at the following link summarises the Spoken Tutorial project.
Please download and watch it.
Slide 12:
Spoken Tutorial workshops
The Spoken Tutorial Project Team:
  • conducts workshops and
  • gives certificates
For more details, please write to us.
Slide 13:
Forum for specific questions
  • Please post your timed queries in this forum.
Slide 14:
Acknowledgement
Spoken Tutorial project is funded by NMEICT, MHRD, Government of India.
More information on this mission is available at
this link.
This is Nirmala Venkat from IIT Bombay, signing off. Thanks for watching.

Contributors and Content Editors

Nancyvarkey, Nirmala Venkat