I am attempting to use gedit's "snippets" plugin. They work great in Ubuntu, but I've since switched to Debian. Now, even though I have enabled Snippets, they don't work when I am editing files on a remote (SFTP) server.
They work great locally (create file, set language as PHP, try snippets), which is of small comfort, since I'd prefer to work on the remote server.
Is this a bug in gedit Debian? I am using Squeeze.
Reproduction steps (Using Debian Squeeze 6.0.2):
- In gedit, enable Snippets (Edit -> Preferences -> Plugins -> Check "Snippets")
- Open a new SFTP connection in nautilus (Places -> Home -> Ctrl-L -> sftp://any.site.that/you/can/access/through/SFTP
- Double-click on a php file to open it in gEdit
- Type "foreach" and press tab. The rest of the code should be automatically filled in. Note that this does not occur.
- Open a new document (Ctrl-N)
- Set the language (at the bottom) from "Plain Text" to "PHP"
- Type "foreach" and press tab. Note that the rest of the code does automatically populate now.