Skip to content

Control+Click not working #1059

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

Closed
3 tasks done
qwertychouskie opened this issue Jun 13, 2022 · 8 comments
Closed
3 tasks done

Control+Click not working #1059

qwertychouskie opened this issue Jun 13, 2022 · 8 comments
Assignees
Labels
conclusion: duplicate Has already been submitted topic: language server Related to the Arduino Language Server type: imperfection Perceived defect in any part of project

Comments

@qwertychouskie
Copy link

Describe the problem

When trying to use Ctl+Click on a function/variable/etc, it doesn't work. It will sometimes work when opening one of the example programs, but never on my own program.

To reproduce

Control+Click

Expected behavior

Control+Click should work reliably

Arduino IDE version

2.0.0-rc7 (via Flatpak)

Operating system

Linux

Operating system version

Ubuntu 22.04

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@qwertychouskie qwertychouskie added the type: imperfection Perceived defect in any part of project label Jun 13, 2022
@qwertychouskie
Copy link
Author

Things seem to be working more consistently after messing with a few things, including enabling "Editor Quick Suggestions" in the settings, I'll see if it continues to work or starts bugging out again.

@per1234
Copy link
Contributor

per1234 commented Jun 14, 2022

Thanks for your report @qwertychouskie.

There was a previous report of this problem on the Arduino forum. After some investigation, it was discovered that the cause was #1054

The cursor is only moved to the start of the function definition in the newly created tab, and that tab is not selected, so the user is not guided to the function definition in any meaningful way.

If you encounter this problem again, please check to see whether the Arduino IDE shows two copies of the sketch tag, similar to what is shown in this screenshot:

image

@per1234 per1234 added the topic: language server Related to the Arduino Language Server label Jun 14, 2022
@per1234 per1234 self-assigned this Jun 14, 2022
@qwertychouskie
Copy link
Author

That is a different issue, in my case Ctl+Click wouldn't do anything at all.

@SuperNinja-4965
Copy link

SuperNinja-4965 commented Jun 15, 2022

@qwertychouskie Like i have just discovered in an issue i have open (#1041) where the settings dialog didnt work this issue could be related to the faster loading that was implemented in rc7. I also had this issue until i let the ide sit for a minute and load all the libraries etc in the background and then the ctrl + click was working again.
If you let the ide load for a few minutes does ctrl + click work again?

@per1234
Copy link
Contributor

per1234 commented Jul 13, 2022

From #714 (comment) it appears that @qwertychouskie was able to determine the problem is the same as #714.

It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

If you end up with additional information to share, feel free to comment in the other thread.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 13, 2022
@per1234 per1234 added the conclusion: duplicate Has already been submitted label Jul 13, 2022
@qwertychouskie
Copy link
Author

Forgot to close this one, whoops, thanks for cleaning up

@Banderi
Copy link

Banderi commented Aug 22, 2023

From #714 (comment) it appears that @qwertychouskie was able to determine the problem is the same as #714.

It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

If you end up with additional information to share, feel free to comment in the other thread.

I tried reading through #714 but I can't seem to find what is the connection with this issue, or what/if there is any solution to it.
This issue sadly still happens on my end, on 2.1.1 exactly as described above.

Was there a way to fix this?

@wojtron2
Copy link

wojtron2 commented Feb 16, 2024

Same issue appeared on 2.3.0 here
//after reopening shortcuts in settings problem disappeared

@arduino arduino locked as resolved and limited conversation to collaborators Feb 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
conclusion: duplicate Has already been submitted topic: language server Related to the Arduino Language Server type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

5 participants