Current Behavior
If format-on-type is on, lines get de-indented immediately after typing the letters "end", which messes up indentation when writing routine names that start with "end". I.e., with format-on-type turned on, typing this:
IF a eq 5 THEN BEGIN
endeavour_routine
will immediately de-indent the 2nd line to align with the IF line.
Expected Behavior
De-indentation should not be triggered until an end-of-word input has been received, e.g., space or enter.
GitHub Repo
No response
Steps to Reproduce
See "current behaviour"
Failure Logs
No response
Operating System
IDL Version
N/A
Additional Information
Plugin version 4.7.1, @martinwiesmann
Current Behavior
If format-on-type is on, lines get de-indented immediately after typing the letters "end", which messes up indentation when writing routine names that start with "end". I.e., with format-on-type turned on, typing this:
will immediately de-indent the 2nd line to align with the IF line.
Expected Behavior
De-indentation should not be triggered until an end-of-word input has been received, e.g., space or enter.
GitHub Repo
No response
Steps to Reproduce
See "current behaviour"
Failure Logs
No response
Operating System
IDL Version
N/A
Additional Information
Plugin version 4.7.1, @martinwiesmann