Modify new project templates in rubymine

Answered

I'd like to be able to modify the default template that is used when generating e.g. a new Gem in Rubymine. It does not conform to rubocop's standards so I find myself continually having to go through each file to make changes before actually starting any work.

3 comments
Comment actions Permalink

Hello Charles,

could you please specify what exactly you'd like to modify and what doesn't comply with RuboCop's standards.

0
Comment actions Permalink

Off the top of my head..
Many uses throughout files of double quotes where single quotes are preferred.
Also in the generated .gemspec, the lib load path uses __DIR__ instead of __dir__.

0
Comment actions Permalink

A gem is created via bundler (https://bundler.io/v1.17/guides/creating_gem.html), so most likely in case you launch the same command in Terminal you'll get a similar project.

0

Please sign in to leave a comment.