Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

197
Vistas
Can I set VSCode as default editor for specific file type through extension?

I am currently developing a VSCode extension in javascript for a specific type of files. I would like to add a functionality that when opening this file type, the extension will check if the default editor of the file type is VSCode and if not this message will appear:
enter image description here

And then if the user clicks on Open with VSCode, the extension will set VSCode as the default editor of this type of files.

I searched on the VS Code API but I didn't find something useful and I have no clue how I could do something like that.

Thank you very much in advance!

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

You have to interact with the OS to set the defaults. For example - you can go in settings - apps - default apps to set the default apps for specific file types. So I think you cannot do it directly as it also requires admin privileges and you can try using automation or something like that to achieve this. I don't think anyone can provide a direct way or code to do what you mentioned.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda