iobroker-javascript-vs-code-extension icon indicating copy to clipboard operation
iobroker-javascript-vs-code-extension copied to clipboard

Intellysence resuls inconsistent/incomplete

Open neopholus opened this issue 10 months ago • 2 comments

Describe the bug When IntellySense is showing a list of possible auto-completions for iobroker-IDs, there seems to be an inconsistent filtering:

Example: I entered 'hm-rpc.1.SZ' and this list is shown: grafik

2 Issues:

  • SZ.Licht is missing
  • Garage.SteckdoseStandheizung is shown, but does not have a "SZ" in the text.

If I enter "licht" in the autocompletion (i.e. 'hm-rpc.1.licht'), SZ.Licht is found: grafik

Expected behavior

  • SZ.Licht should be found and shown as possible auto-completion after "SZ" is entered
  • Garage.SteckdoseStandheizung should not be presented when searching for "SZ"

Version information (please complete the following information):

  • Extension version: 1.7.0
  • VS Code version: 1.96.2
  • ioBroker admin version: 7.1.5
  • ioBroker nodejs version: 20.18.0
  • ioBroker javascript adapter version: 8.8.3

neopholus avatar Jan 05 '25 14:01 neopholus

Could you try if version 1.8.1 solves your problem?

nokxs avatar Feb 20 '25 21:02 nokxs

Thank you for the new version!

Installed new version 1.8.1, also updated VSCode. Image Image

Retest:

I again entered 'hm-rpc.1.SZ' and this list is shown: Image

Thus, no change, still 2 issues:

  • SZ.Licht is missing (among others)
  • Garage.SteckdoseStandheizung is shown, but does not have a "SZ" in the text.

More observations:

If I stop the Intellisense, place cursor behind SZ and press CTRL+Space, a different list is shown: Image

Now, Garage.SteckdoseStandheizung is correctly NOT shown anymore, but SZ.Licht (among others) ist still missing

If I write 'hm-rpc.1.SZ.' (which can only be done by tricking Intellisense, otherwise the . triggers the replacement of the current part of the device id) correct list is shown: Image


Note:

If I enter "licht" in the autocompletion (i.e. hm-rpc.1.licht), SZ.Licht is correctly found and all other IDs containing licht, exactly as before in v1.7.0

neopholus avatar Feb 22 '25 12:02 neopholus

Sorry, you had to wait this long, but now I started a new attempt to fix the problem. Please try the version 1.8.4 which will be released in the next minutes.

nokxs avatar Oct 24 '25 18:10 nokxs

Thank you @nokxs for fixing the issues, the new version is much better :-)

  • SZ.Licht is now always shown in the examples above
  • Garage.SteckdoseStandheizung is sometimes shown even if it should not show up, but this is not a big deal

Thus, for me your fix is a full success.

neopholus avatar Nov 06 '25 19:11 neopholus