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

266
Vistas
Invalid argument 'columnOrOptions' when running 'vscode.diff'

I am creating an VS extension which needs to show the difference between two files

vscode.diff - Opens the provided resources in the diff editor to compare their contents.

left - Left-hand side resource of the diff editor right - Right-hand side resource of the diff editor title - (optional) Human readable title for the diff editor columnOrOptions - (optional) Either the column in which to open or editor options, see vscode.TextDocumentShowOptions (returns) - no result

When i try to specify the column in the execute commands it fails and shows error rejected promise not handled within 1 second: Error: Invalid argument 'columnOrOptions' when running 'vscode.diff', received: 1 c:\Users\sivakub\AppData\Local\Programs\Microsoft VS Code\resources\app\out\bootstrap-fork.js:5 stack trace: Error: Invalid argument 'columnOrOptions' when running 'vscode.diff', received: 1

Here is the code

vscode.commands.executeCommand("vscode.diff", vscode.Uri.file(outputpath), vscode.Uri.file(oldOutputPath),"Current ----- Old", vscode.ViewColumn.Two);
about 4 years ago · Juan Pablo Isaza
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