Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

172
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!