boxqkrtm / com.unity.ide.cursor

Code editor integration for supporting Cursor as code editor for unity. Adds support for generating csproj files for intellisense purposes, auto discovery of installations, etc. 📦 [Mirrored from UPM, not affiliated with Unity Technologies.]
https://docs.unity3d.com/Packages/com.unity.ide.visualstudio@2.0/manual/index.html
MIT License
209 stars 22 forks source link

no focus on Cursor window when clicking on logs or opening the file #3

Open Elegarret opened 2 weeks ago

Elegarret commented 2 weeks ago

VS and other IDE's window usually get focus when user clicks the messages in the console and the editor focuses on the given line. Cursor makes focus on the line but the windows itself doesn't gain the focus, so when I click the logs I stay in the Unity window. To reproduce just click on any log, warning or error which references to line of code in unity console

boxqkrtm commented 1 week ago

I've experienced this before, but it hasn't happened recently so I thought it was fixed with a patch in cursor.

Can you tell me the unity version and the cursor version so I can reproduce it?

my version is Windows 11 23H2 Unity 2021.3.33f1 Cursor 0.42.4

Elegarret commented 1 week ago

My config is: Win11 23H2 Unity 2022.3.25f1

Cursor Version: 0.42.3 VSCode Version: 1.93.1 Commit: 949de58bd3d85d530972cac2dffc4feb9eee1e40 Date: 2024-10-16T17:56:07.754Z Electron: 30.4.0 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: 12.4.254.20-electron.0 OS: Windows_NT x64 10.0.22635

Elegarret commented 1 week ago

UPD: just updated Cursor to the latest 0.42.4, but the problem persists

aaronjbaptiste commented 6 days ago

I'm getting this also

Version: 0.42.5 VSCode Version: 1.93.1 Commit: 001668006cc714afd397f4ef0d52862f5a095530 Date: 2024-11-14T00:33:36.512Z Electron: 30.4.0 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: 12.4.254.20-electron.0 OS: Darwin arm64 23.4.0

aaronjbaptiste commented 6 days ago

ok, if i create a new profile in cursor it works again, so must be some local settings.

boxqkrtm commented 1 day ago

ok, if i create a new profile in cursor it works again, so must be some local settings.

Thanks for feedback

The issue will be maintained as the cause has not been completely resolved.