Fullscreen editors? - ide

Whilst fiddling recently with Ulysses 2.0 - "The definitive creative writing package", I was struck by how effective the fullscreen/console mode was at focusing my mind on actually getting words on the page.
Are there any code editors that include a similar function? Or even a hack that allows code highlighting in Ulysees?
Preferably, for me, OSX, but feel free to list alternatives for others.

Any console based editor (vim, emacs, nano, ...) can be used in full screen mode, as long as the terminal in which it is run supports it. And I'd wager that most or all do. Usually this functionality is bound to F11 or Alt+Enter.

MacVim has a fullscreen mode: :set fullscreen, :help fullscreen, and ⇧⌘F.

Visual Studio has a fullscreen mode via pressing Shift+Alt+Enter.

Notepad++ has fullscreen mode by pressing F11 (or f12 i can't decide).

I use Think from Freeverse. It's a free utility that highlights your current app and simply darkens everything else, enabling you to focus on your document.
You can use it with your favorite editor. If you use Eclipse, you can double click the editor tab to maximize it, collapsing all other views. You can also customize the colors (if you prefer white text on dark background). It's not quite the same, but not bad.

This is going to end up a long list!
I use Textpad as my text editor when not using Visual Studio - http://www.textpad.com - and it has a fullscreen mode.

Related

Disabling horizontal scrollbar in IntelliJ IDEA nav popups

Whenever I use the navigation pop-up (ie, the "Go To File" modal) in IntelliJ IDEA, there's a horizontal scrollbar that shows up sometimes, which hides the last result, or hides the only result:
Is there any way to hide this scrollbar? In a practical sense, I can of course tell that it's probably found the correct file, and worst case I just go to the wrong file. Just a minor annoyance, really.
Note: I'm using IntelliJ IDEA 15.0.2 under Ubuntu 14.04, using the Unity windows manager. This doesn't happen in the OSX version.
enable soft wrap in
Editor -> General
reopen IJ

Navigate Sublime Text sidebar within QWERTY keyboard layout

I always want to discard my mouse and function keys. In Sublime Text using Ctrl+0 can focus the sidebar, and using Emacs-like Ctrl+p and Ctrl+n can navigate vertically. However when I try to list the files under a folder, I have to use Right key to do that. Does anyone know the keybinding for that in the QWERTY layout?
Currently there is no way to do that, side bar is completely un customizable besides the visual tweaks.
There is an open feature request for sidebar API, I can't quite understand why this for so long requested feature is still not implemented, at least some basic functionality, but we'll have to wait to get our hands on this part of the editor.
Another thing that is ridiculous for keyboard freaks like us is that on Mac you can't open the context menu on any of the files or folders in the sidebar as you don't have the key like on windows/linux and there's no tweaks for that too.

Intellij ignores the selected keyboard layout

This seems like a bug in IntelliJ 12: Every couple of times when I switch between keyboard layouts (English and Hebrew) IntelliJ get stuck on one of them and ignore the windows selected keyboard layout. This happens only for intelliJ, all other programs respond as usual to the windows selected keyboard layout.
Is there at least a workaround, or a way to reset IntelliJ's keyboard layout? The only thing that seems to work for me so far is restarting my machine...
(My OS is Windows 7 Enterprise 64bit)
This is 100% reproduced when you switch keyboard layout in quick class search (Ctrl+N). Also in intellij idea 13.
Something like:
Open quick search menu when keyboard is not in English layout (Russian e.g.)
Type anything
Switch to English
Congratulations! you stuck in russian layout :) restart your intellij idea!
When I ceased to switch layout in search, I forgot about this problem.
UPD: it's suitable for most part of text inputs (even for search and file creation)
I've just had this problem on PyCharm 2020.2.3
Here's how I've solved it:
Go to Settings -> Keymap
At the bottom of the window, check the option Use national layouts for shortcuts (require restart)
That did the trick
restarting IntelliJ also works.
I wonder how they managed to get such a stupid bug, this is not an easy bug to write, especially in Java.
That was found to be more like a global Microsoft/Oracle bug. Simple workaround from IntelliJ's issue tracker: use Windows' language parameters to assign a hotkey (Ctrl + number) for changing the layout directly to a desired language. This suddenly will affect both Windows And IDEA. It's said that bug was fixed in Win8. A bit more info: here
In 2020 bug is still relevant in the most IDEs based on IntelliJ. For example I observe this in PyCharm now.
There is workaround for Windows:
Go to Language Bar - Settings... - Advanced Key Settings
Set key sequence of To English action to Ctrl + 1
Set key sequence of to other your language to Ctrl + 2
Apply
Go to IntelliJ/PyCharm and switch language by new sequences
After that bug disappears and you can switch language by traditional method
For me the following actions seem to resolve the issue:
Go to Control Panel
Select Clock, Language & Region
Press Region
In the opened window choose English for Format.
Also all my settings except the location are set to English (locale, default keyboard etc.)
This fix worked on my mac, access Preferences -> Editor -> Typing Corrector from the intellij IDEA menu. If you are able to navigate to the same window on your OS, you can try this.
Uncheck Enable keyboard layout correction in the Typing Corrector window
I got the same issue in Ubuntu 16.04. Restarting IDEA doesn't change anything. But Changing the default layout to be the one I want by default ensured ubuntu work well with it.
Go to the search textfield above file editor.
Switch layout.
Type smth.
Click somwhere in the file editor.
Write smth with swithed layout.

Intellij is stealing focus from editor after compile

I'm using Intellij IDEA 9.0.2
After each make, if i have errors, window "messages Make" is stealing focus from the main editor. Do you know how to correct this?
There is no way to change this behavior in the configuration. There is a keyboard shortcut which allows you to change focus to specific 'windows' within IDEA.
CTRL+SHIFT+TAB
CTRL is probably replaced with CMD on Mac and Super (windows key) on Unix. This will allow you to manually switch back to the editor tab of your choice, or any other window for that matter.
ESC does the trick for me in intelli 12.

How to open files in Intellij-IDEA with double click?

My first day using this IDE...
is there a way to configure the IDE to open files in the project by double click? It is rather painful having to drag files from the project overview into the editor window.
You can change the KeyMap.
Go to File->Settings and find the keymap section.
You will have to create a new KeyMap by clicking copy, and then look in the View section for "Jump to Source" and change/add the keymap you want.
However, as Bozhidar Batsov noted, double clicking may not always work so well. Whether it works may vary by OS and/or windowing system. I have no trouble with it in Mac OS X, but it doesn't seem to work well in openSUSE.
There are also other predefined keymaps that you can select from this settings screen. They're set up to resemble other IDEs, so you might find them helpful if you're transitioning from something else.
It is easy way to do in windows.
I found a great solution to this problem by Jelmer Kuperus over at Orange11.
Create an .Xresources file in your home directory. Add the following line:
*multiClickTime: 400
Jelmer explains that this setting changes the default double-click speed from 200ms to 400ms, effectively slowing it down. Save the file and then run:
xrdb ~/.Xresources
The effect is immediate, no need to logout or reboot. Double-click in Intellij works as expected. I did try changing the mouse double-click speed in System Settings first before trying this out to see if that made a difference but it did not.
I am using Ubuntu 11.04, Intellij 10.5.2, and Sun JDK 1.6.0_26. YMMV
Use F4 to open quickly the selected files. Btw double clicking on files should work as well(at least in theory). Swing's buggy handling of such events, however, causes the double click to not always work in IDEA, so I eventually stopped double clicking and switched to using F4. You can also use "Autoscroll to source" from the projects menu - this will open the source files as soon as you select them in the project browser.