fsprojects-archive / zzarchive-VisualFSharpPowerTools

[ARCHIVED] Power commands for F# in Visual Studio
http://fsprojects.github.io/VisualFSharpPowerTools/
Apache License 2.0
310 stars 77 forks source link

Can't close square brackets #1376

Closed aradicchi closed 8 years ago

aradicchi commented 8 years ago

Description

Since 2.4.1 I can't close square brackets when editing, i.e. I can't write ']' character on editor.

Known workarounds

Disabling the VS F# Power Tools extension.

Related information

dungpa commented 8 years ago

@aradicchi Thank you for reporting the bug.

Could you try the latest build to see if the issue has been fixed https://ci.appveyor.com/project/dungpa/visualfsharppowertools/build/2.5.0-a1605030805/artifacts?

aradicchi commented 8 years ago

Hi @dungpa, still having the same issue. In the meantime I switched VS to Update 2.

See the attached image to check if the installed build is correct.

vfspowertools

dungpa commented 8 years ago

@aradicchi Is this related to the use of AltGr key?

Could you check if the problem goes away when Peek Definition is turned off in General Options dialog?

aradicchi commented 8 years ago

Yes, I'm using an Italian keyboard so the squared bracket is obtained via [AltGr].

By disabling Peek the problem seems to be fixed.

dungpa commented 8 years ago

Have you tried restarting Visual Studio and keeping Peek definition enabled?

I tried installing the new build and the problem went away for me after VS restart.

aradicchi commented 8 years ago

Yes, I tried but for me this doesn't work

lepinay commented 8 years ago

I'm running into the same issue but with closing curly '}' on french keyboard. I had to rollback to 2.3.0.

edit: latest build (as linked above) + disable peek definition + restart fixes the issue

embix commented 8 years ago

I second that bug: german keyboard layout, fsharp project, tilde not working - disabling the Peek Definition is a nasty workaround.

dungpa commented 8 years ago

Hi all,

Would you mind trying this new build https://ci.appveyor.com/project/dungpa/visualfsharppowertools/build/2.5.0-a1605110828/artifacts?

Now AltGr keys should work even if Peek definition is enabled.

We selectively disable Peek definition on standalone files (not belonging to any project) by default in F# Power Tools -> Configuration -> Misc -> Enable peek definition on standalone files. This part of the feature is the source of the problem. That's the best thing we could do for now.

embix commented 8 years ago

Wow, that was fast. Works as expected. Thanks.

aradicchi commented 8 years ago

Thank you