seunghwanh / smartsemicolon-vscode

VSCode Smart Semicolon Placement
MIT License
8 stars 4 forks source link

some problem happend while writing FOR sentence #17

Open CodeZhangBorui opened 11 months ago

CodeZhangBorui commented 11 months ago

When I'm tring to write a FOR sentence, the extension insert a wrong semiconlon:

for(int i = 1);
{
    // Your code here                                         
}

The right code is:

for(int i = 1; i <= n; i++) {
    // Your code here                                         
}

It seems that whenever a semicolon is entered, it will automatically move to the end of the line.