Help needed: Indentation issues in sublime text

Revision en1, by ahmadexe, 2024-06-26 17:54:32

Sublime randomly stops indenting on new line and cursor starts pointing onto first character of the line instead of continuing indent. Since I am using a snippet, when I press tab to reintroduce the indentation, the tab actually moves my cursor to the end. (see video) https://www.youtube.com/watch?v=2jljt4HbwGc (issue on 29 sec) Happens on line 14

This behavior happens randomly. Also with simple declarations and even calling out functions. No idea why it happens. I don’t have much idea with indentation settings, please let me know which configuration is right one for C++ competitive programming

Here is my sublime preferences file

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English ahmadexe 2024-06-26 17:54:32 727 Initial revision (published)