Giter Club home page Giter Club logo

handcrafted-haml-textmate-bundle's Introduction

#Handcrafted HAML TextMate Bundle

##Description

The Handcrafted HAML TextMate Bundle is a TextMate bundle to aid in rapid HAML development.

##Credits

Created by Adam Stacoviak, co-founder of Handcrafted, a Rails Development Consulting Firm.

Parts of this bundle were ported from the official Ruby Haml TextMate bundle. The filter snippets were ported from Matt Polito's ruby-haml.tmbundle.

##Installation

  1. $ cd ~/Library/Application\ Support/TextMate/Bundles/
  2. $ git clone git://github.com/handcrafted/handcrafted-haml-textmate-bundle.git HAML-Handcrafted.tmbundle
  3. $ osascript -e 'tell app "TextMate" to reload bundles'

handcrafted-haml-textmate-bundle's People

Contributors

handcrafted avatar queso 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  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

handcrafted-haml-textmate-bundle's Issues

error when trying to automatically convert from HTML

clean install of textmate and handcrafted version of Ruby HAML bundle installed with git clone

/Users/ababkin/.gem/ruby/1.8/gems/haml-2.2.23/lib/haml/html.rb:95:in initialize': private methodgsub' called for nil:NilClass (NoMethodError)
from -e:1:in `new'
from -e:1

Convert HTML to HAML error

This is what I get when I try using "Convert HTML to HAML"

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:827:in report_activate_error': Could not find RubyGem haml (>= 0) (Gem::LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:261:inactivate'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:68:in `gem'
from -e:1

This text replaces everything in the current file. Haml is working. I'm using haml 3.1.3, Rails 3, Textmate 1.5.10, Ruby 1.9.2-p290, OS 10.6.8. I installed the bundle into ~/Library/etc.

Indentation issue with Textmate 2

When I start editing a line that was indented the indentation is removed. It doesn't happen with Textmate 1 just version 2. I'm running build 9147 on OS 10.8

Broken Ruby Hash Pointer (=>) keyboard shortcut

TextMate's built-in Ruby bundle defines a keyboard shortcut of control+l for a hash pointer/rocket. This works in the Ruby on Rails bundle and the original Haml bundle, but does not in the handcrafted haml bundle.

Web Preview HAML?

Is it possible to do a live rendered preview of HAML in textmate 2? Is this something you could add?

Could Not Find RubyGem haml

Using a fresh install of Ruby 1.9.2 (via RVM), Textmate, and the Handcrafted Haml bundle, I get the following error when trying to convert from HTML to Haml:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:827:in report_activate_error': Could not find RubyGem haml (>= 0) (Gem::LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:261:inactivate'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:68:in `gem'
from -e:1

I ran sudo gem install haml and it installed successfully. The output of ruby -v is 1.9.2p180. It seems like TM is still looking for my system (Mac OS X) version of Ruby, not the new one I installed. Any thoughts?

no syntax-highlighting inside :javascript

Hi :)
It would be great if your bundle could highlight the javascript-code inside something like this:

:javascript
    function setCurrentNavigation(current) {
        $("li."+current).addClass("active");
    };

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.