Coder Social home page Coder Social logo

c9-snippets's Introduction

c9-snippets

This is "snippets" for the Cloud 9 IDE.

Add this plugin to the editor and you'll be able to add code completion snippets the editor.

Currently the plugin creates a snippets folder with a sample snippet in it that you can activate by typing html5 and then Command-Shift-U (Ctrl-Shift-U on PC).

The "html5" text will be replaced with the contents of the html5 file in the snippets folder.

To add a snippet, just create a new file in the snippets folder named with something that is easy for you to remember. Type that name in the editor, press Command-Shift-U and the contents of the file will replace what you just typed.

TODO: add some additional snippets, and a nice UX for creating snippets. Might be nice to make the snippets a web service so that they can be shared and don't rely on local files to work.

c9-snippets's People

Contributors

markus0fkelt avatar roboweaver avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

c9-snippets's Issues

Having trouble installing and getting started.

I would love to use this plugin to create custom snippets in Cloud9, but I'm having trouble installing it and getting started.

When I run
c9 install snippets

I get the following error

c9 install snippets --force
module.js:327
    throw err;
    ^

Error: Cannot find module 'npmlog'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at /mnt/shared/sbin/npm:18:11
    at Object.<anonymous> (/mnt/shared/sbin/npm:75:3)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
Command failed: /mnt/shared/sbin/npm

Do you have any idea what could be going wrong? Are you able to use this plugin yourself? Please let me know anything I can do to help get it working. I would absolutely love to be able to use custom snippets on cloud9

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.