segunda-feira, 17 de novembro de 2014

Hack plug-in para Sublime Text

Hoje eu gostaria de mostrar como utilizar o plug-in Hack para Sublime Text. Com ele você pode usar a TypeChecker no Sublime Text.

Vamos começar. Primeiro você precisa fazer o download do Sublime Text. E você deve baixar o arquivo zip que contém o plug-in hack-sublime

$ mv Hack.sublime-package ~/.config/sublime-text-<Your version>/Installed Packages/Hack.sublime-package

Finalmente, você só precisa abrir o seu Sublime Text e criar um documento iniciando com <?hh.
 

Fonte: SiebelsTim

Hack plug-in to Sublime Text

Today I'd like to introduce the Hack plug-in to Sublime Text. With it you can use the TypeChecker on Sublime Text.

Let's start. First you need to download the Sublime Text. After you should download the zip-archive that contains the plug-in hack-sublime.

After that, you can open a terminal and go to the directory that you downloaded the plug-in and use the command bellow:

$ mv Hack.sublime-package ~/.config/sublime-text-<Your version>/Installed Packages/Hack.sublime-package

Finally you just need to open your Sublime Text and create a document beginning with <?hh.



Source: SiebelsTim