Using capistrano and PHPstorm

I started using PHPstorm as my main code editor when working with Wordpress and Drupal 7/8 sites. We've automated our deployment using Capistrano. Capistrano is a Ruby tool that allows you to run scripts on a remote server.

Because Capistrano is written in Ruby, PHPstorm does not offer any highlighting and hinting and I should get RubyMine or the enterprise edition of the editor to be able to have that functionality. Right now I am using Sublime text next to PHPstorm just to write the deploy scripts. This isn't really optimal for efficiency, but it's kinda stupid to just upgrade to the enterprise edition just to be able to write a few deploy scripts.

Does anyone have a way to optimise this way of working? If not, I will just be using Sublime text when dealing with Capistrano, but I rather do it more efficiently.

 

0
Avatar
Permanently deleted user

Hi,

There's "TextMate bundles support" plugin that lets you customize highlighting for file types via bundles you can create or download from the web.

I would suggest to use this along with some 3rd-party Ruby bundle (for example, https://github.com/textmate/ruby.tmbundle or any other) for highlighting in Ruby files.

0

请先登录再写评论。