Вы можете использовать
string txt = " i am a string ";
txt = txt.TrimStart().TrimEnd();
Вывод «я строка»
Generally speaking in Eclipse, you can add a library or framework to code assist/completion by:
This can also be done on project creation. I'm not sure of a way to have it automatically attach a library in this way.
The feature itself is a bit more flexible than that, allowing you to do things like set variables for a DB connection, rather than having to copy down lengthy config files to your local install.