You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PyCharm 2023.3.3 (Community Edition)
Build #PC-233.13763.11, built on January 26, 2024
Runtime version: 17.0.9+7-b1087.11 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.3
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Metal Rendering is ON
Non-Bundled Plugins:
com.sourcegraph.jetbrains (5.5.9)
Describe the bug
Platform: macOS
Steps to reproduce:
Have Cody plugin installed in your JB PyCharm editor
Login to Cody with PRO user
Open any source code file
Click on any line and check the line & column number
Right click there to open context menu
Choose "Cody > Edit Code" popup window
Check the line & column number in the window title
Observed behavior:
line & column number in 'Edit Code' popup is showing 1 less than compared to original line & column number.
Expected behavior
Line & column number should match with exact position from where the 'Edit Code' opened.
… 0-based (#1492)
Fixes#1456
## Test plan
Tested manually:
- Enable edits with
`CODY_JETBRAINS_FEATURES=cody.feature.inline-edits=true`
- Place the cursor in a file, note line:col position in status bar
- Right click, Cody, Edit Code
- Check that the location in the dialog reflects the cursor position in
the status bar
![Screenshot 2024-05-13 at 12 30
37](https://github.com/sourcegraph/jetbrains/assets/55120/bdc42cea-15a5-45f9-80e1-dd81009807a1)
Cody Version
v5.5.9
IDE Information
PyCharm 2023.3.3 (Community Edition)
Build #PC-233.13763.11, built on January 26, 2024
Runtime version: 17.0.9+7-b1087.11 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.3
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Metal Rendering is ON
Non-Bundled Plugins:
com.sourcegraph.jetbrains (5.5.9)
Describe the bug
Platform: macOS
Steps to reproduce:
Observed behavior:
line & column number in 'Edit Code' popup is showing 1 less than compared to original line & column number.
Expected behavior
Line & column number should match with exact position from where the 'Edit Code' opened.
Additional context
Video link:
https://drive.google.com/file/d/1vF5lrfA_zbAMwS1_pGh2tZN0YXE43PEt/view?usp=drive_link
The text was updated successfully, but these errors were encountered: