Chris - No you can't save code in salesforce with error. If you save your code in developer console it will build and compile your code in salesforce server, if there is any error then your change won't be saved in salesforce.If you are suing force.com IDE then you can save your code locally in your machine
Gentlemen, Thank you for the answers and time. If I could ask, do you usually save it in the developer, or do you use eclipse with the force download, or notepadd? What is your prefered way to go about coding with apex?
If you are not working at a huge project eclipse is the best, but if your project is huge eclipse can be problematic. You can use Sublime Text3 with Mavensmate addon or NotePad++ alternatively.
It helped. I ended up choosing a combination of using the eclipse with the plugin. It was interesting however to check out the Sublime Text3. Thanks for the suggestions.
Hi Chris;
I totally agree with Karanraj. If you REALLY need to collect your code in SF; command out entire code block and you can save it.
Regards;
Thank you for the answers and time. If I could ask, do you usually save it in the developer, or do you use eclipse with the force download, or notepadd? What is your prefered way to go about coding with apex?
Hi again Chris;
If you are not working at a huge project eclipse is the best, but if your project is huge eclipse can be problematic. You can use Sublime Text3 with Mavensmate addon or NotePad++ alternatively.
SublimeText3 = http://www.sublimetext.com/3
Mavensmate = http://mavensmate.com/Plugins/Sublime_Text/Installation
Notepad++ = http://notepad-plus-plus.org/download/v6.7.4.html
I hope this answer will help you.
Mert
It helped. I ended up choosing a combination of using the eclipse with the plugin. It was interesting however to check out the Sublime Text3. Thanks for the suggestions.
-Chris