Sto usando il plug-in Sublime Text Git (con ST3), ma non ho bisogno o voglio il materiale che aggiunge alla barra di stato (nella parte inferiore dell'interfaccia utente). Tuttavia, non riesco a spegnerlo. In Git.sublime-settings ho impostato sia statusbar_branch
sia statusbar_status
su false, che ha rimosso alcuni ma non tutti gli output della barra di stato del plugin. Ottengo ancora "Confronto contro: HEAD". C'è un modo per disabilitare anche questo?C'è un modo per fermare il plug-in Git di Sublime Text che fa casino con la barra di stato?
5
A
risposta
6
Il messaggio "Confronto contro HEAD" nella barra di stato non è in realtà prodotto dal plugin Git, ma da GitGutter.
// Determines whether GitGutter will show informations in the status bar
// Set "none" to hide these informations
// Set "default" to show in the status bar what you are comparing
// against, how many lines have been inserted or modified and how many regions
// have been deleted.
// Set "all" to also show on what branch you are
"show_status": "default",
La configurazione predefinita è per mostrare le informazioni da GitGutter nella barra di stato.
Se si desidera disattivarlo, è sufficiente impostare show_status
su none
, come indicato dai commenti.