GithubHelp home page GithubHelp logo

masterzen / puppet-textmate-bundle Goto Github PK

View Code? Open in Web Editor NEW
79.0 7.0 36.0 220 KB

a TextMate puppet manifests bundle

Home Page: http://www.masterzen.fr/software-contributions/puppet-textmate-bundle/

License: Other

Puppet 100.00%

puppet-textmate-bundle's Introduction

Puppet TextMate Bundle

This is a TextMate bundle (http://www.macromates.com/) for Puppet manifests (http://www.puppetlabs.com/).

TextMate 2 is Open Source and available from (http://github.com/textmate/textmate).

(It may work for Sublime Edit 2)

Install

To install, clone this repository and drag the puppet-textmate.tmbundle directory on the TextMate icon. The installation will then be automatic.

Overview

###This bundle directly supports :

  • syntax highlighting of most of the puppet syntax
  • common resources or standard language snippets
  • command to check syntax of manifests (puppet parser validate) with ctrl-shift-v
  • function menu containing hierarchical class/nodes/define and resources titles
  • validates puppet on save with puppet-lint **
  • validates all puppet in project with ctrl+option+v **

To use last two features you need to have puppet-lint installed, on the command-line. To install it, type on your terminal:

sudo gem install puppet-lint puppet

Other standard textmate functions that are handy for writing puppet code:

  • command+option+] aligns the current set of assignments (=>)
  • ctrl-shift-' switches from a single quote to double quote and back.

puppet-textmate-bundle's People

Contributors

arioch avatar bowsersenior avatar cburyta avatar codec avatar jakob-stoeck avatar matthewbarr avatar mxey avatar pmenglund avatar shazburg avatar skurfer avatar ttilley avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

puppet-textmate-bundle's Issues

Segmentation

This Github project is quite segmented. We need to get our act together and start completing pull requests or start a fresh repo. Thoughts/Comments?

puppet-lint integration error message

Initially, when I save, TextMate 2 reports a "Validate On Save" error that it cannot find puppet-lint.

I tried both

  1. modifying the path to puppet-lint in the bundle settings
  2. creating a soft link to puppet-lint in /usr/bin

with both modifications I now get a new "Validate On Save" error popup saying:
env: ruby_noexec_wrapper: No such file or directory

I tried workarounds like setting TM_RUBY in the TextMate 2 preferences to the output of "which ruby" and "which rvm-auto-ruby", but neither solution helped.

Thanks for any help you can provide.

Modify README installation instructions

According to the README

To install, clone this repository and drag the puppet-textmate.tmbundle directory on the TextMate icon. The installation will then be automatic.

After cloning the repo there is NO such directory:

  • after cloning - got puppet-textmate-bundle folderfolder
  • after downloading as ZIP - got puppet-textmate-bundle-master folder

Dragging the above folder to the Textmate icon in the doc makes nothing but opening the current folder in Textmate.

Reproduced on Textmate TextMate version 2.0-alpha.9515
OS X 10.9.1, build 13B42.

Any idea ?
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.