We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
VScode "from sc2.constants import *" not working, and i have below error massage E0602:Undefined variable 'PROBE'
Also, I tried:
from sc2.constants import PROBE [pylint] E0611:No name 'PROBE' in module 'sc2.constants'
The text was updated successfully, but these errors were encountered:
Add UnitTypeId. in front of probe: UnitTypeId.PROBE
Sorry, something went wrong.
Use
from sc2.ids.unit_typeid import UnitTypeId
then reference PROBE by
UnitTypeId.PROBE
Use the fix suggested by @HeNKiEeEeE
from sc2.ids.unit_typeid import UnitTypeId from sc2.ids.ability_id import AbilityId from sc2.ids.buff_id import BuffId from sc2.ids.upgrade_id import UpgradeId from sc2.ids.effect_id import EffectId
I have this at the top of each of my files. Autocomplete works for me in VScode and Pycharm with this.
No branches or pull requests
VScode "from sc2.constants import *" not working, and i have below error massage
E0602:Undefined variable 'PROBE'
Also, I tried:
from sc2.constants import PROBE
[pylint] E0611:No name 'PROBE' in module 'sc2.constants'
The text was updated successfully, but these errors were encountered: