-
-
Notifications
You must be signed in to change notification settings - Fork 285
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
Ionide no longer honoring editor.smartTabs; backspace deletes one space instead of one indent level #1107
Comments
Probably related to #529. |
I can't reproduce on Ionide 4.0 |
Happened to me too. It's because of ionide-vscode-fsharp/release/package.json Lines 1127 to 1132 in 684c1be
package.json overrides the custom global configuration in settings.json , so I have to specify
"[fsharp]": {
"editor.useTabStops": true
} in my settings to delete more than one space at a time. Would you mind removing this setting from the |
I'd be happy to take a PR that removed this, would you like to submit one? My ulterior motive is to get you hooked on contributing :D |
Describe the bug
With Ionide extension enabled,
editor.smartTabs
setting is no longer honored: backspace key is deleting one space instead of one indent level.Disabling the ionide-fsharp extension restores normal Backspace functionality (deletes one indent level as per VS Code's normal
editor.smartTabs
behavior), and reenabling the ionide-fsharp extension brings the buggy behavior back, so I know this is caused by the extension.I thought at first that the
FSharp.smartIndent
setting might be influencing this, but I've seen the buggy behavior whether or notFSharp.smartIndent
was enabled.To Reproduce
Steps to reproduce the behavior:
editor.smartTabs
setting is checked (enabled).Expected behavior
One indentation level (four spaces in my case) is deleted.
Actual behavior
One space is deleted, and I have to press Backspace three more times to delete the indentation level.
Environment (please complete the following information):
System Info
checker_imaging: disabled_off
flash_3d: disabled_software
flash_stage3d: disabled_software
flash_stage3d_baseline: disabled_software
gpu_compositing: disabled_software
multiple_raster_threads: disabled_off
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
surface_synchronization: disabled_off
video_decode: disabled_software
webgl: disabled_off
webgl2: disabled_off
Extensions (9)
The text was updated successfully, but these errors were encountered: