I've added some custom tabs to my ribbon in ribbon.xml. I have callbacks for the getVisible attribute that dynamically set the visibility of the tabs.
My problem is that when I go to Options--Customize Ribbon and uncheck my tabs, when I close Word and re-open my tabs don't re-appear even though the getVisible callback is invoked and returns true.
I've tried recording a macro when checking/unchecking the tabs, but nothing appears in my new macro. Anyone know how to force the tabs to be re-enabled?
I figured it out. This setting is stored in XML in %appdata%\local\microsoft\office\Word.officeUI and if I remove the element for my custom tab, on restarting word my tabs are visible again.
Related
When closing an editor/tab in VSCode, it navigates back to the previous editor/tab you were in. Compare to Firefox or Chrome, which simply go to the next tab to the right.
This is annoying, because it depends on hidden state. I would prefer a setting that depends on the horizontal locations of the tabs, which is more predictable.
Is there a setting to prevent this default behavior, and instead navigate to the next tab to the right?
Found it: set workbench.editor.focusRecentEditorAfterClose to false.
When editing code and I hit TAB I expect the typical 4 spaces to be inserted and the cursor to move. In VS Code, if I hit TAB it takes me to the ... in the upper right of the application, tab again it goes to the Open Editors. Its like TAB is jumping around the editor instead of tabbing into my document.
How does one fix that. Or was a setting changed?
At the bottom of the application, I noticed a Tabs move Focus was lit. I clicked it and it turned off. Not sure how it turned on or what turns it on, but if I click it off, tabs go back to normal. Strange.
For as long as i can remember, the navigation on my autocomplete menu haven't work, it pop's up, and i'm able to select the first suggestion,
But on arrow-up, or down, nothing seems to happen,
I've tried toggling the issue and so on, any suggestions?
Fixed it by editing the keymap.cson file in atom with some custom navigation.
body atom-text-editor.autocomplete-active':
'tab': 'autocomplete-plus:move-down'
An then i set 'enter' as the select key in the Autocomplete plus package settings
After you've close a tab in vscode, the most recently viewed tab gets focus. I would like to change that behavior to instead focus the tab to the right of the closed tab.
Is there a setting to change this?
This feature was added in release 1.31 in January 2019. From the changelog:
Closing order of editor tabs
A new setting workbench.editor.focusRecentEditorAfterClose allows you to change the order in which editor tabs are closed. By default, tabs will close in most recently used (MRU) order. Changing this setting allows closing tabs from right to left instead.
So adding "workbench.editor.focusRecentEditorAfterClose": false to your settings.json should give you the behaviour you want.
I have created custom ribbon tab and added the list of text styling options that I want the users to be using inside my document, however I want to disable all the styling options from the entire document in all the ribbon tabs except the custom tab that I have created.
What I have right now
All the styling options are disabled across all ribbon tabs.
What I want
To disable the styling in all the ribbon tabs except the custom one that I've created.
I think you may be missing the point. One disables not buttons, but commands. This is the basic idea. You can invoke a command (such as "Font color") from many places, using keyboard shortcuts and so on.
So office allows you to disable a command, not a button - and it makes perfect sense.
There is another option - you can remove office ribbon as a whole, using "StartFromScratch" attribute, and provide only the buttons you want instead.