Autocomplete not working Atom (ubuntu)

Hi,

I have installed PlatformIO, but autocomplete not working properly, I try to put “digitalRead” but nothing appear, only words already in the existing file.

Did you install Clang?

In any case, we highly recommend to try VSCode A professional collaborative platform for embedded development · PlatformIO

Yes, I already have Clang. The problem is with the package “Autocomple-clang”.

The console show an error when the package is try to running (108 warnings, 28 errors). and “too many errors”.

I have VSCode, but, I don’t like that I only have one active project, is very annoying when I try to switch between projects.

I use Ubuntu 16.04 x64

We have a feature request for that Working with multiple projects · Issue #50 · platformio/platformio-vscode-ide · GitHub

Could you share your platformio.ini?

; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; Redirecting...

[env:uno]
platform = atmelavr
board = uno
framework = arduino

Please open PIO IDE Terminal and type clang --version. Which version do you use?

$USER:~/Dropbox/Proyectos$ clang --version
clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

Do you see any errors in Atom > Menu > View > Developer > Toggle Developer Tools > Console ?

yes,

108 warnings and 28 error, then say, “too many error”, and the package is stoped

Now, I have the same problem with atom on windows 10.

Ok, was only out of update, its ok…