Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RubyMotion in the editor type #5

Open
alexvbush opened this issue Sep 30, 2012 · 12 comments
Open

RubyMotion in the editor type #5

alexvbush opened this issue Sep 30, 2012 · 12 comments

Comments

@alexvbush
Copy link

Hi, didn't know how ask a question so I had to create an issue...
I installed the bundle but could't use it in currently open editor views, is there something I'm missing?
Also build and run doesn't seem to work...

@berklee
Copy link
Collaborator

berklee commented Oct 3, 2012

Thanks for creating an issue. What exactly are you trying to do that's not working?

Build and run not working, I understand. But are what do you mean with: "I installed the bundle but could't use it in currently open editor views"?

@alexvbush
Copy link
Author

Yeah, sorry, wrote this in a rush... When I edit my code for a RubyMotion project Textmate still thinks that I'm editing a regular ruby file so there is no highlight or auto-complete from the editor's side. Plus build and run was trying to run the ruby file itself instead of launching simulator with rake for the project.

@berklee
Copy link
Collaborator

berklee commented Oct 4, 2012

I just reinstalled my system, I'll take a look at this, see if I can replicate it.

@tsugua
Copy link

tsugua commented Jan 1, 2013

I'm seeing this issue too in Textmate 2.0.0-alpha.9331. RubyMotion doesn't show up as an option in the drop down language selection menu in the textmate file.

Untitled

@mikbe
Copy link

mikbe commented Mar 29, 2013

Same problem here in TextMate 1.5.11 (1635). I've got the bundle installed and I see it under bundler manager but I don't have a RubyMotion file type so I can't use the bundle with the shortcut keys.

@emancu
Copy link

emancu commented Apr 4, 2013

I've the last version of textmate 2.0 beta, and I used ~/Library/Application Support/TextMate/Managed/Bundles directory.

The bundle is appears in Bundle list, but I can't choose RubyMotion option in a file type list.

@beathyate
Copy link
Contributor

It worked for me after this #6. The commands works with Ruby selected. I'm using the latest version of TextMate (2.0-alpha.9409).

@emancu
Copy link

emancu commented Apr 5, 2013

@goddamnhippie But you remove the CMD+R shortcut for ruby files? or how do you did it ?

@beathyate
Copy link
Contributor

@emancu you can remap shortcuts in the Bundle Editor, when there is more than one command with the same shortcut, you get options and select a number, 1, 2, 3, etc.

@emancu
Copy link

emancu commented Apr 5, 2013

@goddamnhippie I know, but if I hit CMD+R in a ruby file.. it just run the ruby file without options :/
And I want to compile and run the rubymotion code.

@beathyate
Copy link
Contributor

@emancu you are right, I was looking for completition only, I just tested what you said and that doesn't work. Even worse, it doesn't work directly either because it doesn't use bundle exec.

@mmzoo
Copy link

mmzoo commented Feb 18, 2015

Uhm, the language syntax/grammar seems to be entirely missing. I saw one fork which implemented this: https://github.com/tneems/RubyMotion.tmbundle/blob/master/Syntaxes/RubyMotion.tmLanguage

It seems this repository is not maintained which leads to people forking around. The most complete one probably being https://github.com/craig1410/RubyMotion.tmbundle The other issue #8 would also be fixed by merging that fork into the original one here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants