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

PyCharm freezes when using a live template with a colon #570

Open
BiterUnion opened this issue Dec 7, 2023 · 1 comment
Open

PyCharm freezes when using a live template with a colon #570

BiterUnion opened this issue Dec 7, 2023 · 1 comment

Comments

@BiterUnion
Copy link

Environment(环境)

name version
IDEA version PyCharm 2023.3 (233.11799.259)
EmmyLua version v1.4.9
OS Windows 10

What are the steps to reproduce this issue?(重现步骤?)

  1. In a LUA file, start typing a live template, e.g., func
  2. Press enter to insert template (boxes appear for the function name and parameters)
  3. Type a function name with a colon, e.g., "Helper:test"
  4. Press Tab

What happens?(出现什么问题?)

The IDE freezes.

What were you expecting to happen?(期望?)

The cursor should leave the first box (for function name) and jump to the second one (for the parameters).

Any logs, error output, etc?(有没有什么log, error输出?)

Let me know if you need any specific logs.

Any other comments?(其它说明)

This issue seems to be the colon. Live templates work fine when enetering a name without a colon, e.g., just "test".

@CppCXY
Copy link
Member

CppCXY commented Dec 8, 2023

Not reproduced on IDEA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants