-
-
Notifications
You must be signed in to change notification settings - Fork 35
Case sensitivity for indent #115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for pointing that out. |
Looks like it does't accept the
It works but it's just wrong to do it that way. I'll keep looking. |
Got it. It has to split the enty of |
Thanks! B.T.W. where did you find this stupid option? 😢 I didn't find any official documentation for the flavor of regex in vscode. |
hehehe ... Ofiicial documentation I never heard of =]. The option I programed, I found in some random issue of VSCode I don't recall now, but in there someone from Microsoft commented that this syntax is possible: "increaseIndentPattern": {
"pattern": "then(\\s*|\\s*!.*)$|^\\s*(program|subroutine|function|module|do|block|associate|case|select\\s*case)\\b.*$|\\s*(else|else\\s*if|elsewhere)\\b.*$",
"flags": "i"
}, That way is the correct one, now we keep the same keywords and add the case insensitive flag. |
https://github.com/krvajal/vscode-fortran-support/blob/4f17f244280539ab8cc2448970c5c4b10cadd5f4/language-configuration.json#L53-L54
The current indent rule doesn't support uppercase
The text was updated successfully, but these errors were encountered: