Skip to content

Associate file extensions #302

Description

@gdementen

I just tested associating a few file extensions with the editor. This mostly works and, contrary to what I thought, WITHOUT admin priviledges. There are a few oddities that I need to investigate whether they are issues with pixi or with the original menuinst code that conda uses (AFAICT, pixi uses rattler_menuinst which is just a port of menuinst to rust, so I suppose the behavior should be the same -- unsure what code (micro)mamba uses or wether they support menus/file association).

  • the icon is the "generic executable" one, not the one specified. A pity but not a blocker. Edit: This was specific to pixi and is fixed for their next release.
  • the files type appear in File Explorer as .<ext> LArray Editor.AssocFile.<ext> file which is quite strange/ugly/confusing but not a blocker. Edit: fixed in Pixi for their next release (I must still report it to menuinst)
  • running the editor with (a) file(s) as argument should open the File Explorer instead of loading them (because that's faster and we support a lot more formats that way): Open File Explorer for file(s) passed as command-line argument(s) #303
  • we should only associate files for which our users probably do not have a viewer installed: .h5, .hdf, .feather, .ipc, .arrow, .parquet, .ddb, .duckdb

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions