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

🛠️ Fix compiling and multiline selection issue for IDE 2024 #21

Merged
merged 3 commits into from
Jun 12, 2024

Conversation

akhilerm
Copy link
Contributor

@akhilerm akhilerm commented Jun 6, 2024

  • fix multiline selection in newer IDE versions (2024)
  • fix compiling on newer IDE (2024)

NOTES TO REVIEWER:
I have tested the multiline selection on IC 2021.1, IC 2024.1.2 and GO 2024.1.2. So not exactly sure which version of IDE broke the compatibility. The compiling was also tried on the above mentioned versions.

@akhilerm
Copy link
Contributor Author

akhilerm commented Jun 7, 2024

/cc @lunakoly

@lunakoly
Copy link
Owner

lunakoly commented Jun 8, 2024

Also, I would appreciate if you reworded the commits to the style of the previous ones in main. It's just that if we already have them looking so nice and fancy, we should probably try to keep the tradition :)

@akhilerm akhilerm changed the title fix compiling and multiline selection issue for IDE 2024 🛠️ fix compiling and multiline selection issue for IDE 2024 Jun 8, 2024
@akhilerm akhilerm changed the title 🛠️ fix compiling and multiline selection issue for IDE 2024 🛠️ Fix compiling and multiline selection issue for IDE 2024 Jun 8, 2024
@akhilerm
Copy link
Contributor Author

akhilerm commented Jun 8, 2024

Also, I would appreciate if you reworded the commits to the style of the previous ones in main. It's just that if we already have them looking so nice and fancy, we should probably try to keep the tradition :)

Sorry for that. Missed it while pushing the fix. Have edited and pushed the commits.

- fix compiling on newer versions of IDEA

Signed-off-by: Akhil Mohan <[email protected]>
- latest version of intellij reports incorrect line numbers when directly using
selectionModel. It has been modified to use editor.document which works on both
old (2021) and new (2024) IDE versions

Signed-off-by: Akhil Mohan <[email protected]>
- update changelog
- update plugin version to 1.0.9

Signed-off-by: Akhil Mohan <[email protected]>
@lunakoly lunakoly merged commit 2874ea9 into lunakoly:main Jun 12, 2024
6 checks passed
@akhilerm akhilerm deleted the fix-IC-2024 branch June 14, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants