iobroker-javascript-vs-code-extension
iobroker-javascript-vs-code-extension copied to clipboard
Intellysence resuls inconsistent/incomplete
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:
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:
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
Could you try if version 1.8.1 solves your problem?
Thank you for the new version!
Installed new version 1.8.1, also updated VSCode.
Retest:
I again entered 'hm-rpc.1.SZ' and this list is shown:
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:
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:
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
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.
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.