Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files association not really working #33

Closed
huettenhain opened this issue Oct 11, 2017 · 8 comments
Closed

Files association not really working #33

huettenhain opened this issue Oct 11, 2017 · 8 comments

Comments

@huettenhain
Copy link

Hey! Thanks for the great plugin. I have a very minor issue with it: Even though I set

  "files.associations": {
    "*.dmp": "hexdump"
  }

in my settings, *.dmp files are not opened in the hexdump by default, I always have to select the hexdump button in the top right corner. Am I doing something wrong?

@stef-levesque
Copy link
Owner

This extension is using scheme to specify when to use the hexdump display.
Associating *.dmp to hexdump will only enable the syntax highlighting.

I don't think there is a way in VSCode to force a file type to be opened with a specific scheme

@huettenhain
Copy link
Author

Alright, I see. Would be really useful if certain files would directly open in hexdump, I hope someone knows of a way to achieve this.

@stef-levesque
Copy link
Owner

There is already an issue/feature request on VSCode for that (see microsoft/vscode#12176)
But there is not much traction on this.

@huettenhain
Copy link
Author

I+1'ed it, not much more we can do I suppose. Thanks a lot anyway!

@stef-levesque
Copy link
Owner

Closing for now, will re-open if VSCode expose an API for that.

@BlueGGuy
Copy link

@kaedros
Copy link

kaedros commented Feb 19, 2021

@stef-levesque
Copy link
Owner

iirc, you can now right-click on a file and 'open with editor', then click on the setting icon to select the default one.

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

No branches or pull requests

4 participants