phegman / vscode-rails-partial

Definition and Completion provider for Rails Partial.

Home Page:https://marketplace.visualstudio.com/items?itemName=aki77.rails-partial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a fork that adds support for two new settings:

railsPartial.renderMethods - The render methods that this plugin detects. Useful for custom render methods. railsPartial.viewFilePaths - The paths where the partials are. Helpful if they are in multiple directories.

How to install this fork?

  1. Clone this repository
  2. Make sure this repository is your working directory and run code --install-extension rails-partial-0.3.4.vsix

Rails Partial

Definition, Completion and CodeAction provider for Rails Partial.

Features

Definition

Definition

Completion

Completion

CodeAction

CodeAction

Extension Settings

If you want to change template engine like haml, override default setting in setting view.

  • railsPartial.viewFileExtensions: [html.haml, html.slim, html.erb]

About

Definition and Completion provider for Rails Partial.

https://marketplace.visualstudio.com/items?itemName=aki77.rails-partial


Languages

Language:TypeScript 100.0%