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

167
Vistas
Update Status Bar Item Alignment/Priority - VSCode Extension

I am making a VSCode extension and I want to be able to update the priority and alignment of a status bar item.

for example:

const item = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left, 1000);
context.subscriptions.push(item);

setTimeout(() => {
    item.alignment = vscode.StatusBarAlignment.Right;
    item.priority = 0
}, 5000);

However, the icon does not move. I would appreciate any ideas or to know if it's even possible.

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

0

Yes, there is a way to imitate updating the position of an icon bar item. By disposing of the item and creating a new one with the same text value but new priority/Alignment values. You can effectively update the position of the icon live.

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