Giter VIP home page Giter VIP logo

atom-erb's People

Contributors

120photo avatar aergonaut avatar dcalhoun avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

atom-erb's Issues

Wiki Typo

The wiki describes using cmd + shift + . but I found out that it's actually ctrl and not cmd

Shortcut not working on french keyboard

On french keyboard, the shortcut is not cmd+shift+. but ctrl+shift+/ : I'm glad I found it by myself ! This is so helpful, I hope it will soon be better documented and have the toggle feature.

Cycle through ERB tags

I know this is already in the README, but I figured I'd create an issue for it because I'd love to see the ability.

Hitting the key binding multiple times would cycle through the following rather than adding nested ERB tags.

  • <%= %>
  • <%= -%>
  • <%- -%>
  • <%- %>
  • <% %>
  • <%# %>

Deprecated Atom APIs will be removed June 1st

Atom will no longer load this package after June 1st without changes. There are a couple deprecations on the latest version (0.1.0) of this package:

  1. The context menu CSON format has changed. Please see https://atom.io/docs/api/latest/ContextMenuManager#context-menu-cson-format for more info.
  2. Use activationCommands instead of activationEvents in your package.json Commands should be grouped by selector as follows: json "activationCommands": { "atom-workspace": ["foo:bar", "foo:baz"], "atom-text-editor": ["foo:quux"] }
  3. atom.workspaceView is no longer available. In most cases you will not need the view. See the Workspace docs for alternatives: https://atom.io/docs/api/latest/Workspace. If you do need the view, please use atom.views.getView(atom.workspace), which returns an HTMLElement.

Visit https://gist.github.com/benogle/6d09e295c84b717ef9b4 and search for your package name to see up-to-date deprecations.

If this package has been replaced by another package or functionality in core, please reply with this information.

See atom/atom#6867 for more info. Thanks!

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:54:11)
Object.activate (/Users/davidcalhoun/.atom/packages/atom-erb/lib/atom-erb.coffee:3:9)

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:54:11)
Object.erb (/Users/davidcalhoun/.atom/packages/atom-erb/lib/atom-erb.coffee:6:18)

Not working on version 0.176.0

Hey, since the last update in Atom, the keymap stopped working, but the command Atom: Atom-erb using the Command Pallete (cmd+shift+p) still works. Anyone is experiencing this as well?

Failed to activate the atom-erb package

[Enter steps to reproduce below:]

  1. Updated to version 0.190.0.
  2. Re-opened Atom.

Atom Version: 0.190.0
System: Mac OS X 10.10.3
Thrown From: atom-erb package, v0.1.0

Stack Trace

Failed to activate the atom-erb package

At Cannot read property 'command' of undefined

TypeError: Cannot read property 'command' of undefined
    at Object.module.exports.activate (/Users/klynton/Dropbox/Apps/Atom/packages/atom-erb/lib/atom-erb.coffee:4:32)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app/src/package.js:225:19)
    at /Applications/Atom.app/Contents/Resources/app/src/package.js:206:30
    at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app/src/package.js:152:15)
    at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app/src/package.js:199:14)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:435:21)
    at /Applications/Atom.app/Contents/Resources/app/src/package-manager.js:419:29
    at Config.module.exports.Config.transact (/Applications/Atom.app/Contents/Resources/app/src/config.js:302:16)
    at PackageManager.module.exports.PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:414:19)
    at PackageManager.module.exports.PackageManager.activate (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:395:46)

Commands

Config

{
  "core": {
    "ignoredNames": [
      "*.un~"
    ],
    "disabledPackages": [
      "autocomplete",
      "remember-session",
      "pain-split",
      "vim-mode",
      "atom-lint"
    ],
    "themes": [
      "one-dark-ui",
      "atom-light-syntax"
    ],
    "projectHome": "/Users/klynton/src",
    "audioBeep": false
  }
}

Installed Packages

# User
atom-django, v0.2.1
atom-erb, v0.1.0
atom-runner, v2.3.0
autocomplete-clang, v0.6.4
autocomplete-plus, v2.9.0
autoflow-diffable, v0.3.1
color-picker, v1.6.0
command-logger, v0.22.0
django-templates, v0.4.0
editor-stats, v0.17.0
git-plus, v4.4.11
go-plus, v3.3.6
language-puppet, v0.11.0
linter, v0.12.0
linter-clang, v2.25.1
linter-csslint, v0.0.11
linter-erb, v0.1.0
linter-flake8, v1.3.0
linter-flow, v0.1.4
linter-js-yaml, v1.0.0
linter-jsxhint, v0.1.1
linter-pep8, v0.1.0
linter-php, v0.0.12
linter-puppet-lint, v0.2.8
linter-pyflakes, v0.0.4
linter-shellcheck, v0.0.7
linter-tidy, v1.0.0
react, v0.11.2
tabs-to-spaces, v0.9.2

# Dev
No dev packages

cmd-shift-. not working

cmd-shift-. is not working. I have found that ctrl-shift-. will provide the erb tag.
Using: Mac OSX EL CAPITAN v10.11.3

Change hotkeys

I am not sure if I am doing something wrong, but I am unable to get the keybindings to change. Even after altering them an d restarting Atom -it still does not work. I can get it to stop using the default entirely, but I am having trouble assigning a new keybinding.

Am I missing something? Thanks

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.