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
Incompatibility with Vim plugin on latest version #410
Comments
There's your issue. To implement this feature, we have to override the same "type" command that the Vim extension uses under the hood. As far as I know there's no way to avoid this conflict... microsoft/vscode#13441 Note that |
I've added a note about the incompatibility with the Vim extension to https://github.com/vshaxe/vshaxe/wiki/Auto-Indentation. |
Thank you! That second option solved the problems I was having! |
@Gama11 I am running into a similar incompatibility with vim as described in this issue, but I did not set "haxe.enableExtendedIndentation" to true. Downgrading worked for me and I think I'll use the older version for now. If you have any additional insights I'd appreciate it. |
Are you sure about that? Flixel generates a settings.json where it's true by default for instance. |
I have this same issue with the latest version, and it turns out I had a workspace setting overriding the indentation setting to true. However, the feedback that the extension failed to load (and why) was pretty tricky to track down - is there any way that could be improved to more specifically point to this? |
What do you mean by "extension failed to load"? |
This error from exthost.log:
|
Huh, I didn't realize this triggers an exception that causes the whole activation to fail, that's pretty bad. I think the behavior here may have changed in recent VSCode versions, not sure. I'll have to see if it's possible to try-catch or otherwise detect that... Edit: Hm, it might simply always have been like that, there's reports of that error in other extensions from 2019: msafi/xvsc#11 (comment) |
Ah, I guess this depends on extension loading order. When I previously tested this, it was always the Haxe extension that was loaded first, causing the Vim extension to be the one that fails to load. Anyway, looks like a regular |
Great, thanks for the quick response! |
Awesome, that’s much clearer and hopefully will help some folks in the future. Thanks so much!
…On Jun 10, 2020, 2:30 PM -0700, Jens Fischer ***@***.***>, wrote:
Just published 2.20.3, which displays the following in case of failure:
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I'm not sure where that file would be. The only settings files are below, the bottom one never was set to "true", and I've set it to false explicitly as well.
|
What was the workspace setting? |
@moltzaum |
@Gama11 Yep, it was there. Thanks! |
When upgrading the Haxe VSCode extension v2.17.0 I noticed that I was unable to navigate using vim movement commands using the Vim extension v1.12.4. Instead of moving, all keystrokes were inserted at the current position as if the Vim extension was not getting the inputs. Hitting escape did not fix the issue. The VIM mode selection was still running and was showing
-- NORMAL --
. Downgrading the Haxe extension to v2.16.5 fixes the problem for me.I am running VSCode 1.41.1 on Windows 10 64-bit.
Here's the user settings.json I'm using:
The text was updated successfully, but these errors were encountered: