<?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/tag/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>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>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>
		<item>
		<title>new gedit-todo bugfix subrelease</title>
		<link>http://blog.siverti.com.br/2008/02/08/new-gedit-todo-bugfix-subrelease/</link>
		<comments>http://blog.siverti.com.br/2008/02/08/new-gedit-todo-bugfix-subrelease/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 00:55:46 +0000</pubDate>
		<dc:creator>alexandre</dc:creator>
				<category><![CDATA[Gedit]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[textmate]]></category>
		<category><![CDATA[todo]]></category>

		<guid isPermaLink="false">http://blog.siverti.com.br/?p=32</guid>
		<description><![CDATA[Liberada nova subrelease do gedit-todo, contendo apenas a correção de um bug que poderia impossibilitar o uso do plugin em um ambiente multiusuário. obtenha a nova versão em sourceforge.net Is out a new gedit-todo subrelease, just to fix a bug that could impossibility the use of todo-plugin in an multiuser environment. check out the new [...]]]></description>
			<content:encoded><![CDATA[<p>Liberada nova subrelease do gedit-todo, contendo apenas a correção de um bug que poderia impossibilitar o uso do plugin em um ambiente multiusuário.</p>
<p>obtenha a nova versão em <a title="sourceforge.net" href="http://sourceforge.net/projects/gedit-todo">sourceforge.net</a></p>
<hr />Is out a new gedit-todo subrelease, just to fix a bug that could impossibility the use of todo-plugin in an multiuser environment. check out the new version at <a title="sourceforge.net" href="http://sourceforge.net/projects/gedit-todo">sourceforge.net</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siverti.com.br/2008/02/08/new-gedit-todo-bugfix-subrelease/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Subversion no Gedit</title>
		<link>http://blog.siverti.com.br/2007/12/17/subversion-no-gedit/</link>
		<comments>http://blog.siverti.com.br/2007/12/17/subversion-no-gedit/#comments</comments>
		<pubDate>Mon, 17 Dec 2007 15:25:13 +0000</pubDate>
		<dc:creator>alexandre</dc:creator>
				<category><![CDATA[Gedit]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[controle de versão]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[version control]]></category>

		<guid isPermaLink="false">http://blog.siverti.com.br/2007/12/17/subversion-no-gedit/</guid>
		<description><![CDATA[Quem nunca quis utilizar o subversion ou o cvs diretamente do editor gedit? Acredito que muitas pessoas já procuraram por algum plugin que fizesse isto. Mas a solução pode ser mais simples do que encontrar um plugin novo, e nem é preciso criar um plugin novo, basta utilizar um existente que já vem no pacote [...]]]></description>
			<content:encoded><![CDATA[<p>Quem nunca quis utilizar o subversion ou o cvs diretamente do editor gedit?</p>
<p>Acredito que muitas pessoas já procuraram por algum plugin que fizesse isto. Mas a solução pode ser mais simples do que encontrar um plugin novo, e nem é preciso criar um plugin novo, basta utilizar um existente que já vem no pacote oficial de plugins do Gedit, eu falo do External Tools (Ferramentas Externas em português), este plugin simplifica a utilização de comandos do shell a serem executados dentro do Gedit, criando para cada comando adicionado, uma entrada  no menu Tools(Ferramentas). Para facilitar as coisas é possível pegar o path do arquivo atual do Gedit e a pasta de trabalho para trabalhar com elas pois estas informações encontram-se em variáveis do sistema.</p>
<p>Vamos por a mão na massa então:</p>
<p>Como eu uso uma distribuição &#8220;Debian Based&#8221;, vou abordar a instalação com este tipo de sistema.</p>
<p>O primeiro passo seria instalar o pacote de plugins oficial do gedit, que pode ser obtido através do comando:</p>
<p><code>$ sudo apt-get install gedit-plugins<br />
</code></p>
<p>instalado podemos ativar o plugin external-tools</p>
<p><a href="http://blog.siverti.com.br/wp-content/uploads/2007/12/external-tools.jpg" title="Activate external tools"><img src="http://blog.siverti.com.br/wp-content/uploads/2007/12/external-tools.jpg" alt="Activate external tools" /></a></p>
<p>Clicando no botão &#8220;Configure Plugin&#8221;, podemos acessar a tela de adição e edição de comandos externos.</p>
<p><a href="http://blog.siverti.com.br/wp-content/uploads/2007/12/extern-tools-man-cut.jpg" title="External tools config screen"><img src="http://blog.siverti.com.br/wp-content/uploads/2007/12/extern-tools-man-cut.jpg" alt="External tools config screen" /></a></p>
<p>Eu criei alguns que eu achei úteis para o subversion:</p>
<p><i><b>Add &#8211; Adicionar arquivo ao controle de versão:</b></i><b>Configurações</b><br />
Input: Nada<br />
Output: Painel Inferior<br />
Applicability : Todos os documentos exceto não salvos<i>Código:</i></p>
<p><i>Código:</i></p>
<pre>
#!/bin/sh
echo "Executing svn add......"
svn add $GEDIT_CURRENT_DOCUMENT_PATH
echo "svn add has been executed."</pre>
<p><b><i>Commit &#8211; Enviar Arquivos para o controle de versão</i></b></p>
<p><b>Configurações</b><br />
Input: Nada<br />
Output: Painel Inferior<br />
Applicability : Arquivos Locais apenas</p>
<p><i>Código:</i></p>
<pre>
#!/bin/sh
echo "Executing svn commit......"
MESSAGE=`zenity --width 520 --entry
--title="SVN - COMMIT" --text="Enter a comment"`
svn commit $GEDIT_CURRENT_DOCUMENT_DIR -m $MESSAGE
echo "svn commit has been executed with message '$MESSAGE'."</pre>
<p><i><b>Revert &#8211; Desfazer alterações locais no arquivo restaurando o original</b></i></p>
<p><b>Configurações</b><br />
Input: Nada<br />
Output: Painel Inferior<br />
Applicability : Arquivos locais apenas</p>
<p><i>Código:</i></p>
<pre>
#!/bin/sh
echo "Executing svn revert......"
zenity --question --text="This operation cannot be undo. do
you realy want to continue?"
if [ $? != 1 ]; then
    svn revert $GEDIT_CURRENT_DOCUMENT_PATH
    echo "svn revert has been executed."
else
    echo "svn revert not executed"
fi</pre>
<p><i><b>Status &#8211; Exibe o status dos arquivos versionados</b></i></p>
<p><b>Configurações</b><br />
Input: Nada<br />
Output: Painel Inferior<br />
Applicability : Todos os documentos</p>
<p><i>Código:</i></p>
<pre>
#!/bin/sh
echo "Executing svn status......"
svn status $GEDIT_CURRENT_DOCUMENT_DIR</pre>
<p>Todos os comandos foram escritos em script shell e podem ser melhorados,<br />
além de poder criar novos adequando para a sua necessidade. alguns deles utilizam o <a href="http://freshmeat.net/projects/zenity" title="Zenity">zenity</a> para exibir caixas de dialogo com o usuário, no meu sistema (ubuntu 7.10 Gutsy) já veio instalado,caso o seu sistema não possua tente instalar via apt-get ou visite o <a href="http://freshmeat.net/projects/zenity" title="Zenity">site</a> do projeto.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siverti.com.br/2007/12/17/subversion-no-gedit/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Mais gedit/textmate</title>
		<link>http://blog.siverti.com.br/2007/10/30/mais-gedittextmate/</link>
		<comments>http://blog.siverti.com.br/2007/10/30/mais-gedittextmate/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 17:02:33 +0000</pubDate>
		<dc:creator>alexandre</dc:creator>
				<category><![CDATA[Gedit]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[gedit plugins]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://blog.siverti.com.br/2007/10/30/mais-gedittextmate/</guid>
		<description><![CDATA[Para fazer seu gedit ficar mais parecido ainda com o textmate, você pode serguir as dicas deste blog : http://grigio.org/textmate_gedit_few_steps e mais um pouco de informação, aqui: http://blog.nationcode.com/2007/5/30/emular-textmate-en-linux More gedit/textmate To get your gedit like textmate, you can folow the tips from this blog: http://grigio.org/textmate_gedit_few_steps and more information, here: http://blog.nationcode.com/2007/5/30/emular-textmate-en-linux]]></description>
			<content:encoded><![CDATA[<p>Para fazer seu gedit ficar mais parecido ainda com o textmate, você pode serguir as dicas deste blog :</p>
<p><a href="http://grigio.org/textmate_gedit_few_steps" title="http://grigio.org/textmate_gedit_few_steps">http://grigio.org/textmate_gedit_few_steps</a></p>
<p>e mais um pouco de informação, aqui:</p>
<p><a href="http://blog.nationcode.com/2007/5/30/emular-textmate-en-linux" title="http://blog.nationcode.com/2007/5/30/emular-textmate-en-linux">http://blog.nationcode.com/2007/5/30/emular-textmate-en-linux</a></p>
<h2>More gedit/textmate</h2>
<p>To get your gedit like textmate, you can folow the tips from this blog:</p>
<p><a href="http://grigio.org/textmate_gedit_few_steps" title="http://grigio.org/textmate_gedit_few_steps">http://grigio.org/textmate_gedit_few_steps</a></p>
<p>and more information, here:</p>
<p><a href="http://blog.nationcode.com/2007/5/30/emular-textmate-en-linux" title="http://blog.nationcode.com/2007/5/30/emular-textmate-en-linux">http://blog.nationcode.com/2007/5/30/emular-textmate-en-linux</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.siverti.com.br/2007/10/30/mais-gedittextmate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
