Skip to content
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

[Bug]: No auto-capitalization while typing #59

Open
2 of 4 tasks
steinhh opened this issue Jan 15, 2025 · 0 comments
Open
2 of 4 tasks

[Bug]: No auto-capitalization while typing #59

steinhh opened this issue Jan 15, 2025 · 0 comments
Labels
type: bug Something isn't working

Comments

@steinhh
Copy link

steinhh commented Jan 15, 2025

Current Behavior

When I type control words, they are not auto-capitalized upon pressing space or enter, even if format-on-type is on. Not sure if this is new behaviour or it's always been this way. This may or may not be a bug per se in your view, but it is from my point of view - I'm so used to it from Emacs and having to save the file just to get control words capitalized is... awkward! Sorry, I'm having a bad day... week, actually. Feel free to downgrade to feature request if you think that's more appropriate ;-).

Curiously enough, there's a converse problem with indentation: it triggers too fast, bad for routine names starting with "end", as the line is immediately de-indented before finishing writing the routine name. Will file a separate one for that.

Expected Behavior

When formatOnType is on, capitalization rules should be applied whenever a word is completed (i.e., typing space, hitting enter, typing a comma, etc).

GitHub Repo

No response

Steps to Reproduce

  1. Turn on format-on-type & format-on-save, set control formatting to "upper"
  2. Type "begin" and space, nothing happens, but saving file or manually formatting file capitalizes to BEGIN
  3. Indentation for next line after hitting enter is correct, so format-on-type is in effect
  4. Save file, BEGIN is capitalized

Failure Logs

No response

Operating System

  • macOS (Intel x86_64)
  • macOS (ARM64)
  • Linux
  • Windows

IDL Version

N/A

Additional Information

Just tagging @martinwiesmann on this, he sees the same :)

@steinhh steinhh added the type: bug Something isn't working label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant