-
Notifications
You must be signed in to change notification settings - Fork 120
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
Cannot rename variable when cursor is at the end of variable #350
Comments
Try renaming // @flow
function renameTest() {
const test = "some_value";
console.log(test);
} Also share some simple case where it's not working for you. |
It works fine in a fresh workspace I just tested in a different environment with a fresh install of flowSetup the workspace:
Now If you put the cursor at the end of a variable then press F2 and then try to rename it, it won't work. |
Did you save the file before renaming? Flow rename read file content from disk. Is it working if cursor is on variable (say on |
@madacol Yes I can reproduce the issue now. It's happening when cursor is in the end. I will look into it. Thanks for reporting. |
Issue Type: Bug
I disabled all extension except Flow and reloaded editor to pinpoint the extension causing it
Extension version: 1.1.4
VS Code version: Code 1.36.1 (2213894ea0415ee8c85c5eea0d0ff81ecc191529, 2019-07-08T22:55:08.091Z)
OS version: Linux x64 4.15.0-54-generic
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: unavailable_off
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: