<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Agile on Rails &#187; Gedit</title>
	<atom:link href="http://blog.siverti.com.br/category/gedit/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.siverti.com.br</link>
	<description>Liberte-se, Comunique-se, Desenvolva-se</description>
	<lastBuildDate>Tue, 11 May 2010 13:12:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>GMate Issues and Bug Reports</title>
		<link>http://blog.siverti.com.br/2009/06/29/gmate-issues-and-bug-reports/</link>
		<comments>http://blog.siverti.com.br/2009/06/29/gmate-issues-and-bug-reports/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 02:54:44 +0000</pubDate>
		<dc:creator>alexandre</dc:creator>
				<category><![CDATA[Desenvolvimento]]></category>
		<category><![CDATA[Gedit]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.siverti.com.br/?p=259</guid>
		<description><![CDATA[For those using Gmate and having some issues, please fill them directly in Github  GMate project Issue Tracker. If you have any suggestions or feature request, also post them there. You can also contribute with project by finding and fixing bugs.. if you found a bug and Know how to fix it, you can fork [...]]]></description>
			<content:encoded><![CDATA[<p>For those using Gmate and having some issues, please fill them directly in Github  <a href="http://github.com/lexrupy/gmate/issues">GMate project Issue Tracker</a>.<br />
If you have any suggestions or feature request, also post them there.</p>
<p>You can also contribute with project by finding and fixing bugs.. if you found a bug and Know how to fix it, you can fork the GMate project on Github, fix the bug, than ask me to merge your changes, I will be happy to apply your fixes after some sanity check.</p>
<p>If you are the owner of some plugin included in GMate, and want to help mantaining your plugin and maybe some other &#8220;unmaintained&#8221; plugin, please let me know, this should be the best scenario.</p>
<p>Thank&#8217;s for all people using, and help improving the GMate project.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siverti.com.br/2009/06/29/gmate-issues-and-bug-reports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DEB package for Gmate</title>
		<link>http://blog.siverti.com.br/2009/03/02/deb-package-for-gmate/</link>
		<comments>http://blog.siverti.com.br/2009/03/02/deb-package-for-gmate/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 17:15:44 +0000</pubDate>
		<dc:creator>alexandre</dc:creator>
				<category><![CDATA[Desenvolvimento]]></category>
		<category><![CDATA[Gedit]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tecnologia]]></category>

		<guid isPermaLink="false">http://blog.siverti.com.br/?p=236</guid>
		<description><![CDATA[I had debianized the Gmate Package, so now you can download and install it in your Ubuntu as a DEB package. Note that it Depends of pyton-pywebkit that is included in Ubuntu 8.10. if you want to install in a previous Ubuntu release you will need to install Python Webkit Manually. You can download the [...]]]></description>
			<content:encoded><![CDATA[<p>I had debianized the Gmate Package, so now you can download and install it in your Ubuntu as a DEB package.</p>
<p>Note that it Depends of pyton-pywebkit that is included in Ubuntu 8.10. if you want to install in a previous Ubuntu release you will need to install Python Webkit Manually.</p>
<p>You can download the package <a href="http://cloud.github.com/downloads/lexrupy/gmate/gedit-gmate_0.9-ubuntu1_all.deb">direct from github.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siverti.com.br/2009/03/02/deb-package-for-gmate/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Rails footnotes suporte completo para linux</title>
		<link>http://blog.siverti.com.br/2008/11/29/rails-footnotes-suporte-completo-para-linux/</link>
		<comments>http://blog.siverti.com.br/2008/11/29/rails-footnotes-suporte-completo-para-linux/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 18:10:18 +0000</pubDate>
		<dc:creator>alexandre</dc:creator>
				<category><![CDATA[Desenvolvimento]]></category>
		<category><![CDATA[Gedit]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Rails Footnotes]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tecnologia]]></category>
		<category><![CDATA[Footnotes]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://blog.siverti.com.br/?p=210</guid>
		<description><![CDATA[(See this post in english) Eu acabei de corrigir alguns bugs no plugin Rails Footnotes e agora temos suporte completo para Ubuntu Linux  (Deveria funcionar em outras distros também, porém apenas usando o Gnome e o Gedit são suportados até agora). Agora você poderá abrir qualquer arquivo listado nos stack traces exibidos no browser (Firefox) [...]]]></description>
			<content:encoded><![CDATA[<p>(<a href="http://blog.siverti.com.br/2008/11/29/rails-footnotes-full-linux-support-footnotes-for-linux/">See this post in english</a>)</p>
<p>Eu acabei de corrigir alguns bugs no plugin Rails Footnotes e agora temos suporte completo para Ubuntu Linux  (Deveria funcionar em outras distros também, porém apenas usando o Gnome e o Gedit são suportados até agora).</p>
<p>Agora você poderá abrir qualquer arquivo listado nos stack traces exibidos no browser (Firefox) além de obter todos os demais benefícios dos Footnotes no final de suas páginas durante o desenvolvimento.</p>
<p>Veja os screenshots para ter uma idéia dos benefícios:</p>
<p><a href="http://blog.siverti.com.br/wp-content/uploads/2008/11/footnotes1.png"><img class="alignnone size-full wp-image-204" title="Footnotes Filters" src="http://blog.siverti.com.br/wp-content/uploads/2008/11/footnotes1.png" alt="Footnotes Filters" width="637" height="430" /></a></p>
<p>Na imagem acima estamos mostrando a cadeia de filtros (Filter chain) do controller atual, mas podemos facilmente abrir o arquivo do controller, view, layout, estilos, javascripts direto no Gedit apenas clicando em um link, e, podemos também ver os Selects executados no banco de dados, log, Informações do ambiente, logs, routes e muito mais.</p>
<p><a href="http://blog.siverti.com.br/wp-content/uploads/2008/11/footnotes2.png"><img class="alignnone size-full wp-image-205" title="Footnotes Stack Trace" src="http://blog.siverti.com.br/wp-content/uploads/2008/11/footnotes2.png" alt="Footnotes Stack Trace" width="639" height="440" /></a></p>
<p>Na imagem acima estamos vendo um stack trace, então ao clicar em um dos links criados pelo plugin Footnotes, o Gedit já abre tal arquivo com o cursor posicionado corretamente sobre a linha onde o erro ocorreu.</p>
<p>Você pode fazer o download do plugin com suporte para linux <a href="http://github.com/lexrupy/rails-footnotes/tarball/master">aqui (Github master tree)</a></p>
<p>Para obter instruções sobre o processo de instalação, veja o arquivo README que está no pacote do plugin ou acesse a <a href="http://github.com/lexrupy/rails-footnotes">Página do projeto</a> no Github.</p>
<p>Você pode também ler mais sobre este plugin no meu <a href="http://blog.siverti.com.br/2008/10/16/rails-footnotes-para-geditlinux">primeiro post</a> sobre ele, e ainda assistir a um pequeno screencast mostrando sua funcionalidade.</p>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2017669&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2017669&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object><br /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siverti.com.br/2008/11/29/rails-footnotes-suporte-completo-para-linux/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Rails footnotes full linux support (footnotes for linux)</title>
		<link>http://blog.siverti.com.br/2008/11/29/rails-footnotes-full-linux-support-footnotes-for-linux/</link>
		<comments>http://blog.siverti.com.br/2008/11/29/rails-footnotes-full-linux-support-footnotes-for-linux/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 17:56:22 +0000</pubDate>
		<dc:creator>alexandre</dc:creator>
				<category><![CDATA[Desenvolvimento]]></category>
		<category><![CDATA[Gedit]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Rails Footnotes]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tecnologia]]></category>
		<category><![CDATA[Footnotes]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://blog.siverti.com.br/?p=203</guid>
		<description><![CDATA[(Ver este artigo em português) I have just fixed some issues on Rails Footnotes plugin, and now we have full support for Ubuntu linux (this should work with other distros too, but only Gedit and Gnome are supported for now. Now you can open any files listed on stack trace, and get all bennefits of [...]]]></description>
			<content:encoded><![CDATA[<p>(<a href="http://blog.siverti.com.br/2008/11/29/rails-footnotes-suporte-completo-para-linux">Ver este artigo em português</a>)</p>
<p>I have just fixed some issues on Rails Footnotes plugin, and now we have full support for Ubuntu linux (this should work with other distros too, but only Gedit and Gnome are supported for now.</p>
<p>Now you can open any files listed on stack trace, and get all bennefits of Footnotes just bellow your pages during development.</p>
<p>Se the screenshots to get an Idea of beneffits:</p>
<p><a href="http://blog.siverti.com.br/wp-content/uploads/2008/11/footnotes1.png"><img class="alignnone size-full wp-image-204" title="Footnotes Filters" src="http://blog.siverti.com.br/wp-content/uploads/2008/11/footnotes1.png" alt="Footnotes Filters" width="628" height="424" /></a></p>
<p>In image above we are showing the Filters chain of current controller, but we can easily, open the controller, view, layout, styles or javascripts files in Gedit by just one click in the link, and we can also see the database queries performed, log, Environment, Routes and much more.</p>
<p><a href="http://blog.siverti.com.br/wp-content/uploads/2008/11/footnotes2.png"><img class="alignnone size-full wp-image-205" title="Footnotes Stack Trace" src="http://blog.siverti.com.br/wp-content/uploads/2008/11/footnotes2.png" alt="Footnotes Stack Trace" width="622" height="427" /></a></p>
<p>In the image above we are seeing a stack trace, then we clicked on  a link created by Footnotes plugin, and Gedit just opened that file and switched the cursor to the correct line.</p>
<p>You can download the  plugin with linux support directly from <a href="http://github.com/lexrupy/rails-footnotes/tarball/master">here (Github master tree)</a></p>
<p>To get instructions about installation process point to README file on package or go to Footnotes <a href="http://github.com/lexrupy/rails-footnotes">Project Page</a> on Github</p>
<p>You can also read more about this plugin on <a href="http://blog.siverti.com.br/2008/10/16/rails-footnotes-para-geditlinux">my first post</a> about it (In Portuguese), and also watch a little screencast showing the plugin in action.</p>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2017669&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2017669&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object><br /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siverti.com.br/2008/11/29/rails-footnotes-full-linux-support-footnotes-for-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Rails Footnotes para Gedit/Linux</title>
		<link>http://blog.siverti.com.br/2008/10/16/rails-footnotes-para-geditlinux/</link>
		<comments>http://blog.siverti.com.br/2008/10/16/rails-footnotes-para-geditlinux/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 17:00:36 +0000</pubDate>
		<dc:creator>alexandre</dc:creator>
				<category><![CDATA[Gedit]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.siverti.com.br/?p=134</guid>
		<description><![CDATA[O usuários do Mac e do Textmate contam com alguns benefícios quando se desenvolve em Rails, visto que boa parte dos desenvolvedores do Rails, inclusive do core-team utilizam esta plataforma e editor de texto. em busca de melhorar a experiência dos usuários linux fui verificar a possibilidade de portar mais um plugin bastante interessante, o [...]]]></description>
			<content:encoded><![CDATA[<p>O usuários do Mac e do Textmate contam com alguns benefícios quando se desenvolve em Rails, visto que boa parte dos desenvolvedores do Rails, inclusive do core-team utilizam esta plataforma e editor de texto. em busca de melhorar a experiência dos usuários linux fui verificar a possibilidade de portar mais um plugin bastante interessante, o rails-footnotes.<br />
Este plugin oferece algumas funcionalidades bem interessantes, e uma das funcionalidades que eu acho mais útil é que ele transforma o backtrace de um erro exibido do browser em links, onde você pode clicar, e o editor de texto abrirá o arquivo listado no trace posicionando o cursor na linha indicada, facilitando e muito na hora de seguir o rastro de um bug.<br />
No momento a única funcionalidade que eu portei, foi o backtrace, quem sabe no futuro eu verifique a possibilidade de portar mais funcionalidades<br />
Assim que sobrar um tempinho vou solicitar ao <a href="http://github.com/drnic">drnic</a> para dar um merge das alterações que eu realizei no plugin para que todos possam ter acesso, por enquanto você pode instalar o plugin através do meu <a href="http://github.com/lexrupy/rails-footnotes">fork no github</a></p>
<p>Para instalar o plugin em sua aplicação rails faça o seguinte:</p>
<pre>script/plugin install http://github.com/lexrupy/rails-footnotes.git vendor/plugins/footnotes</pre>
<p>para que o plugin funcione no Gedit é necessário instalar o url-handler para que o navegador saiba que um link apontando para <em>txmt://open?file=&#8230;.</em> tenha que abrir o arquivo na linha x. para isso faça o seguinte logo após a instalação normal do plugin:</p>
<pre>cd vendor/plugins/footnotes
sh linux_install.sh</pre>
<p>Este processo de instalação precisa ser realizado apenas uma vez, então depois que você instalar o plugin no seu linux na primeira vez, poderá apenas executar a primeira etapa para quaisquer outra aplicação que desejar.</p>
<p>Note que para instalar você precisa ter em mãos sua senha do sudo.</p>
<p>Para quem não conheçe a suite de plugins para melhorar a usabilidade do gedit com aplicações Rails<a href="http://blog.siverti.com.br/gmate/"> clique aqui</a></p>
<p>Veja um pequeno vídeo do plugin em funcionamento:</p>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=2017669&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=2017669&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object><br /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siverti.com.br/2008/10/16/rails-footnotes-para-geditlinux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Gedit Modelines</title>
		<link>http://blog.siverti.com.br/2008/10/03/gedit-modelines/</link>
		<comments>http://blog.siverti.com.br/2008/10/03/gedit-modelines/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 15:39:13 +0000</pubDate>
		<dc:creator>alexandre</dc:creator>
				<category><![CDATA[Gedit]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tecnologia]]></category>
		<category><![CDATA[modelines]]></category>

		<guid isPermaLink="false">http://blog.siverti.com.br/?p=114</guid>
		<description><![CDATA[Tabulações, Espaços, Nível de tabulação, etc, todas estas configurações no gedit são manuais, você precisa ir no menu Editar, Preferências e encontralas para modificar o comportamento certo? Errado Existe um plugin chamado &#8220;modelines&#8221; que tenho certeza que muita gente já viu lá na lista de plugins mas não sabe para que serve. bem vamos a [...]]]></description>
			<content:encoded><![CDATA[<p>Tabulações, Espaços, Nível de tabulação, etc, todas estas configurações no gedit são manuais, você precisa ir no menu Editar, Preferências e encontralas para modificar o comportamento certo?</p>
<p><span style="color:#ff0000;"><strong>Errado</strong></span></p>
<p>Existe um plugin chamado &#8220;modelines&#8221; que tenho certeza que muita gente já viu lá na lista de plugins mas não sabe para que serve. bem vamos a uma breve explicação:</p>
<p>Alguns editores de texto, como o Vim, Emacs e até mesmo o Kate, suportam um recurso com este nome, que nada mais é que incluir uma linha no arquivo em edição para definir o modo de operação sobre este arquivo mode-line.</p>
<p>antes a definição mínima:</p>
<p>&#8220;ShiftWidth é a quantidade de espaços que são inseridos para cada TAB&#8221;</p>
<p>&#8220;TabStop é a quantidade de espaços que um TAB vai ocupar na visualização&#8221;</p>
<p>vejamos um exemple de modeline do vim:</p>
<pre># vim:set ts=4 sw=4 noexpandtab:</pre>
<p>que significa:</p>
<p>defina o tabstop para 4 e o shiftwidth para 4 e não expanda os tabs para espaços.</p>
<p>podemos utilizar esta mesma linha no gedit com o plugin modeline ativado.</p>
<p>um exemplo para arquivos ruby seria:</p>
<pre># vim:set ts=2 sw=2 expandtab nowrap textwidth=80</pre>
<p>ou seja, estamos definindo para trocar tabs por espaços utilizando um tabstop/shiftwidth de 2 caracteres, não queremos que ele quebre as linhas e queremos a régua de texto na posição 80 caracteres.</p>
<p>um exemplo para python seria algo como:</p>
<pre># vim:set ts=4 sw=4 expandtab nowrap textwidth=80</pre>
<p>basicamente a mesma coisa só que com um tabstop/shiftwidth de 4 caracteres.</p>
<p>experimente colocando esta linha no início do seu arquivo e ir modificando ela e vendo os resultados automaticamente.</p>
<p>esta linha funciona no gedit para qualquer linguagem, basta estar presente no arquivo nas primeiras 3 linhas em um comentário. o aconselhável é você utilizar o plugin de snippets(trechos) para criar um header para cada tipo de arquivo que você utiliza, onde você pode além desta informação colocar a licença de uso etc etc&#8230; a criatividade é sua.</p>
<p>Não deixe de conferir meu <a href="http://blog.siverti.com.br/gmate/">set de plugins</a> para tornar o gedit uma &#8220;Rails IDE&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siverti.com.br/2008/10/03/gedit-modelines/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Exended Ruby Syntax For Gedit and GtkSourceview2</title>
		<link>http://blog.siverti.com.br/2008/10/02/exended-ruby-syntax/</link>
		<comments>http://blog.siverti.com.br/2008/10/02/exended-ruby-syntax/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 17:54:53 +0000</pubDate>
		<dc:creator>alexandre</dc:creator>
				<category><![CDATA[Desenvolvimento]]></category>
		<category><![CDATA[Gedit]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tecnologia]]></category>
		<category><![CDATA[gtksourceview2]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://blog.siverti.com.br/?p=88</guid>
		<description><![CDATA[Some months ago since I started using jEdit I also started improving the gtksouceview language definition for ruby and Rails code for use with Gedit, because in most of cases Gedit is faster than jEdit, Now I have some improvements to show. I used as base for show improvements some screenshots that I made from [...]]]></description>
			<content:encoded><![CDATA[<p>Some months ago since I started using jEdit I also started improving the gtksouceview language definition for ruby and Rails code for use with Gedit, because in most of cases Gedit is faster than jEdit, Now I have some improvements to show.<br />
I used as base for show improvements some screenshots that I made from <a href="http://railscasts.com">Railscasts</a>, so I got some episodes that have the &#8220;little things&#8221; I&#8217;ve changed.<br />
This first is a screnshot of Railscasts <a href="http://railscasts.com/episodes/33-making-a-plugin">Episode 33</a>, here we can see the function name properly highlighted and also some Rails specific methods. We can compare the Gedit Screenshot to TextMate screenshot and see that all:</p>
<p><a href="http://alexandredasilva.wordpress.com/files/2008/09/gedit_33.png"><img class="alignnone size-medium wp-image-90" title="gedit_33" src="http://blog.siverti.com.br/wp-content/uploads/2008/09/gedit_33.png?w=300" alt="" width="501" height="396" /></a></p>
<p><a href="http://alexandredasilva.wordpress.com/files/2008/09/railscasts_episode33.png"><img class="alignnone size-medium wp-image-79" title="railscasts_episode33" src="http://blog.siverti.com.br/wp-content/uploads/2008/09/railscasts_episode33.png?w=300" alt="" width="501" height="376" /></a></p>
<p>Here we have a rhtml (html.erb) shippet from <a href="http://railscasts.com/episodes/37-simple-search-form">Episode 37</a>, all tags are highighted properly, including xml markup and erb markup &#8220;&lt;%= %&gt;&#8221;:</p>
<p><a href="http://alexandredasilva.wordpress.com/files/2008/09/gedit_35.png"><img class="alignnone size-medium wp-image-80" title="gedit_37" src="http://blog.siverti.com.br/wp-content/uploads/2008/09/gedit_37.png?w=300" alt="" width="501" height="443" /></a></p>
<p><a href="http://blog.siverti.com.br/wp-content/uploads/2008/09/railscasts_episode37.png"><img class="alignnone size-medium wp-image-81" title="railscasts_episode37" src="http://blog.siverti.com.br/wp-content/uploads/2008/09/railscasts_episode37.png?w=300" alt="" width="501" height="376" /></a></p>
<p>In this (<a href="http://railscasts.com/episodes/62-hacking-activerecord">Episode 62</a>) we have a classmethod correctly highlighed (here I prefered to let &#8220;self&#8221; keyword in the same color of methodname, but is possible to change in future), and the method definitions including method names ending with ?, ! (= signal in the first screenshot):</p>
<p><a href="http://alexandredasilva.wordpress.com/files/2008/09/gedit_62.png"><img class="alignnone size-medium wp-image-84" title="gedit_62" src="http://blog.siverti.com.br/wp-content/uploads/2008/09/gedit_62.png?w=300" alt="" width="501" height="443" /></a></p>
<p><a href="http://blog.siverti.com.br/wp-content/uploads/2008/09/railscasts_episode62.png"><img class="alignnone size-medium wp-image-85" title="railscasts_episode62" src="http://blog.siverti.com.br/wp-content/uploads/2008/09/railscasts_episode62.png?w=300" alt="" width="501" height="376" /></a></p>
<p>And last an example of string interpolation (<a href="http://railscasts.com/episodes/69-markaby-in-helper">Episode 69</a>), that already exists in original language definition but doesn&#8217;t work(I don&#8217;t know exactly why), the approach of original attemp is to change the context of string back to main context, by this way the code &#8220;should&#8221; be highlighted as normal ruby code, and in theory could be other interopated strings in many levels, but, that doesn&#8217;t work and I changed to just colorize (I mean this should be the default and correct way) and interpolation is highlighted properly:</p>
<p><a href="http://blog.siverti.com.br/wp-content/uploads/2008/09/gedit_69.png"><img class="alignnone size-large wp-image-86" title="gedit_69" src="http://blog.siverti.com.br/wp-content/uploads/2008/09/gedit_69.png?w=500" alt="" width="500" height="417" /></a><a href="http://alexandredasilva.wordpress.com/files/2008/09/railscasts_episode69.png"><img class="alignnone size-large wp-image-87" title="railscasts_episode69" src="http://blog.siverti.com.br/wp-content/uploads/2008/09/railscasts_episode69.png?w=500" alt="" width="500" height="375" /></a></p>
<p>You can download a package I made, containing some useful plugins, code snippets and<br />
the language definition. this pack is very useful also if you just installed linux (I use ubuntu) and need quick setup to a Rails development environment</p>
<p>The package also include Extract partial plugin and a Smart indent plugin</p>
<p>How to install.</p>
<p>download the package <a href="http://github.com/lexrupy/gmate/tarball/master">here</a> in some place<br />
open a terminal go to the place of download and type</p>
<pre>$tar -zxvf [name of downloaded tarball]
$./install.sh</pre>
<p><strong><span style="color:#ff0000;">WARNING: <span style="color:#000000;">Some commands need sudo password, so you will be asked.</span></span></strong></p>
<p>Open gedit chose your preferred color, enable your preferred plugins and enjoy.<br />
(The package also include the <a href="http://blog.siverti.com.br/gedit-todo-list-plugin/">TODO-List plugin</a> and you will need to follow plugin README to install)</p>
<p><a href="http://blog.siverti.com.br/gmate/">Gmate Project Page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siverti.com.br/2008/10/02/exended-ruby-syntax/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>gedit TODO list plugin update</title>
		<link>http://blog.siverti.com.br/2008/06/17/gedit-todo-list-plugin-update/</link>
		<comments>http://blog.siverti.com.br/2008/06/17/gedit-todo-list-plugin-update/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 14:15:34 +0000</pubDate>
		<dc:creator>alexandre</dc:creator>
				<category><![CDATA[Gedit]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[tecnologia]]></category>
		<category><![CDATA[gedit-todo]]></category>

		<guid isPermaLink="false">http://blog.siverti.com.br/?p=69</guid>
		<description><![CDATA[Many thanks to Firmansyah Adiputra Now we get gedit TODO List working properly with Firefox 3 and Ubuntu 8.04 Download the 0.1.4b version from sourceforge install and enjoy.]]></description>
			<content:encoded><![CDATA[<p>Many thanks to <cite><a rel="external nofollow" href="http://soulicia.co.cc/">Firmansyah Adiputra</a></cite> Now we get gedit TODO List working properly with Firefox 3 and Ubuntu 8.04</p>
<p><a href="http://sourceforge.net/projects/gedit-todo">Download the 0.1.4b version from sourceforge</a> install and enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siverti.com.br/2008/06/17/gedit-todo-list-plugin-update/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cores Legais no Gedit (Temas)</title>
		<link>http://blog.siverti.com.br/2008/05/24/cores-legais-no-gedit-temas/</link>
		<comments>http://blog.siverti.com.br/2008/05/24/cores-legais-no-gedit-temas/#comments</comments>
		<pubDate>Sat, 24 May 2008 02:27:15 +0000</pubDate>
		<dc:creator>alexandre</dc:creator>
				<category><![CDATA[Gedit]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.siverti.com.br/?p=41</guid>
		<description><![CDATA[No meu post anterior mostrei como utilizar a fonte Monaco no Linux, e nos screenshots eu utilizo um tema, criado com base no tema utilizado pelo Ryan Bates em seus Railscasts, eu particularmente estou utilizando uma versão ligeiramente modificada do original (coisas minhas), mas o tema é muito bonito, e pode ser obtido aqui, e [...]]]></description>
			<content:encoded><![CDATA[<p>No meu post anterior mostrei como utilizar a fonte Monaco no Linux, e nos screenshots eu utilizo um tema, criado com base no tema utilizado pelo Ryan Bates em seus <a href="http://railscasts.com/">Railscasts</a>, eu particularmente estou utilizando uma versão ligeiramente modificada do original (coisas minhas), mas o tema é muito bonito, e pode ser obtido <a href="http://github.com/mig/gedit-themes/tree/master">aqui</a>, e se quiser já compactado como tar.gz, clique <a href="http://github.com/mig/gedit-themes/tarball/master">aqui</a>.</p>
<p>Na verdade neste local podem ser obtidos uma variedade de temas, muito interessantes. baixe todos eles e teste qual o que mais lhe agrada:</p>

<p>Espero que apreciem.</p>
<p>modo de instalar:</p>
<p>1. baixe os arquivos xml separadamente ou o tar.gz.</p>
<p>2. se baixou o tar.gz, descompacte-o em algum lugar</p>
<p>2. abra o gedit, vá em editar/preferências, escolha a aba fontes e cores, e clique em &#8220;adicionar&#8221;, escolha o tema desejado (no local onde você fez o download ou extraiu o tar.gz) então clique em &#8220;adicionar esquema&#8221;.</p>
<p>2. Selecione o novo tema na lista, e pronto!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siverti.com.br/2008/05/24/cores-legais-no-gedit-temas/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Fonte Monaco no Ubuntu+Gedit</title>
		<link>http://blog.siverti.com.br/2008/05/22/fonte-monaco-no-ubuntugedit/</link>
		<comments>http://blog.siverti.com.br/2008/05/22/fonte-monaco-no-ubuntugedit/#comments</comments>
		<pubDate>Thu, 22 May 2008 04:14:04 +0000</pubDate>
		<dc:creator>alexandre</dc:creator>
				<category><![CDATA[Gedit]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[fonte]]></category>
		<category><![CDATA[Monaco]]></category>
		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://blog.siverti.com.br/?p=38</guid>
		<description><![CDATA[A maioria dos screencasts que vemos na internet sobre Rails os autores utilizam Mac + OSX + TextMate, na verdade eu não lembro de um que não estivesse usando uma configuração parecida. Em quase todo lugar tem alguém falando &#8220;ah aquela fonte bonitinha dos screencasts&#8221; qual é a fonte que eles usam no Mac? Essa [...]]]></description>
			<content:encoded><![CDATA[<p>A maioria dos screencasts que vemos na internet sobre Rails os autores utilizam Mac + OSX + TextMate, na verdade eu não lembro de um que não estivesse usando uma configuração parecida. Em quase todo lugar tem alguém falando &#8220;ah aquela fonte bonitinha dos screencasts&#8221; qual é a fonte que eles usam no Mac? Essa tão famigerada fonte chama-se Monaco, e é uma fonte padrão da Apple, que parece que foi adotada pela maioria dos desenvolvedores Rails.</p>
<p>Mas e nós? meros usuários de Linux+Gedit ou outra combinação, ou até mesmo que usa Windows+e-texteditor ou outra combinação. bem, outro dia sem querer encontrei <a href="http://www.gringod.com/2006/02/24/return-of-monacottf">este post</a> onde encontrei uma versão ttf da tal fonte. A versão encontrada neste post é a versão 2.0 (bem antiga) mas algum tempo depois ele fez um <a href="http://www.gringod.com/2006/11/01/new-version-of-monaco-font/">novo post</a> com uma versão mais nova da fonte (5.1)</p>
<p>Detalhes:</p>
<p>A <a href="http://www.gringod.com/wp-upload/software/Fonts/Monaco_5.1.ttf">versão inicial</a> (5.1) da fonte não rendeniza corretamente em algumas aplicações do Linux, incluindo o Gedit, felizmente o autor do post incluiu uma <a href="http://www.gringod.com/wp-upload/software/Fonts/Monaco_Linux.ttf">versão corrigida</a>.</p>
<p>A versão 5.1 no Windows (no computador que eu testei) não é reconhecida como mono-espaçada, embora tecnicamente ela seja, sento que para aplicações que necessitam obrigatoriamente uma fonte monoespaçada a solução é se referir à versào antiga da fonte. Se você pegar os dois arquivos de fonte em um visualizador vai verificar que há bastante diferença entre uma fonte e outra, a mais notável é o espaçamento entre caracteres.</p>
<p>Outro impecílio é que no Linux (ao menos no Ubuntu) a fonte aparecia meio &#8220;quadriculada&#8221;, realmente bem estranha no meu monitor LCD, pois eu tenho habilitadas as configurações de &#8220;suavização  de sub-pixel&#8221; e &#8220;contorno completo&#8221;. A fonte fica praticamente inutilizável se for comparar com qualquer outra Mono-espaçada que já estão disponíveis no Linux (Dejavu Sans Mono, Biststream Vera Sans Mono, Monospaced).</p>
<p>A solução foi criar uma configuração específica para a fonte Monaco, e fazer com que ela ignore as configurações default.</p>
<p>Primeiro passo: Criar um arquivo chamado .fonts.conf (com o ponto no início) dentro do diretório home:</p>
<pre>$ gedit ~/.fonts.conf</pre>
<p>e então colocar o seguinte conteúdo neste arquivo:</p>
<pre>&lt;?xml version="1.0"?&gt;
&lt;!DOCTYPE fontconfig SYSTEM "fonts.dtd"&gt;
&lt;fontconfig&gt;
  &lt;match target="font"&gt;
    &lt;test qual="any" name="family"&gt;
      &lt;string&gt;Monaco&lt;/string&gt;
    &lt;/test&gt;
    &lt;edit name="autohint" mode="assign"&gt;
      &lt;bool&gt;true&lt;/bool&gt;
    &lt;/edit&gt;
    &lt;edit name="hintstyle" mode="assign"&gt;
      &lt;const&gt;hintnone&lt;/const&gt;
    &lt;/edit&gt;
  &lt;/match&gt;
&lt;/fontconfig&gt;</pre>
<p>feito isso, a fonte fica em um estado muito mais legível e perfeitamente utilizável para o desenvolvimento.</p>
<p>Veja os screenshots do antes de do depois:</p>
<p><strong>Antes:</strong></p>
<p><strong><img class="alignnone" title="Monaco Before" src="http://alexandredasilva.wordpress.com/files/2008/05/monaco_before.png" alt="" width="641" height="401" /><br />
</strong></p>
<p><strong>Depois</strong></p>
<pre><a href="http://alexandredasilva.files.wordpress.com/2008/05/monaco_after.png"><img class="alignnone" title="Monaco After" src="http://alexandredasilva.wordpress.com/files/2008/05/monaco_after.png" alt="" width="641" height="401" />
</a></pre>
<p>para evitar problemas com aspas, copie o código <a href="http://pastie.caboo.se/201353">daqui</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siverti.com.br/2008/05/22/fonte-monaco-no-ubuntugedit/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
