# Configure which extension opens which file type?

**URL:** <https://discourse.jupyter.org/t/configure-which-extension-opens-which-file-type/23932>\
**Category:** JupyterLab\
**Created:** [February 14, 2024, 7:27pm UTC](https://discourse.jupyter.org/t/configure-which-extension-opens-which-file-type/23932 "2024-02-14T19:27:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhuylebroeck](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/jhuylebroeck/32/8370_2.png) [@jhuylebroeck](https://discourse.jupyter.org/u/jhuylebroeck)\
**Post date:** [February 14, 2024, 7:27pm UTC](https://discourse.jupyter.org/t/configure-which-extension-opens-which-file-type/23932/1 "2024-02-14T19:27:01Z")

</div>

Is there a way to configure which extension opens which file type?

for instance I want `csv` to be open with jupyterlab-tabular-data-editor  
and `tsv` with jupyterlab-spreadsheet-editor

(because spreadsheet-editor doesn’t display lines with many characters in a good way for our use case)

can it be configured globally and as a user config?

I use z2jh with helm to deploy this environment.

---

<div class="post-metadata">

**Author:** ![spookster](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/spookster/32/8939_2.png) [@spookster](https://discourse.jupyter.org/u/spookster)\
**Post date:** [February 14, 2024, 7:38pm UTC](https://discourse.jupyter.org/t/configure-which-extension-opens-which-file-type/23932/2 "2024-02-14T19:38:14Z")

</div>

Yes, you can configure this under settings → settings editor and then in the ‘Document Manager’ settings:

![image](https://canada1.discourse-cdn.com/flex031/uploads/jupyter/original/2X/c/cab4ffd8931eb07651805f8392db7080539fa497.png)

---

<div class="post-metadata">

**Author:** ![jhuylebroeck](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/jhuylebroeck/32/8370_2.png) [@jhuylebroeck](https://discourse.jupyter.org/u/jhuylebroeck)\
**Post date:** [February 14, 2024, 11:04pm UTC](https://discourse.jupyter.org/t/configure-which-extension-opens-which-file-type/23932/3 "2024-02-14T23:04:16Z")

</div>

thank you!

Is there a way to set a default configuration via the jupyter lab config or something?

---

<div class="post-metadata">

**Author:** ![spookster](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/spookster/32/8939_2.png) [@spookster](https://discourse.jupyter.org/u/spookster)\
**Post date:** [February 15, 2024, 7:35am UTC](https://discourse.jupyter.org/t/configure-which-extension-opens-which-file-type/23932/4 "2024-02-15T07:35:20Z")

</div>

The config is just stored and provided in JSON files.

In your case that specific config is located in `~/.jupyter/lab/user-settings/@jupyterlab/docmanager-extension/plugin.jupyterlab-settings`.

You should be able to provide your new ‘default’ for a pod by copying it into the pod.

Or you could try to provide it through a customization of the container.

---

<div class="post-metadata">

**Author:** ![jhuylebroeck](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/jhuylebroeck/32/8370_2.png) [@jhuylebroeck](https://discourse.jupyter.org/u/jhuylebroeck)\
**Post date:** [February 15, 2024, 10:01pm UTC](https://discourse.jupyter.org/t/configure-which-extension-opens-which-file-type/23932/5 "2024-02-15T22:01:56Z")

</div>

thanks for the pointer to the user config file.  
It’s very helpful.
