Mod Portal: https://mods.factorio.com/mod/ghost-mode
Toggle "Ghost-mode", making all entities you build a ghost regardless of what's in your inventory. Bascially, it holds down Shift for you. Ghost-mode can be toggled via the default key binding Shift + G or the shorcut bar.