Has anyone done this for textmate? Just wondered before I hack it together... -Blake --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Juri Rischel Jensen
2008-Aug-14 06:08 UTC
[Puppet Users] Re: textmate syntax highlighting?
On Aug 14, 2008, at 07:39 , Blake Barnett wrote:> Has anyone done this for textmate? Just wondered before I hack it > together...I did it, but unfortunately I had a HD crash before I got it released, and lost it because of a missing backup :-( I haven''t had the time to give it a stab again but plan to do it later. I wighted tab-completion of whole types just based on their name higher than the syntax highlighting. But it relies heavily on a steady maintainer, as the types evolves over time. But maybe you can do the highlighting and I can do the tab- completion...? -- Med venlig hilsen/Best regards Juri Rischel Jensen Fab:IT ApS Vesterbrogade 50 DK-1620 København Tlf: +45 70 202 407 www.fab-it.dk --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Aug 13, 2008, at 11:08 PM, Juri Rischel Jensen wrote:> > > On Aug 14, 2008, at 07:39 , Blake Barnett wrote: >> Has anyone done this for textmate? Just wondered before I hack it >> together... > > I did it, but unfortunately I had a HD crash before I got it released, > and lost it because of a missing backup :-( I haven''t had the time to > give it a stab again but plan to do it later. > > I wighted tab-completion of whole types just based on their name > higher than the syntax highlighting. But it relies heavily on a steady > maintainer, as the types evolves over time. > > But maybe you can do the highlighting and I can do the tab- > completion...?Sure. I''ve never done TM highlighting though, have any pointers or a starting point? Thanks, -Blake --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Juri Rischel Jensen
2008-Aug-14 07:52 UTC
[Puppet Users] Re: textmate syntax highlighting?
On Aug 14, 2008, at 08:11 , Blake Barnett wrote:> Sure. I''ve never done TM highlighting though, have any pointers or a > starting point?What I did was copy a lot from the ruby bundle. Just create a new bundle in the bundle editor, and start copying things over, one at a time and make changes. Test as you go along. I also bought a screencast from Peepcode - http://peepcode.com/products/textmate-for-rails-2 It''s Rails-specific, but in the ind there''s a section about making your own code snippets and commands. I''ve not had the chance to look thoroughly through it yet, but I think there''s some cool tips and the video also shows the power you can unleash with textmate and a well- done bundle. And the price is only 9$.... (I''m _not_ in any way affiliated with Peepcode - I just wanted to mention it!) -- Med venlig hilsen/Best regards Juri Rischel Jensen Fab:IT ApS Vesterbrogade 50 DK-1620 København Tlf: +45 70 202 407 www.fab-it.dk --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, On Thu, August 14, 2008 07:39, Blake Barnett wrote:> > Has anyone done this for textmate? Just wondered before I hack it > together...I have an extremly limited TextMate bundle. Until now, I didn''t released it as it only offer a quite limited Syntax highlighting, but you''ve given me the opportunity to publish it. You''ll find the bundle in my github repository: http://github.com/masterzen/puppet-textmate-bundle/tree/master You just have to git clone the repository and then drag the Puppet.tmbundle filder to the TextMate icon to install it (I didn''t test that part). Please feel free to complete/amend/finish it :-) Thanks, -- Brice Figureau Days of Wonder, Inc. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Aug 14, 2008, at 5:13 AM, Brice Figureau wrote:> > Hi, > > On Thu, August 14, 2008 07:39, Blake Barnett wrote: >> >> Has anyone done this for textmate? Just wondered before I hack it >> together... > > I have an extremly limited TextMate bundle. > Until now, I didn''t released it as it only offer a quite limited > Syntax > highlighting, but you''ve given me the opportunity to publish it. > > You''ll find the bundle in my github repository: > http://github.com/masterzen/puppet-textmate-bundle/tree/master > > You just have to git clone the repository and then drag the > Puppet.tmbundle filder to the TextMate icon to install it (I didn''t > test > that part). > > Please feel free to complete/amend/finish it :-)Excellent, thanks Brice. I''ll let you know any changes I make. -Blake --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
>> > > Excellent, thanks Brice. I''ll let you know any changes I make.I''ve had this on the back burner myself, so I''m happy to help contribute. d. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Thu, August 14, 2008 21:05, Darrell Fuhriman wrote:> >>> >> >> Excellent, thanks Brice. I''ll let you know any changes I make. > > I''ve had this on the back burner myself, so I''m happy to help > contribute.Thanks everybody, that''d be great to have a complete bundle. Right now, the syntax highlighting is very limited (and the grammar doesn''t contribute the class/resource name to the function pop-up), but at least it''s a starting foundation for everybody to contribute :-) -- Brice Figureau Days of Wonder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Thu, August 14, 2008 22:35, Brice Figureau wrote:> > > On Thu, August 14, 2008 21:05, Darrell Fuhriman wrote: >> >>>> >>> >>> Excellent, thanks Brice. I''ll let you know any changes I make. >> >> I''ve had this on the back burner myself, so I''m happy to help >> contribute. > > Thanks everybody, that''d be great to have a complete bundle. > > Right now, the syntax highlighting is very limited (and the grammar > doesn''t contribute the class/resource name to the function pop-up), but at > least it''s a starting foundation for everybody to contribute :-)I had a couple of spare hours today, so I pushed to my github repository an enhanced version of the Puppet bundle with the following changes: * Added a layout for the menu * New syntax highlighting (define, define parameter, variables, resource, resource title, single quoted strings...) * Added a syntax validation command (which calls puppet --parseonly) * Hierarchical "Symbol List" (ie Class/Nodes, then resource titles) * various snippets improvements The repository is available here: http://github.com/masterzen/puppet-textmate-bundle/tree/master Please enjoy :-) and do not hesitate to improve it. -- Brice Figureau Days of Wonder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Aug 16, 2008, at 2:34 PM, Brice Figureau wrote:> > > On Thu, August 14, 2008 22:35, Brice Figureau wrote: >> >> >> On Thu, August 14, 2008 21:05, Darrell Fuhriman wrote: >>> >>>>> >>>> >>>> Excellent, thanks Brice. I''ll let you know any changes I make. >>> >>> I''ve had this on the back burner myself, so I''m happy to help >>> contribute. >> >> Thanks everybody, that''d be great to have a complete bundle. >> >> Right now, the syntax highlighting is very limited (and the grammar >> doesn''t contribute the class/resource name to the function pop-up), >> but at >> least it''s a starting foundation for everybody to contribute :-) > > I had a couple of spare hours today, so I pushed to my github > repository > an enhanced version of the Puppet bundle with the following changes: > * Added a layout for the menu > * New syntax highlighting (define, define parameter, variables, > resource, > resource title, single quoted strings...) > * Added a syntax validation command (which calls puppet --parseonly) > * Hierarchical "Symbol List" (ie Class/Nodes, then resource titles) > * various snippets improvements > > The repository is available here: > http://github.com/masterzen/puppet-textmate-bundle/tree/master > > Please enjoy :-) and do not hesitate to improve it.This is awesome, thanks. -- The salesman asked me what size I wore, I told him extra-medium. -- Stephen Wright --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Sun, August 17, 2008 06:00, Luke Kanies wrote:> On Aug 16, 2008, at 2:34 PM, Brice Figureau wrote: >> On Thu, August 14, 2008 22:35, Brice Figureau wrote: >>> On Thu, August 14, 2008 21:05, Darrell Fuhriman wrote: >>>>> Excellent, thanks Brice. I''ll let you know any changes I make. >>>> >>>> I''ve had this on the back burner myself, so I''m happy to help >>>> contribute. >>> >>> Thanks everybody, that''d be great to have a complete bundle. >>> >>> Right now, the syntax highlighting is very limited (and the grammar >>> doesn''t contribute the class/resource name to the function pop-up), >>> but at >>> least it''s a starting foundation for everybody to contribute :-) >> >> I had a couple of spare hours today, so I pushed to my github >> repository >> an enhanced version of the Puppet bundle with the following changes: >> * Added a layout for the menu >> * New syntax highlighting (define, define parameter, variables, >> resource, >> resource title, single quoted strings...) >> * Added a syntax validation command (which calls puppet --parseonly) >> * Hierarchical "Symbol List" (ie Class/Nodes, then resource titles) >> * various snippets improvements >> >> The repository is available here: >> http://github.com/masterzen/puppet-textmate-bundle/tree/master >> >> Please enjoy :-) and do not hesitate to improve it. > > This is awesome, thanks.Thanks :-) I just pushed a revised version that fixes some mis-highlights on various parts of the grammar... -- Brice Figureau Days of Wonder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
This sounds awesome. I unfortunately don''t have git installed on my Mac. Some Googling gives some options: http://bc.tech.coop/blog/070827.html Any advice for getting a working GIT? (I lean towards getting macports up and running if no one else has any suggestions). Cheers, -Brian On Sun, Aug 17, 2008 at 11:23 AM, Brice Figureau <brice-puppet@daysofwonder.com> wrote:> > > On Sun, August 17, 2008 06:00, Luke Kanies wrote: >> On Aug 16, 2008, at 2:34 PM, Brice Figureau wrote: >>> On Thu, August 14, 2008 22:35, Brice Figureau wrote: >>>> On Thu, August 14, 2008 21:05, Darrell Fuhriman wrote: >>>>>> Excellent, thanks Brice. I''ll let you know any changes I make. >>>>> >>>>> I''ve had this on the back burner myself, so I''m happy to help >>>>> contribute. >>>> >>>> Thanks everybody, that''d be great to have a complete bundle. >>>> >>>> Right now, the syntax highlighting is very limited (and the grammar >>>> doesn''t contribute the class/resource name to the function pop-up), >>>> but at >>>> least it''s a starting foundation for everybody to contribute :-) >>> >>> I had a couple of spare hours today, so I pushed to my github >>> repository >>> an enhanced version of the Puppet bundle with the following changes: >>> * Added a layout for the menu >>> * New syntax highlighting (define, define parameter, variables, >>> resource, >>> resource title, single quoted strings...) >>> * Added a syntax validation command (which calls puppet --parseonly) >>> * Hierarchical "Symbol List" (ie Class/Nodes, then resource titles) >>> * various snippets improvements >>> >>> The repository is available here: >>> http://github.com/masterzen/puppet-textmate-bundle/tree/master >>> >>> Please enjoy :-) and do not hesitate to improve it. >> >> This is awesome, thanks. > > Thanks :-) > I just pushed a revised version that fixes some mis-highlights on various > parts of the grammar... > -- > Brice Figureau > Days of Wonder > > > > >-- - Brian Gupta http://opensolaris.org/os/project/nycosug/ http://www.genunix.org/wiki/index.php/OpenSolaris_New_User_FAQ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Sun, August 17, 2008 19:06, Brian Gupta wrote:> > This sounds awesome. I unfortunately don''t have git installed on my > Mac. Some Googling gives some options: > http://bc.tech.coop/blog/070827.html Any advice for getting a working > GIT? (I lean towards getting macports up and running if no one else > has any suggestions).You can try to use the "download" button on the github repository, the direct access url is: http://github.com/masterzen/puppet-textmate-bundle/tarball/master Or install git from: http://code.google.com/p/git-osx-installer/downloads/list?can=3 Or install macports (how could you live without macports until now :-)). Then it is just a matter of doing: sudo port install git-core Hope that''ll help, Thanks, -- Brice Figureau Days of Wonder --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Sun, Aug 17, 2008 at 11:10 AM, Brice Figureau < brice-puppet@daysofwonder.com> wrote:> > > On Sun, August 17, 2008 19:06, Brian Gupta wrote: > > > > This sounds awesome. I unfortunately don''t have git installed on my > > Mac. Some Googling gives some options: > > http://bc.tech.coop/blog/070827.html Any advice for getting a working > > GIT? (I lean towards getting macports up and running if no one else > > has any suggestions). > > You can try to use the "download" button on the github repository, the > direct access url is: > http://github.com/masterzen/puppet-textmate-bundle/tarball/master > > Or install git from: > http://code.google.com/p/git-osx-installer/downloads/list?can=3 > > Or install macports (how could you live without macports until now :-)). > Then it is just a matter of doing: > sudo port install git-core >Note that in some cases (like if you have perforce installed) you''ll get an error like: patch: **** Can''t get file makedepend.SH from Perforce and the answer is to do: POSIXLY_CORRECT=1 port install git-core While we''re chatting about MacPorts, as soon as the next stable release of puppet comes out since the customizable install.rb have been submitted, I''ll do MacPorts and Fink packages for Puppet. -- Nigel Kersten Systems Administrator Tech Lead - MacOps --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---