How to turn off / deactivate the preview window tab?

It’s really bothering to have the window tab automatically opened and I would like to turn it off, so it stops refreshing the whole working environment every time I make changes to the code. How can I have the preview window (the one that always pops-up to the right side) turned off ?

Thank you,

Hi @DamianRoiz :wave: You’re able to disable the previews by toggling the idx.previews.enable key to false in your dev.nix – or entirely removing the idx.previews key.

# Enable previews and customize configuration
previews = {
  enable = false; // <--
  previews = {
    web = {
      command = ["npm" "run" "dev" "--" "--port" "$PORT" "--hostname" "0.0.0.0"];
      manager = "web";
    };
  };
};
1 Like

Thank you, I have just noticed the .idx folder with all the customization options in it

1 Like