feature request - close #include statement automatically
feature request:
automatically apply the closing symbol of a #include statement after the .h file has been selected from the autocomplete.
discussion:
If the programmer is typing characters of a . h file in the #include statement, then there is no way to know if another character will follow the previous character since they could be named anything. For this reason auto-completing the the > character is not an option.
But when the programmer selects stdio.h or some other .h file from autocomplete then there really is no other character which could possibly follow and CLion should complete the statement by appending the final '>' or greater-than character.
As far as I understand c syntax, no other character could possibly follow the .h part of a #include statement -
but I am no expert here.
Please sign in to leave a comment.
Hello! Feel free to comment or upvote https://youtrack.jetbrains.com/issue/CPP-201 in order to get updates.
Please remember that you can use the autocomplete when you begin to type #include statement: