Re: [Puppet Users] Puppet syntax check for Komodo Edit

2012-02-17 Thread Spirit
I was tried to find syntax highlighting for komodo and did not found it. But i 
found gepetto that based on eclipse. Try it.


On 17.02.2012 21:44, Alexander Fortin wrote:

Hi folks,

Recently I've been using a MacBook Pro (Lion) as a workstation, I'm
feeling good even if still missing some tool (coming from Ubuntu
environment).

I'd like to have a cross platform IDE with basic Puppet syntax
highlight, so far the one that seems to better fit my needs is Komodo
Edit v7, that is mentioned here:

http://projects.puppetlabs.com/projects/1/wiki/Editor_Tips

as a Puppet-supporting one, but I wasn't able to find a
module/plugin/whatever that makes it like Puppet DSL syntax.

Anyone here using Komodo Edit? Do you have suggestions for better
alternatives?

Thanks



--
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Puppet syntax check for Komodo Edit

2012-02-18 Thread Alexander Fortin
On 2/17/12 7:30 PM, Spirit wrote:
> I was tried to find syntax highlighting for komodo and did not found it.
> But i found gepetto that based on eclipse. Try it.

Thanks Spirit, I'm trying it even if I said myself Eclipse will never
find its way on my workstation (not much horsepower here...). Anyway, it
looks great for Puppet, but seems to be a pain if you want other syntax
check (say, Python).

I'll try to find some time and see if I can write a simple syntax Puppet
check for Komodo Edit

-- 
Alexander Fortin
http://about.me/alexanderfortin/

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Puppet syntax check for Komodo Edit

2012-02-18 Thread Henrik Lindberg

On 2012-18-02 11:54, Alexander Fortin wrote:

On 2/17/12 7:30 PM, Spirit wrote:

I was tried to find syntax highlighting for komodo and did not found it.
But i found gepetto that based on eclipse. Try it.


Thanks Spirit, I'm trying it even if I said myself Eclipse will never
find its way on my workstation (not much horsepower here...). Anyway, it
looks great for Puppet, but seems to be a pain if you want other syntax
check (say, Python).

For Eclipse, there is PyDev for Python, and the Dynamic Lanugages 
toolkit has support for several others (like Ruby). You can install 
Geppetto into an Eclipse, or install support for other languages into 
Geppetto (which is essentially a stripped down Eclipse with only the 
things required for Puppet development).


Did you try PyDev? Is that where the pain came from :) ?


I'll try to find some time and see if I can write a simple syntax Puppet
check for Komodo Edit



Regards
- henrik

--
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Puppet syntax check for Komodo Edit

2012-02-18 Thread Alexander Fortin
On 2/18/12 2:55 PM, Henrik Lindberg wrote:
> For Eclipse, there is PyDev for Python, and the Dynamic Lanugages
> toolkit has support for several others (like Ruby). You can install
> Geppetto into an Eclipse, or install support for other languages into
> Geppetto (which is essentially a stripped down Eclipse with only the
> things required for Puppet development).

> Did you try PyDev? Is that where the pain came from :) ?

No :) I was just scared by the bloat that comes with Eclipse, but I'll
give a try to the second option you suggest (Geppetto + languages
support) though.

-- 
Alexander Fortin
http://about.me/alexanderfortin/

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Puppet syntax check for Komodo Edit

2012-02-18 Thread Mister IT Guru
Hi All,

Please forgive me for jumping on this thread, but I'm a bit shocked - Syntax 
highlighting for puppet? Sorry for being slow on this one, I have been cracking 
my eyes using nano, and basic text editors - It never crossed my mind to use an 
IDE!!

Feel free to shame me as you see fit - I think I deserve punishment for missing 
a trick here! I've seen two recommendations for OSX users, Komodo Edit, and 
Eclipse. I think I'll download them now, I'm open for other suggestions!


Mister IT Guru -- misteritg...@gmx.com 
Twittersphere @mritguru



On 18 Feb 2012, at 17:41, Alexander Fortin wrote:

> On 2/18/12 2:55 PM, Henrik Lindberg wrote:
>> For Eclipse, there is PyDev for Python, and the Dynamic Lanugages
>> toolkit has support for several others (like Ruby). You can install
>> Geppetto into an Eclipse, or install support for other languages into
>> Geppetto (which is essentially a stripped down Eclipse with only the
>> things required for Puppet development).
> 
>> Did you try PyDev? Is that where the pain came from :) ?
> 
> No :) I was just scared by the bloat that comes with Eclipse, but I'll
> give a try to the second option you suggest (Geppetto + languages
> support) though.
> 
> -- 
> Alexander Fortin
> http://about.me/alexanderfortin/
> 
> -- 
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
> 

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Puppet syntax check for Komodo Edit

2012-02-18 Thread Romeo Theriault
On Sat, Feb 18, 2012 at 10:01, Mister IT Guru  wrote:
> Hi All,
>
> Please forgive me for jumping on this thread, but I'm a bit shocked - Syntax
> highlighting for puppet? Sorry for being slow on this one, I have been
> cracking my eyes using nano, and basic text editors - It never crossed my
> mind to use an IDE!!
>
> Feel free to shame me as you see fit - I think I deserve punishment for
> missing a trick here! I've seen two recommendations for OSX users, Komodo
> Edit, and Eclipse. I think I'll download them now, I'm open for other
> suggestions!

Vim has some good syntax highlighting.

https://github.com/vim-scripts/Puppet-Syntax-Highlighting

-- 
Romeo

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Puppet syntax check for Komodo Edit

2012-02-19 Thread Alexander Fortin
On 2/18/12 9:01 PM, Mister IT Guru wrote:
> Hi All,
> 
> Please forgive me for jumping on this thread, but I'm a bit shocked -
> Syntax highlighting for puppet? Sorry for being slow on this one, I have
> been cracking my eyes using nano, and basic text editors - It never
> crossed my mind to use an IDE!!
> 
> Feel free to shame me as you see fit - I think I deserve punishment for
> missing a trick here! I've seen two recommendations for OSX users,
> Komodo Edit, and Eclipse. I think I'll download them now, I'm open for
> other suggestions!

Hi! no shame, you've got to use the tool you feel more comfortable with
;) Each one has pros and cons of course.

Actually I've been using mostly VIM + VIM-Puppet so far, but given that
recently I've been writing more and more Python code, I feel that an IDE
is more handy, especially for features like "projects", so I double
click on a project name and I get any previously opened file in a tab.

PS still struggling to make Geppetto install PyDev :-/

-- 
Alexander Fortin
http://about.me/alexanderfortin/

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Puppet syntax check for Komodo Edit

2012-02-19 Thread Henrik Lindberg

On 2012-19-02 16:24, Alexander Fortin wrote:

On 2/18/12 9:01 PM, Mister IT Guru wrote:

Hi All,

Please forgive me for jumping on this thread, but I'm a bit shocked -
Syntax highlighting for puppet? Sorry for being slow on this one, I have
been cracking my eyes using nano, and basic text editors - It never
crossed my mind to use an IDE!!

Feel free to shame me as you see fit - I think I deserve punishment for
missing a trick here! I've seen two recommendations for OSX users,
Komodo Edit, and Eclipse. I think I'll download them now, I'm open for
other suggestions!


Hi! no shame, you've got to use the tool you feel more comfortable with
;) Each one has pros and cons of course.



One thing I like to point out about Geppetto is that it not only 
performs "surface" syntax highlighting, it also understands what 
everything is, and can thus link all variables, types, definitions etc., 
provide errors and warnings, suggest how to correct them, and then fix 
them for you if you want. (Plus there is all sorts of IDE goodies like 
search/replace across files, compare files and structures against local 
history, and against repository revision, etc. etc.).


In the upcoming 2.2 (in a couple of weeks). there is also support for 
"open references" and "find references" - i.e. If you wonder what 
something is referencing (where is $foo::bar::fee::fum defined?) 
Geppetto opens the file for you. And if you want to find all the 
references to something Geppetto does that too and gives you a list that 
you can navigate. IMO both these features are very valuable to helping 
understand other people's code (including former-you ;-)).



Actually I've been using mostly VIM + VIM-Puppet so far, but given that
recently I've been writing more and more Python code, I feel that an IDE
is more handy, especially for features like "projects", so I double
click on a project name and I get any previously opened file in a tab.

PS still struggling to make Geppetto install PyDev :-/

Suggest posting your troubles to the geppetto google group if you get 
stuck, or need help. There is also a #geppetto IRC on freenode where you 
can find me most of the time.


Regards
- henrik

--
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.