Modify new project templates in rubymine
已回答
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.
请先登录再写评论。
Hello Charles,
could you please specify what exactly you'd like to modify and what doesn't comply with RuboCop's standards.
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__.
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.