UmbSense icon indicating copy to clipboard operation
UmbSense copied to clipboard

Not getting suggestions

Open deMD opened this issue 5 years ago • 11 comments

After installing the extension I don't get any suggestions in html files.

image image image

deMD avatar Oct 07 '19 09:10 deMD

I'm experiencing the same issue.

ulrichebsen avatar Jan 16 '20 14:01 ulrichebsen

Hi,

I am not sure it might be one of two things

  1. Completion will only happen on HTML based files (so .htm, .html, or .cshtml)
  2. I am not sure, but you might need the Web Essentials package also installing? (we do include the dlls required but maybe we are missing something)

KevinJump avatar Jan 16 '20 14:01 KevinJump

Hi Kevin,

I didn't have Web Essentials installed - only some parts of it. But installation of the full package didn't do anything different...

ulrichebsen avatar Jan 16 '20 15:01 ulrichebsen

I am also having this problem :(

AaronSadlerUK avatar May 01 '20 20:05 AaronSadlerUK

Just wanted to verify that installing Web Essentials did work for me for the latest version of the extension. 👍

However, it does not work without Web Essentials installed.

deMD avatar Sep 22 '20 12:09 deMD

I've not been able to reproduce this issue. I can say that I have had to reinstall the extension after a recent update to Visual Studio, so maybe that could be something that could be attempted.

I've also continued to search for answers and beyond the simple suggestions that I imagine have been tried (restart visual studio, restart your machine, update Visual Studio, open Visual Studio as Administrator, etc.) and the extreme (re-install Visual Studio), I did come across an interesting post that details some configuration options that might help.

Workaround #4: Verify Some Specific Visual Studio Configurations If all of the above didn’t work, it’s time to verify some configurations in Visual Studio itself. Go to Tools -> Options -> Text Editor -> All Languages -> General. Make sure “Auto List Members” is checked. Also, make sure “Parameter Information” is checked.

There are a few other configurations you should check out, too. Still under Text Editor, go to “Basic” and then “IntelliSense.” Make sure you have the following three checked:

Show completion list after a character is typed Highlight matching portions of completion list items Show completion item filters Now, what if you’ve got all of the options above checked and it still doesn’t work? It will sound silly (again), but here goes: try unchecking all of them and then checking them again. Then click on “OK” and see if everything works fine.

I'm hopeful that this might work and I'm curious how you might make out.

adam-werner avatar Feb 28 '21 21:02 adam-werner

I've not been able to reproduce this issue. I can say that I have had to reinstall the extension after a recent update to Visual Studio, so maybe that could be something that could be attempted.

I've also continued to search for answers and beyond the simple suggestions that I imagine have been tried (restart visual studio, restart your machine, update Visual Studio, open Visual Studio as Administrator, etc.) and the extreme (re-install Visual Studio), I did come across an interesting post that details some configuration options that might help.

Workaround #4: Verify Some Specific Visual Studio Configurations If all of the above didn’t work, it’s time to verify some configurations in Visual Studio itself. Go to Tools -> Options -> Text Editor -> All Languages -> General. Make sure “Auto List Members” is checked. Also, make sure “Parameter Information” is checked. There are a few other configurations you should check out, too. Still under Text Editor, go to “Basic” and then “IntelliSense.” Make sure you have the following three checked: Show completion list after a character is typed Highlight matching portions of completion list items Show completion item filters Now, what if you’ve got all of the options above checked and it still doesn’t work? It will sound silly (again), but here goes: try unchecking all of them and then checking them again. Then click on “OK” and see if everything works fine.

I'm hopeful that this might work and I'm curious how you might make out.

I had a similar issue with the OP, I did the following:

  1. I didn't have Web Essentials installed when I installed UmbSense, installed Web Essentials (no luck)
  2. Uninstalled/re-install UmbSense seems to have kicked it back in.
  3. Although it started showing, shortly after closing the file and trying to use <umb- the intellesense had stopped picking it up.
  4. Followed the steps quoted in this
  5. Disabled the extension
  6. Close/reopen Visual Studio
  7. Enable the extension
  8. Seems to work again
  9. After letting ReSharper do all of it's magic, stops working. I believe ReSharper is interfering (so if you have it installed, that might be the culprit)

RyanHelmn avatar Mar 03 '21 11:03 RyanHelmn

:( boo his resharper - I don't use it personally - if anyone can debug this issue with resharper installed that would be great.

KevinJump avatar Mar 03 '21 11:03 KevinJump

:( boo his resharper - I don't use it personally - if anyone can debug this issue with resharper installed that would be great.

Got a love hate relationship with it :( I changed the following in ReSharper settings and wallah, works like a charm. Capture

RyanHelmn avatar Mar 03 '21 11:03 RyanHelmn

I suspect we would need a resharper flavoured version of umb-sense to work around this.

https://www.jetbrains.com/help/resharper/sdk/Features/Completion.html

KevinJump avatar Mar 03 '21 11:03 KevinJump

Happy to help testing out any updates you do regarding ReSharper intellisense! At face value looks about right.

RyanHelmn avatar Mar 03 '21 11:03 RyanHelmn