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
Editor indentation (tab size) setting prevents running sketches #13
Comments
Not sure if this will help in diagnosing the problem but if I remove current indentation which starts at 4 spaces (2 tabs) and replace it with indentation starting at 2 spaces (1 tab), then I am at least able to get the gray webpage with the title of the sketch and written in CoffeeScript etc. Also, the size function works. The error message changes too:
|
Yes, it's a problem i need to figure out. You can get around it by setting your editor indentation to 4 which is what CS expects in my setting. To do so open "Preferences" in Processing, click the "Preference.txt" link (the file should open), close Processing (!), now change the line:
from 2 to 4. Save, close, open Processing and try the examples that come with CS mode. Did that work for you? ... i know i have to find a better way. :) |
…sketch tab size setting; plus added version and build to mode; plus readme update
This should be fixed now. I'm not sure how fast the PDE picks up this change through the mode manager, so you can just download the "latest.zip" under "tags" here and replace the CS mode in you local installation with it. Let me know how it goes .. |
@REAS ... issue you reported via email should be fixed now. |
Success for me using both methods (change tabs in Preference.txt and reinstalling via mode installer). However, it only works for me in Firefox. In Safari 5.1.7 the webpage loads with the gray background, name of sketch etc, but the actual sketch does not load. I receive the following error in the console:
Personally, I'm satisfied as it's no problem to use Firefox but there you have it none the less. Let me know if you'd like me to file a separate bug. Thanks so much for responding so quickly. Super psyched to get started! |
Hi there!
First, thank you so much for creating this mode. I've been really looking forward to learning CS via PJS so it's just what the doctor ordered.
I have installed CS Mode using both the method you have described in the README as well as installing it via the native mode installer in the IDE. However, whenever I start the server, the webpage that opens only contains the following:
Parent Directory
Sat May 18 18:25:20 CDT 2013
The print out in the IDE displays the following in orange:
I do not have this problem when starting the server in Javascript Mode. I am running the program using Processing 2.0b9 on OSX 10.7.5 with both Safari 5.1.7 and Firefox 20.0.
The text was updated successfully, but these errors were encountered: