How to make it faster when scrolling though tab in Intellij Idea? - intellij-idea

It is quite to scroll through tabs in Idea. I am happy about the speed it scroll through files, but for tabs it is too slow.
Is there a way to keep the general scroll speed but make it faster only when scrolling through tabs?
I am aware that there are hotkeys to switch tabs quickly, but still need to know.

Indeed in the current build 2020.3.1 tabs scrolling is very slow. There is a bug for it, and apparently, JetBrains already fixed it. Here are official comments from a developer:
These three problems were fixed:
For slow mouse wheel rotation we should use "rough" integer metrics event.getUnitsToScroll() instead of "precise" double metrics event.getPreciseWheelRotation(). Actually is means 1 instead of 0.1 in my environment (MacBook)
In MacBooks trackpad can suddenly send a single scroll event in opposite direction and looks like "trembling", these sudden events should be ignored
Unit increment for horizontal scrolling can be tuned now with registry key ide.editor.tabs.scroll.unit.increment (default value is 10)
See here for the relevant changes.
As for versions of IntelliJ:
2020.3.1 the bug exists and you can do nothing about it, is suppose, without altering the speed of scrolling in the main window.
2021.1 the bug was fixed. Currently (23.01.2020), you can't download it, but I think it will be available soon as EAP Build. Please, see here.
If you want it right now, you can download the source code and build it manually from the git repo. The build instructions are simple. I tested it, and indeed, the scrolling is much faster now :)
Additionally, after the availability of 2021.1 build, you can modify the speed of tab scrolling by changing the registry value ide.editor.tabs.scroll.unit.increment

Related

Camera in Roblox Studio (testing and building) is not working correctly

There are actually two camera problems.
The first is that sometimes the RMB to control the camera angle in Studio doesn't work. Sometimes using the LMB or movement keys helps, other times (like right now) it doesn't do anything. The hand cursor appears to shake in the direction I want to pan the camera but nothing happens. I did have an Advanced Camera plugin.
When I'm testing my game in Studio, I have NO camera control via RMB and zooming is nonfunctional. This is to say that I can turn using my mouse, but RMB doesn't change how mouseview works. Probably unrelated, but I cannot get scripts from the toolbox for run, crouch, zoom, etc. to work, either, even when I place them where instructed.
I get these errors in my game:
 16:36:47.313 ▼ ActivateCameraController did not select a module. (x3) - Client - CameraModule:362
     16:36:47.314    ActivateCameraController did not select a module.
     16:36:47.314    ActivateCameraController did not select a module.
I've been having trouble with Studio eating up too much bandwidth when NOT in use during actual gameplay in Roblox (exe), so I removed all the Studio plugins, thinking one of them might be the culprit (deliberate or accidental), and also hoping it might fix the camera issues. No such luck.
Probably unrelated, but I found a couple of apparently simple viruses (Vaccine and Fire) using clone() and spread() to reproduce within the confines that their simple scripts dictated. I removed all instances, as well as a presumably fake Antivirus. The first two were very basic scripts designed to spread the script and didn't do any damage (although the latter would damage players).
#Kylaaa came up with the answers, but there's no way for me to mark them as answers.
The problems did not occur in a new game until I copied all the stuff I'd added into it (from the troubled game).
Regarding RMB not working in the Studio:
Sometimes, if the Workspace Camera gets set to Scriptable, all mouse inputs stop working. You could try checking if switching the CameraType to Fixed or anything else fixes your problem. It should be in the Properties window when you select the Camera in the Workspace.
What I did: I changed the mode and the problem stopped. I suspect that the Advanced Camera plug-in that I had removed had something to do with the problem.
Regarding the camera not zooming and RMB not working during testing:
you have a malicious script somewhere in your Workspace. You can search/filter the workspace for Script and it will show all of the objects with scripts in them. I would recommend removing or Disabling the each of the scripts until you find which one is causing the errors
When you click on a Script in the Explorer, look in the Properties widget. There should be a checkbox titled Disabled. When you select that, it will prevent the script from running when the game starts
What I did: I deleted a bunch of stuff my son had added, and then disabled ALL scripts, then started enabling them one unique instance at a time (i.e. duplicates were enabled simultaneously). The camera problem didn't come back except when I edited a script during testing. I never located the problem script, despite going through and triggering all scripts.

IntelliJ doesn't display... at all

