dont know if i understood the question correctly, but if you want the Bar to have all the properties and methods of Foo plus whatever you add to the Bar script, you can extend it from the Foo script
In case of external text editor (such as Visual Studio Code) you might have to restart Godot Editor to update classnames and methods (I use Godot 3.2.3 and I have to restart Godot to refresh methods and classnames, or VSCode highlights lines as warnings/errors).