It turns out that I has 2 installations, one with snap and the other in /usr/bin. Evidently I was ussing the /usr/bin version and snap was updating correctly. Now I removed all and installed from snap and I have the last version OK!
Uninstalled the usr/bin with the following command (just in case it helps others):
sudo apt remove code
After that, I have to run code with
snap run code or
code no longuer works. I verified the
$PATH and it has /snap/bin in it (2 times):
$ echo $PATH
Anybody knows how to run code with just
code . from a project path now?
EDIT: just restarted Ubuntu and it works great now!