I have a bug which is completely over the planet. IntellIJ doesn't display. It's on, yet doesn't display.
It worked well before, last thing I did was re-setting up new dependencies on my code and (nothing to do with that) re-setting SDK for other reasons, both of which shouldn't be linked to display properties.
As you can see it's working, I see the pop up windows:
But doesn't display:
Yet I can see IntelliJ windows with Shift + Tab:
and yes, my screen doesn't duplicate, so it's not hidden in another dimension or something
I tried:
restart computer
uninstall install IntelliJ
uninstall install IntelliJ without previous parameters
try other JetBrains software, like DataGrip, it works and displays well
call a homeopathic doctor
Unsuccessfully. So I knee and await before your judgement of this critical situation.
I have this exact same behavior happen to me when I use IntelliJ at work and then go home and try to use it via Remote Desktop. Its very strange (regardless of which monitor I leave it on at work when I leave).
If I hover over it in the task bar and then hover over the thumbnail for the running app, I can right click and tell it to maximize and it magically comes back into focus. Sometimes I have to tell it to restore and then to maximize before this works.
Occasionally even this doesn't work and I have to close it, re-open, and do the same. It makes no sense, so I understand your frustration.
It works
As John Humphreys - w00te mentionned, click right over the thumbnail (I insist: the thumbnail ! Not the taskbar icon) and then select maximize and voilà.
Bon appétit.
Thanks for your contribution and I hope it will help some people in need here.
I have had this issue when I have moved from a dual monitor setup to a single monitor setup or a different dual monitor set up. The issue here that intellij window seems to save and use the coordinates of the last dual window setup to render the window. It doesn't matter you restart your computer, it will always try and render to that position, even if that position is not visible on the new monitor set up. On windows there is an easy way to fix this issue. Go to your display setting and flip the order of the windows. The intellij window should now be visible. you can drag the window to the your other monitor and re-arrange the windows back to the order you had previously. After that, you can place the intellij window wherever you want.
In my case I noticed there is a 1 pixel thick gray line on my screen, turns out that was the IDEA window and I could resize upon hovering that line. Needless to say it wasn't me shrinking it.
I have this same behavior, It happens to me when I connect a monitor in extended mode and move the intellij window to the monitor, then disconnect without moving it back. No other solution other than to connect to monitor again and bring it back to the original window for me works.
On mac, select the app from the app tray so that the menu for it appears up top. Then on the menu up top, go to Windows->Zoom and it should expand to fill the viewport.
From there you can drag it down to size and reposition.

Can I increase the size of menu buttons in intellij

So my Intellij install has buttons that, to me, are way too small. Here is a screenshot.
As you can see the buttons are tiny, is there an easy way to make them not so tiny?
There is no way to change the button size manually. If you're using IntelliJ IDEA on a high DPI display, IntelliJ IDEA version 15 (which is currently available as an Early Access Preview version) will automatically scale all UI elements according to the Windows scaling settings.
You can just bear with it for now or if you are using IDEA Community, edit some code in there.

How to make tool windows remember their monitor and position in IntelliJ Idea 13

How to make tool windows remember their monitor and position in IntelliJ Idea 13?
Is there a way to do that?
I have 2 monitors with different resolutions.
I like to keep the main window of the IDE (and the code editor) on my laptop monitor and have the tool windows (Debug, Changes, Run, Terminal, Maven) on the second one at max width and height.
So What I do is to float them, max them on the second monitor and pin them there.
it works but every time I close the IDE, or sometimes during my day they get back to the main monitor again.
They kind of maintain their height and width (a few pixels less I think) but they appear huge in the middle of my smaller monitor.
This is the only draw back I have to say agains the IDE, and in Eclipse this kind of thing works as a charm.
Is there a way to solve it? Or a plugin?
Cheers
I had the same problem with Find window. Solution was to close IDEA (13.1.5) with all windows positioned as I like. It seems IDEA memorizes window positions only on termination.
I had the same problem, and today I found this in jetbrains help website:
Save the arrangement of tool windows:
From the main menu, select Window | Store Current Layout as Default.
the url is: Arrange tool windows

IntelliJ Debug Window Layout

I have moved the Debug tool frame to the right side of my layout. This is nice except for one problem. The layout of the tabs internal to the tool (i.e. Frames, Variables, Watches) are laid out horizontally. The result is that I cannot see the Frames and Variables tabs at the same time because there just isn't enough room. This would work fine if I could simply layout the tabs vertically, so that Frames sits just above the Variables tab.
I have looked all over to find a setting that would allow this, but I can't find it. Is it possible? Perhaps it is not.
I don't think that this is a feature of IntelliJ. I don't see it in IntelliJ 12. Since it's a community-driven IDE, you could always make a feature request of it and see how well it takes.