Feature Request: Automatic Input Method Switching Based on Cursor's Internal Panes

"Problem Description:

For non-English native speakers, frequent switching between English and native language input methods can be cumbersome, especially when working within Cursor’s different panes (terminal, chat, code). Currently, I need to manually switch input methods, which disrupts workflow.

Proposed Solution:

I suggest implementing a feature that automatically switches input methods based on the currently focused pane within Cursor:

  • When the cursor is in the terminal pane, use the English input method.
  • When the cursor is in the chat pane, use the native language input method.
  • When the cursor is in the code pane, use the English input method.

Benefits:

  • Improved workflow and efficiency for non-English native speakers.
  • Reduced manual input method switching.
  • A more seamless and intuitive user experience.

Potential Implementation:

  • Cursor could detect the currently focused pane and trigger the input method switch accordingly.
  • This could be implimented with internal cursor code, that detects which window or element is recieving focus.

Alternatives:

  • While third-party input method switching tools exist (e.g., Inputsources Pro), they typically operate at the application level and cannot differentiate between Cursor’s internal panes.

I believe this feature would significantly enhance Cursor’s usability for a global user base. I hope the Cursor team will consider this request."

I believe this functionality cannot be implemented by the Cursor team, as input method management is handled by the operating system.

On Windows, there are two ways to switch input methods:

  1. Switching language layouts – For example, changing from Chinese (Traditional) to English (US).

  2. Temporarily disabling the input method within the same language layout – When using a Chinese input method, pressing Shift allows you to temporarily switch to English letters without changing the language layout (depending on the specific input method settings).

As a non-native English speaker myself, I understand the inconvenience of frequent switching. If you’re using a built-in Windows input method like Microsoft Zhuyin or Cangjie, you might find that pressing Shift helps temporarily switch to English, making workflow smoother