Syncpeople Plugin Scope Never Active

I installed the Syncpeople textmate bundle (
http://syncpeople.com/downloads/syncpeople_on_rails_features ) and the
commands all work from the menu, but the short-cuts never work for any
of the snippets or commands ever work, because the scopes are not
being selected properly. If I change the scope to just “source.ruby”
it will work fine. But I cannot see why their scope selectors do not
work in my file.

Their scopes are pretty simple too, here is an example for the
controller:

	{	name = 'meta.rails.controller';
		comment = 'Uses lookahead to match classes with the Controller

suffix; includes ‘‘source.ruby’’ to avoid infinite recursion’;
begin =
‘(^\s*)(?=class\s+(([.a-zA-Z0-9_:]+Controller\b(\s*<\s*[.a-zA-Z0-9_:]+)?)|(<<\s*[.a-zA-Z0-9_:]+)))(?!.+\bend\b)’;
end = ‘^\1(?=end)\b’;
patterns = (
{ include = ‘source.ruby’; },
{ include = ‘$self’; } );
}


Jeremy H.

I have this same problem.


– Tom M.

Ok, I had a “duh” moment and realized my lang at the bottom was set to
Ruby not Ruby on Rails. This fixed the snippets and so forth that look
for source.ruby.rails but still no luck with the meta scopes
(controllers, views etc for the goto other file commands)

On 4/1/06, Tom M. [email protected] wrote:

of the snippets or commands ever work, because the scopes are not
begin = '(^\s*)(?=class\s+(([.a-zA-Z0-9_:]+Controller\b(\s*<\s*
http://www.jeremyhuffman.com


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails


Jeremy H.

I fixed it, the "go to … " commands all recognize scopes properly I
just needed to re-enter the short-cut commands in the bundle window.
They were showing the right command but with a little circle character
behind them, not sure what that meant but obviously something like
they were disabled for some reason.

On 4/1/06, Jeremy H. [email protected] wrote:

Their scopes are pretty simple too, here is an example for the
{ include = ‘$self’; } );


Jeremy H.