How to get rid of multiple panes on Sublime Text 3? - sublimetext3

I'm using Sublime Text 3 and somehow 2 additional panes popped up. I might have pressed some keys but I don't know which. I couldn't any help online and I've even tried re-installing sublime text 3. Nothing works.

I think you mistakenly adjusted the layout. It can sometimes be in the row (in your case), grid or column.
And for others who might run into this problem later on, here is the solution:
To fix this simply open your Sublime Text 3, go to the menu bar click "View" then "Layout" and click "Single" to have your default view back.
Note: This solution is for Sublime Text 3 (ST3).

Related

Sublime Text 3: Hide tab bar in only one view

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

Sublime Text 3 - when I move the mouse left and right, editor window scrolls left and right

When using Sublime Text 3 - when I move the mouse left and right, editor window scrolls left and right instead of simply moving the mouse pointer where I want it to go.
This behavior only started after last reboot, and I did NOT update Sublime recently.
Windows 10 in VDI mode.
I don't observe that behavior in any other software I use.
If installed try removing the PlainTasks plugin. In my case this solved the issue. The latest update which came in via Package Control came with the unwanted feature to block the left mouse button in the editor window.
I think generally it's no mistake to check all the installed plugins when this issue occurs.

Always show scrollbars in Sublime text 3

How can I configure Sublime text 3 to show horizontal scrollbar always? It shows horizontal scrollbar only if the lines are too long.
I recently switched from Eclipse and it is kind of bothering me.
Note: I googled but could not find any solution so please don't close this as duplicate.

PyQt QTextEdit text selection without moving the cursor (like ubuntu terminal)

I've developed a shell (imitating the ubuntu terminal --> can only edit text after current prompt) by a PyQt QTextEdit.
The thing is when I select some text, the cursor moves as I'm selecting this text (so it disappers from the current command line) and I would like the cursor to stay where it is (only when I select text because I want it to move when I move it programmatically by textEdit.moveCursor(...)) at the same time I'm selecting the text.
Does anybody have any idea of how could I do that?
My solution for now, is to save the position at any change of it (except when it changes by a click), and when I copy some text en paste it, it'll be automatically pasted in the last position the cursor was before the click. That works perfectly but it's "ugly" for the user because, as I said, when he selects the text the cursor disappears of the current line and is where the user is selecting the text. Not like in ubuntu terminal.
Thanks in advance! And sorry for my english.
Adri
I don't see an easy solution to implement this with a text editor API. A terminal is a hack, basically. It mixes a read-only element (anything above the current prompt) with a text editor.
My approach would be to create two text editors, make one read only and display the results of all operations there. If you hide the borders of the two editors, then it will look like a single one. You may have to forward a bunch of events (like scrolling with the keyboard) to the read-only display.

How do I hide the bottom console text output area in Sublime Text 3?

This is probably really simple, but it's frustrating me so much. I'm using Sublime Text 3. Sometimes my plugins output code to a little window at the bottom like this:
And I can't hide it no matter what I try. The only way I can get rid of it is by closing the program and opening it again. Does anyone know how to close this?
Just have to click in the console and simply press esc.
Or to show and hide the console use ctrl + `
Or toggle menu View > Show/Hide Console
In my case, Esc button is working to remove the side bar(terminal/console bar).

Resources