Git Product home page Git Product logo

vscode-ruby-erb's People

Contributors

vortizhe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vscode-ruby-erb's Issues

It is not working on mac

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'"
  }
]
```

Comment commands insert # instead of HTML comments

Given some HTML in an erb file like this:

<div>
  something
</div>

This extension incorrectly adds # for comments instead of <!-- ... -->

  1. Select some text
  2. Command Palette -> Toggle Block Comment
  3. Disaster strikes!
# <div>
#   something
# </div>

Syntax Highlighting doesn't work

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?

Enable Tags for Other Languages

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.

not working with html.erb files

extension works fine with files named .erb, but as soon as you use the rails convention html.erb extension no longer provides shortcuts???

Bug: Shortcut only works once per html tag

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

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.