sophacles / vim-processing

Create and run processing sketches in Vim. Development repository for vim script 2115.
150 stars 10 forks source link

first setup #27

Closed mrkitz closed 10 years ago

mrkitz commented 10 years ago

Hi. Having trouble getting started:

MacOSX 10.10: used Pathogen to clone vim-processing into bundle.

Moved Processing.app to Applications Folder. Did Install "processing-java" and checked that it exists and is in $PATH

~ $ processing-java

Command line edition for Processing 0227 (Java Mode)

--help               Show this help text. Congratulations.
...etc.

But, when I vim a .pde file that works with Processing IDE and :make %, it returns: make: Nothing to be done for 'sketch.pde'.

Some other attempts based on what I have read here:

~ $ processing-java --sketch="~/Documents/Processing/sketch/sketch.pde"
--output="~/Documents/Processing/test" --force --run
sketch.pde does not exist.

I also had filetype *.pde set to arduino in my .vimrc, but commenting that out did not help. What should it be set to?

Thanks for any help on getting started!

crazymaster commented 10 years ago

duplicate of #24

@cragged Please do this command in a buffer of a .pde file. :set ft=processing


@sophacles Should we post to vim_dev? *.pde don't set to arduino or include this plugin into runtime.

mrkitz commented 10 years ago

I swear I tried that in .vimrc yesterday, but it is working now. Thanks!