2 ms·
Finally I can just install some package and have a spec-compliant ESP32 circuit which I don't have to copy from somewhere else. This is great. One small thing
by nikeee 3y ago
Finally I can just install some package and have a spec-compliant ESP32 circuit which I don't have to copy from somewhere else. This is great.
One small thing regarding the imports: If you plan to have some rich autocomplete functionality (which helps dicoverability of packages) it is better to have the source of something first and the imported stuff afterwards. Python - which you seem to draw inspiration from - does this as well:
from xy import z
The editor can offer auto completions when the cursor is after "import ", which is not possible if it's the other way round: `import z from xy` (like it is in JS).
I'll try this out, it looks very promising!
- Timot05 3y agoGreat point. We'll change that soon! Especially true for interfaces too since modules might have tons of accessible interfaces and the language server could list them out for you. Did you see the ESP32 in the package registry? https://packages.atopile.io https://packages.atopile.io