摘要 |
The present invention extends to methods, systems, and computer program products for inserting closing code constructs. Embodiments of the invention include an interaction model allowing users to more easily move closing code constructs to desired locations within text. For example, closing code constructs can be moved as if they were an editor caret. The interaction model can limit a user to selecting legal positions for a closing code construct. The limits can be based on the structure of existing code in combination with syntactical and/or semantic rules of the programming language being used to develop the existing code. |