Some improvements that would help a lot while editing cells code:
recognize when a function from an imported library is correctly written, and highlight it like it’s currently done for keywords and notebook variables (for example with the same dark blue color): e.g. highlight d3.geoAlbersUsa
when typing, propose autocomplete: d3.geoAlbe → d3.geoAlbersUsa
Syntax highlighting for object properties is an interesting idea. I think it might be tricky since objects can be dynamic, though, so we’d need to recompute syntax highlighting whenever referenced values change. (In contrast, autocomplete does an instantaneous sample of the defined properties when you hit Tab.)
I’d love integrated documentation. Tom commented on that here: