If I have multiple views open in a window in Sublime Text 3, is there a way for me to hide the tab bar in only one of the views, rather than View > Hide Tabs, which hides the tab bar in all views?
Except for Justin's workaround, there is not a way to do this in a single window. The toggle_tabs command is associated with the window, not an individual view, so it operates on all views within a particular window.
Hypothetically, you could write a Python plugin to execute toggle_tabs every time you switched to a particular view, but it would have to be file- or file type-specific.
If its just one view just drag it to make it a new window that way you will have two windows, one with the tabs you wish to see and other with ones you dont want to see
Related
For instance I have like 50 tabs opened right? How can I for instance use the first tab and mirror the cursor clicks to every other tab opened in the current browser? Is it possible I've searched online but no dice, it's about a game that uses skins and I wanna make it easier for me because I have to single handidly open a tab to tab and click on that specific spot and why would I do that when there is probably methods for that.
In Generic Inquiries, I've noticed that certain fields automatically have hyperlink functionality to open specific screens. I'm not sure what determines what screens these open (I'd imagine its based on whether its a key field for a maintenance table/DAC, etc.) - but I've also noticed that the manner in which it opens a screen is different for different fields / field types. Some open a popup with no menu, others open in the same screen space as the Generic Inquiry, and in doing so replace it in the browser.
My question is this: Is there a way to modify, in the GI setup, the manner in which it opens the screen so that it always opens as a replacement instead of a popup window?
If I remember correctly, with Acumatica ERP ver. 6.0 on the Generic Inquiries' Navigation tab there was added Window Mode drop-down to configure how the screen is opened from hyperlinks in a given GI:
When I go to open the folder in Sublime Text 3 and open some folder, instead of creating a sidebar and opening the folder, it just opens a window with the name of the window set to the name of the folder. And the window will be empty! So, for example, I opened a folder called Shopping Cart tutorial. Instead of creating a sidebar and opening the folder, it will create a window with Shopping Cart Tutorial as the name of the window. Again, it will be empty, unless I open some file. Any ideas on how to fix that?
The issue you're seeing here is either that the side bar is not currently being told to be visible, or it's set to be visible but it has nothing to display.
The fix in the first instance is to select View > Side Bar > Show Side bar from the menu, select View: Toggle Side Bar from the command palette, or press Ctrl+KCtrl+B.
The visibility of the side bar is a window by window setting, so if you have this option turned off initially you'll have to perform this step in all current windows to get it to be visible everywhere. Once it's visible, the state is saved and will be used for new windows.
You may notice that this either has no effect, or the menu item in question isn't available and says Hide Side Bar instead. The reason for this is second item I mentioned above; it has nothing to display.
Sublime tries to be as minimal as possible with its UI Chrome so that there's as much room as possible for editing text. For that reason, it will hide the side bar if it thinks that it doesn't need it to be visible.
The side bar can display two things: the list of folders you have open/in your project and the list of files that are currently open. The display of currently open files is controlled by the View > Side Bar > Show Open Files menu item (or the associated toggle command in the command palette).
No matter what you do, the side bar will remain invisible if you have no folders or files open, so regardless of any setting a newly created window that has no folders open and no files open will always have no side bar.
If you turn on the option to show open files, the side bar will appear even in windows where there are no folders open, so long as there is a file open (even an unsaved new file).
I frequently have 10-20 files open simultaneously in GVim (more than fits nicely into screen horizontally) and I've enabled tab bar (set showtabline=1). I'd like to change the tab bar behaviour so that when I click the arrow button on either end of the tab bar, the tab bar would scroll instead of switching to next/previous tab. Is this possible?
No, I don't think this is possible. All aspects of tab pages are described at :help tabpage, and I didn't find a setting there.
In general, you should avoid having too many tab pages, because you lose out on opportunities for quick navigation and movement of text across buffers. Things like the quickfix and preview windows always open in window splits, so learn how to use them (and the underlying concepts of windows vs. buffers).
I know that many people today open dozens of tabs in their browsers, but Vim is different. I only use tab pages to separate different workspaces (e.g. edit a mapping in tab 3 while I'm coding in tab 1 and have the documentation in tab 2).
Using LWUIT framework to develop mobile application.
In LWUIT by default first command is placed in the left and subsequent commands will be placed in the right menu of the form including the command which is already placed in form left.I need to add two menus to form.Left menu contains general application specific commands such as "Minimize","Back" and "Exit". Right Menu contains screen specific commands such as "Play Audio","Play Video" etc... Initially left softbutton of the form contains the text "Options" and the right softbutton of the form contains the text "Menu". When user selects "Options", a menu will be displayed with the following commands:
Minimize
Back
Exit
When user selects right soft button "Menu", a menu will be displayed with screen specific commands:
Play Audio
Play Video etc...
Commands of the right menu keeps changing from one form to another form, whereas the commands of left menu remains the same for all screens(forms). I know command menu can be customized by overriding "Form.createCommandList(Vector)" which returns a list. But here in my case I need two lists(menus). One at the left of the form and the other one at the right of the form.Please do help me in resolving this issue.
A LWUIT menu is just a dialog containing a List (or buttons for touch menu or pretty much anything you want), so to implement this just create a Command called options and place it in the left soft button. When options is pressed just show the dialog with your "additional commands". Since a List can accept a command array or vector doing something like this can be really easy.
You can look at the code for MenuBar which is pretty simple, you can also replace the menu bar component in the latest version LWUIT (SVN at the moment) but that seems redundant for this particular use case.