Giter VIP home page Giter VIP logo

set-syntax's Issues

Key binding is not working

Is command set-syntax:language correct?

I'm trying to bind set-syntax:ruby or set-syntax:json but nothing happens.
As you can see in image below, command was executed but language still Plain Text
image

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:53:11)
createCommand (/Users/lichengwu/.atom/packages/set-syntax/lib/main.coffee:16:9)

Failed to activate the set-syntax package

Error: Arguments to CompositeDisposable.add must have a .dispose() method

Trace:
TypeError: Arguments to CompositeDisposable.add must have a .dispose() method
at assertDisposable (C:\Users\master\AppData\Local\atom\app-1.11.2\resources\app.asar\node_modules\event-kit\lib\composite-disposable.js:70:13)
at CompositeDisposable.module.exports.CompositeDisposable.add (C:\Users\master\AppData\Local\atom\app-1.11.2\resources\app.asar\node_modules\event-kit\lib\composite-disposable.js:43:11)
at file:///C:/Users/master/.atom/packages/set-syntax/lib/main.coffee:11:20
at Array.map (native)
at Object.module.exports.activate (file:///C:/Users/master/.atom/packages/set-syntax/lib/main.coffee:10:33)
at Package.module.exports.Package.activateNow (C:\Users\master\AppData\Local\atom\app-1.11.2\resources\app.asar\src\package.js:183:20)
at C:\Users\master\AppData\Local\atom\app-1.11.2\resources\app.asar\src\package.js:156:32
at Package.module.exports.Package.measure (C:\Users\master\AppData\Local\atom\app-1.11.2\resources\app.asar\src\package.js:92:15)
at C:\Users\master\AppData\Local\atom\app-1.11.2\resources\app.asar\src\package.js:149:26
at Package.module.exports.Package.activate (C:\Users\master\AppData\Local\atom\app-1.11.2\resources\app.asar\src\package.js:146:34)
at PackageManager.module.exports.PackageManager.activatePackage (C:\Users\master\AppData\Local\atom\app-1.11.2\resources\app.asar\src\package-manager.js:538:21)
at C:\Users\master\AppData\Local\atom\app-1.11.2\resources\app.asar\node_modules\settings-view\lib\package-manager.js:397:31
at process._tickCallback (internal/process/next_tick.js:103:7)

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.