How do I stop splitting my editor in Spyder? - editor

I accidentally used 'vertical split' and 'horizontal split' in the Spyder editor (View->Window Layouts->Vertical split DON'T CLICK THIS!), now there is no way for me to go back. Does anyone know how to unsplit windows in Spyder?

Never mind, I found the answer when looking at the keyboard shortcuts (as that's how I accidentally split the screen the first way): alt+shift+W

I was having trouble with an older version of Spyder v4 on Mac, and I got it to work by updating to Spyder v4.2.1, right-clicking on the tabs in the panel I wanted to close, and then clicking "Close this panel" closed the split panel.

Related

Why does TSynEdit not detect Tab key pressed?

This is my first question, I hope it will be a well constructed one.
I'm currently using Delphi 10.4 Community Edition and I installed SynEdit through the GetIt Package Manager.
The problem I'm facing is the following: I created a VCL form, dropped a TSynEdit in it and launched the application. The problem is that if I press the TAB or SHIFT+TAB, nothing happens. I tried to put breakpoints in the following methods of TSynEdit:
CommandProcessor
ExecuteCommand
DoTabKey
and the debugger never enters them while pressing those keys.
I then looked at the Keystrokes property of my TSynEdit control and, although the keystroke for TAB is defined, I think that the shortcut is "fake". What I mean is that if I try to modify what is associated to the ecTab command and manually choose the shortcut value, nor Tab or Shift+Tab are present in the listbox.
Did anyone ever experienced a problem like this? If so, how did you manage to solve it?
PS: Indentation works with other shortcuts, such as CTRL+SHIFT+I/U.
As indicated by Keith Miller, it was as simple as setting to True the property WantTabs for the TSynEdit control.
Still, if anyone knows why the TAB and SHIFT+TAB shortucts don't appear in the listbox of selectable shortcuts, please let us know.

Keybpard shortcut in Spyder to temporarily make a single pane the only pane

If I have multiple panes in the Matlab's IDE, Shift-Ctrl-M causes the one with the focus to become the only visibe pane, taking up the entire IDE window. Pressing Shift-Ctrl-M again brings back all the other panes that were present, and the pane with the focus becomes just one pane among many again.
Is there such a shortcut key in the Spyder IDE?
There is a GUI button to do this, but I wonder if there is also a shortcut key.
(Spyder maintainer here) The shortcut for that in Spyder is Ctrl+Shift+Alt+M
Note: You can browse and modify all our available shortcuts by going to the menu
Tools > Preferences > Keyboard shortcuts

Is there a way to organize Delphi XE2/XE5 tabs editor in multitabs?

I have a lot of files to keep open, and the current single line of tabs is just difficult. I see that GExperts and CNPack does not have that (unless I missed that).
Is there any trick to achieve that, or any other suggestion that I could have more tabs visible?
The TIDEGradientTabSet (if it's still used in modern Delphi) doesn't support multiline view, so the only option for those IDE experts could be making own tab set control hiding the original one.
Alternatives are:
On the far right of the tabs is a small down arrow. Press that, and you'll see a list of all the files that are open in the editor;
Pressing Ctrl+B will open up a dialog to select a tab;
TMS has a free tool AltTab but it did not get update for while. That was exactly what was needed for Delphi IDE;

Xcode 5.1 method search only allows one character?

I've recently upgraded to Xcode 5.1 and I'm experiencing the most annoying bug. The instant search or method search dialog that allows you to search the methods on the given source file you are looking at isn't allowing me to enter more than one character. I have large source files and I tend to rely on that a lot. Any idea why this might be happening. I've tried re-installing Xcode (simply be dragging it in the trash).
You can find the search field I'm talking about by clicking the method as shown in the screenshot and simply typing something.
When I type the character gets replaced with the last letter entered.
(This one's just informational: I don't think it will fit in a comment, and want to report on what suggestions worked and didn't.)
I ran into this same problem. I accidentally typed some other key combo when trying to do Ctrl+6 to open the Document Items dropdown, and it was all out of whack after that.
As clance_911 mentioned, the filtering would work after clicking in the search box. So for example, to filter for "init", I could hit Ctrl+6 to open the Document Items, type "i" to start filtering (but then any subsequent letters would replace the i), click into the search text box, and continue typing the "nit". This works, but it's a pain.
As Moze pointed out, this seems to be specific to external displays. Sure enough, it worked fine on my MacBook display, but if I moved Xcode over to the external display, it stopped working. In my case, dragging the menu bar in the display Arrangements settings (to make the external monitor the main display) did solve the problem: the filter worked correctly with Xcode in either window. Sorry, Etienne :-(
The other solution that worked for me was simply closing the MacBook: use it in clamshell mode with only the external display. This is my normal setup anyway, but I know that's not ideal for everyone.
It happens if Xcode is open in external display that is not main display.
To fix it, open display setting's Arrangement tab and drag menu bar to display that you are working on.

How can I maximize the editor pane in IntelliJ IDEA?

In Eclipse, I can type Ctrl+M or click the maximize icon in the editor pane to make the editor pane take up the entire Eclipse window, and then again to restore the pane back to its previous size exposing the other panes.
Is it possible to perform the equivalent in IntelliJ IDEA?
To clarify, I'm asking about hiding all other tool panes to show only the editor pane. I'm not asking how to go to distraction-free mode, because this is mode is completely "full screen", hiding all toolbars, window decorations, etc.
The closest thing would be to hide all tool windows by invoking the Hide All Tool Windows action. The shortcut for that is Ctrl + Shift + F12 (Default keymap).
This will hide all tool windows, effectively maximizing the editor window (though not full screen). The IntelliJ menu bar, toolbar, breadcrumb and tab bar will still be visible.
I'm using IntelliJ 11.1.2 on Kubuntu 12.04 LTS with the Default keymap.
14.0.3 on MacOS X
It's Cmd + Shift + F12 in IntelliJ IDEA 14.0.3 on MacOS X.
UPDATE on 2015-03-24:
IntelliJ IDEA 14.1 now has support for Distraction Free Mode. You can invoke it by clicking View > Enter Distraction Free Mode. In this mode, IntelliJ hides everything but the menu. For more details, follow their video detailing the new feature: https://www.youtube.com/watch?v=uVwE8MFgYig.
If you want to maximize a pane , select that pane (by clicking inside or on its title bar) and then use the shortcut "Ctrl+Shift+Quotes"
You can double click anywhere on the tab title bar of the editor pane.
All answers work for only hiding other tools. If you have more than one editor pane and you want to maximize only one editor pane (hide all tolls and hide all other editor panes), it is not possible right now.
PyCharm version: 2018.2.7
I use Ctrl-Shift-F12("Hide All Windows") toggle between maximum and normal modes of the editor.
Using IntelliJ 14.1.5
If you want to maximize the editor window AND full-screen the app, you can create a macro with the following two commands:
Toggle Full Screen Mode
Hide All Tool Windows
And then assign a hotkey to the macro. Here's how I did this:
File > Settings > Keymap
Use the search bar to search for the two commands above. Assign obscure hotkeys to those.
Edit > Macros > Start macro recording
Hit the two obscure hotkeys you just assigned: this should max the editor and full-screen the app
Stop recording. Name the macro
Open File > Settings > Keymap again. Find the Macros section, find your macro, assign a nice hotkey to it.
I just assigned ^M(ctrl+M) to Main menu | Window | Active Tool Window | Hide All Tool Windows under preferences(by clicking cmd,). This worked for me exactly like eclipse.
something similar can be achieved by opening your tab in a new window.
The default hotkey for that is shift+f4.
the editor tab remains in the main app window as well, and the new window appears on top of the main app window.
This has already been answered, but since when I google "android studio maximize tab" this is the first answer I see, I'm going to add my two cents.
I hate the keyboard shortcuts since, at any given time, I have 1 hand on my keyboard and 1 hand on my mouse. Having to let go of my mouse to hit a 3-key combination to maximize the current tab is not a shortcut. What I was looking for was an Eclipse-style behavior: double-click the tab to maximize. Here's how to do that:
In Android Studio, under Preferences, go to Keymap->Main Menu->Window->Active Tool Window. Right-click the "Maximize tool window" mapping and select "Add mouse shortcut."
For "Click Count" pick "Double Click" and then double-click on the "Click Pad" mouse icon.
Click OK out of the menus and you should now be able to double-click on any tab and it will be maximized. Double-clicking again will minimize it.
Coming from Eclipse to IntelliJ, this was one of the most frustrating aspects I've had to deal with.
full screen plugin is availble for IntelliJ Idea...
https://github.com/jfim/ideafullscreen
If you need to use the same shortcut like Eclipse Ctrl+M, to minimize/maximize the active editor window,
You can follow the below steps:
Open (File > Settings...) or click ( Ctrl+Alt+s )
Select Keymap
Search for "Hide All Tool Windows"
Change the default shortcut to Ctrl+M
Then you will be able to use the same shortcut as Eclipse.
This is quite an old question and the distraction free mode wasn't exactly what I wanted. This is because it does not hide other editor windows. With 2021.1 EAP this issue has been resolved and maximising the editor hides all other editors but the active one.
For people using IdeaVim trying to emulate the <leader> z behavior of tmux, you can use the following mapping:
map <leader>zz <Action>(MaximizeEditorInSplit)
I searched for something like ctrl+b zin tmux. For me, the similar task solved by key combination shift+f4. It opens your tab in the separated window (which can be closed as usual, alt+f4). My PyCharm version:
PyCharm 2019.2 (Professional Edition)
Build #PY-192.5728.105, built on July 23, 2019
Runtime version: 11.0.3+12-b304.10 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 725M
Cores: 8
Registry:
Non-Bundled Plugins:

Resources