Currently, the key layout is checked with every IDE event. This approach needs improvement in terms of performance.
Predicting the exact timing for key layout checking is challenging.
Having multiple projects open simultaneously leads to a performance degradation.
To-be
Propose to enhance the mechanism by checking the key layout at regular time intervals.
The time period should be short enough to ensure that rapid key toggling does not lead to noticeable delays.
This change aims to maintain a balance between responsiveness and efficiency, especially in environments with multiple projects.
Expected Benefits
Improved performance by reducing the overhead of checking key layout on every IDE event.
More predictable and efficient key layout checking process.
Enhanced responsiveness and user experience, particularly when multiple projects are open.