New Apex Immediate Window



I am new to Cloud9 , sorry for this basic question:

I am trying to use the New Apex Immediate Window, which I was expecting to work similarly to the Execute Anonymous Window in Salesforce, but I am having trouble using because the code is executed every time I hit the return key, so for instance this does not work:

List lstring = new List();


It gives me an error: ERROR: Variable does not exist: lstring

I cannot figure it out how to do a return that does not executes the Code so that I can keep typing more code and execute when i am done/ Also is there a way to execute highlighted?



You can press shift-return to insert new line


Excellent ! Thanks for the quick response… Awesome work with Cloud9 , keep up the good work :slight_smile:


Also works in chat, helpful for posting code