-
Notifications
You must be signed in to change notification settings - Fork 767
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
Recent change has broken Autocomplete for Autodesk's adsk module. #2261
Comments
the first window probably suggests the type since the type has been used somewhere else while vscode is running. but the second vscode didn't with indexing off. it is happening since we currently only support the first level modules for third party libraries in indexing (hidden option) but, now, "python.analysis.indexing" became a real option. set "python.analysis.indexing": true to enable indexing which will improve auto-import experience. Also, new hidden option "python.analysis.packageIndexDepths" is added which can be used as below to control how much get indexed.
By default, only the first level module of third party libraries will be indexed, but now, you can use ["package name", module levels to be scanned] to control that. If you put "" (empty string) to package name, then it will affect all packages. For your example, ["adsk", 3] will make up to 3 level sub modules to be picked up. Thank you fix will be in the next release 2022.1.2 |
So, i searched in settings for it and did not see anything, so I attempted to directly add the option to my settings.json and it is saying "Unknown Configuration Setting". Everything should be up to date. Did I misunderstand what you were saying and that the option would be available in the next patch or something? The same is true for ""python.analysis.packageIndexDepths": ". How often do you guys release updates? I saw one was maybe like 5 days ago so depending on the frequency I may be waiting a bit. |
release day is every wednesday, so should be in today. |
This issue has been fixed in version 2022.1.3, which we've just released. You can find the changelog here: CHANGELOG.md |
VS Code version
1.63.2
Extension version
For working:
v2021.12.1559732655
| For not working:v2021.12.1559732655
OS type
Windows
OS version
Windows_NT x64 10.0.19041 (windows 10)
Python distribution
Other
Python version
3.7.6
Language server
Default
Expected behaviour
I have a window ive left open for about a month now, so its settings have not synced. In a file from that window, if i start typing the name of a variable which is nested in a few modules under audtodesks adsk module, it gets suggested as per expected. See image:
![Working](https://user-images.githubusercontent.com/79198508/149634182-946e962d-2bea-4fb9-9158-1f859a951440.png)
Actual behaviour
Within any new window, the autocomplete no longer shows for anything within the adsk module. It will still show if I access it with
![Failing](https://user-images.githubusercontent.com/79198508/149634272-33c5f34e-652c-44b3-82c2-a63889f2dc70.png)
adsk.core.matr...
but just starting to typematr
will not show an option foradsk.core.matrix3D
. See image:Steps to reproduce
I will be honest, I have no idea what I've done to cause this. I hope it was just an issue with a recent update, but it could be a problem from some extension I've installed or some changes made to the settings. Since nothing changed on my old windows that are open, I would not have seen the problem until I opened a new window.
Logs
LOG FOR WORKING~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LOG FOR NOT WORKING~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Code of Conduct
The text was updated successfully, but these errors were encountered: