-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extension: only show the CUE status bar item when editing CUE
In VSCode window there is only one status bar. The status bar shows, amongst other things, the file type of the active tab. There is only one active tab. Correspondingly, we should only show the CUE status bar when the active tab is CUE. Also borrow some logic from vscode-go regarding the priority of the status bar item, and fix up the return type of Extension.updateStatus. Signed-off-by: Paul Jolly <[email protected]> Change-Id: Ifb44141c14aadcc3cf6ab2a7cf4b9a4efe993c8e Reviewed-on: https://review.gerrithub.io/c/cue-lang/vscode-cue/+/1206562 Reviewed-by: Daniel Martí <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information
Showing
1 changed file
with
40 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters