Summary: TinyOS is an open-source component-based operating system, which is designed for sensor networks nodes that have very limiting resources. TinyOS is implemented in component-developing language nesC. Benefiting from the Component-based Software Engineering (CBSE), TinyOS itself is a library of components, making application-developing work much more simple, but currently lack of mature Integrated Development Environment (IDE). Through analyzing nesC and the process of TinyOS development, this paper designed an IDE for TinyOS development. Results demonstrate the IDE makes the developing work much more efficient.