Giter Site home page Giter Site logo

otg-kalex / vscode-ruby-rubocop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from misogi/vscode-ruby-rubocop

0.0 2.0 0.0 123 KB

rubocop extention for Visual Studio Code

Home Page: https://marketplace.visualstudio.com/items/misogi.ruby-rubocop

TypeScript 100.00%

vscode-ruby-rubocop's Introduction

Rubocop for Visual Studio Code

Visual Studio Code でrubocopを実行するエクステンションです。

rubocop is code analyzer for ruby.

ruby rubocop in Code Market Place

execute rubocop

  • by execute command "Ruby: execute rubocop" (press F1)
  • on Saving .rb file

exec on save

Installation

Installation of ruby and rubocop is required.

gem install rubocop
  • Type F1
  • execute "Extensions: install extension"
  • type rubocop and execute ext install ruby-rubocop

Configuration

Speciry configuration

{
	//  or "ruby.rubocop.executePath": "/Users/you/.rbenv/shims/"
	"ruby.rubocop.executePath": "D:/bin/Ruby22-x64/bin/",

	// default true
	"ruby.rubocop.onSave": true
}

todo

  • more configurable command line option (like -R)
  • integration with rbenv

vscode-ruby-rubocop's People

Contributors

misogi avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.