vortizhe / vscode-ruby-erb Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://marketplace.visualstudio.com/items?itemName=vortizhe.simple-ruby-erb
License: MIT License
Home Page: https://marketplace.visualstudio.com/items?itemName=vortizhe.simple-ruby-erb
License: MIT License
it's not working for me in 0.2.1 version pls fix it.
I installed it on mac and changed the Keyboard shortcut.
This is what you can see in my keybindings.json:
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "cmd+.",
"command": "erb.toggleTags",
"when": "editorTextFocus && editorLangId == 'erb'"
},
{
"key": "ctrl+shift+`",
"command": "-erb.toggleTags",
"when": "editorTextFocus && editorLangId == 'erb'"
}
]
```
Given some HTML in an erb file like this:
<div>
something
</div>
This extension incorrectly adds #
for comments instead of <!-- ... -->
# <div>
# something
# </div>
Hi!
As the title says, there is no highlighting for me. I've downloaded it via VS Code plugin search. Do I need to configure my preferences to make it work?
please ...
๐ฌ
Would love to be able to use this to do tags in Elixir Phoenix (.eex uses the same tags as .erb). I tried remapping the keyboard shortcut to work on .eex files but to no avail.
Hey!
Is it possible to have a checkbox that configures the snippets with double quotes instead of single quotes?
Is there a way to enable toggle only (disable highlighting and snippits)?
Is there a way to change the order of the ERB commands that show up when using the Keyboard shortcuts? I would like to have <% %> show up first. Also would like to add a <% end %> to the cycle too.
extension works fine with files named .erb, but as soon as you use the rails convention html.erb extension no longer provides shortcuts???
When you attempt to use the key command shortcut on a highlighted text segment contained within an HTML tag that already has one erb snippet, it will actually toggle the first erb snippet in the same HTML tag, not create a new erb snippet around the highlighted text.
VSCode Version 1.33.0
It's all in the title. :) Basic install, latest VSCode, yours is the first package I installed. If more info is needed, please let me know, I'll happily provide it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.