Eclipse Freezes when writing '.' in a query? (BIRT Report Designer) - sql

I'm using Eclipse for BIRT Reports. When I edit a data set and work on a query, every time I press '.' for example to access table.field, the window freezes for a good 3 minutes. I have no idea what it is doing but it is very inconvenient. Is there a way to disable this type of behavior?
Using BIRT 4.2 on Eclipse JUNO.
Thanks

I suspect you could disable this behavior by disabling the auto activation of a 'Content Assist' specific to BIRT Report Designer.
I have not used that specific flavor of eclipse so would not be able to advise on specifically which Content Assist to disable. However, it might be worth going into Eclipse Preferences (Window -> Preferences) and searching for 'Content Assist'.
For example if I had to disable the content assist inside Java classes I could un-check 'Enable Auto Activation', like so :

Related

Change default tool window behaviour in IntelliJ IDEA 2016

Every time I open a new project in IntelliJ IDEA, the first time I open a particular tool window, for example 'Maven Projects', it appears in 'pinned' mode and remains visible until either I close it, or I go to the view settings for the window (the little cog) and deselect "Pinned Mode". I don't want any of my tool windows to be pinned so this gets a little annoying.
Do you know of a way to change the default behaviour of new project / tool windows?
As far as IJ 2016.2 I don't know about a dedicated setting for this. However I used an approach which allows you to define a default layout for all projects. Although the window-pinning works, which is what this question is about, some may not be persisted, such as Group Modules setting in the maven tool-window.
Nonetheless, to configure the pinning, you need to do 2 simple things, which you can also see in the GIF below:
1) Manually go and unpin all desired windows
2) Open the Windows menu and select Store current layout as default
P.S. If you'll be using tool-windows that you've never opened before, or install new plugins which add their own tool-windows, just follow these steps again.

Unable to find the persistence window in Intellij 14.1.4

I've been going through all the documents from JetBrains, but couldn't find the Persistence Window for my project so that I could auto generate the Pojo classes for the database tables without manually creating them.
Any help would be appreciated.
You can find any window using the Ctrl+Shift+A shortcut and typing in Persistence. This also tells you if there's any bindings to quickly open that window. Having done this, it doesn't have a keyboard shortcut.
From the menu you can access it by View → Tool Windows → Persistence
As #Bohuslav said in the comments, you need to add a JPA facet to the project for the window to be actionable.
Got it working, by enabling the persistence configuration. Went to persistence.xml which would be ideally located under the META-INF, and it would automatically ask you, whether to enable the persistence.
There after from View > Tool Windows, you could find Persistence Window.

Pop-up menu is not fully visible in IntelliJ IDEA

I am just evaluating IntelliJ IDEA. Installed it with default procedures.
I created a simple Spring project and when I right click on the project, not able to see the the bottom part of the pop up menu. The issue is because of my laptop screen's height is less and could not fit the entire set of pop-up menu items.
In eclipse there is a drop down arrow, so that I can scroll to the menu items, which do not fit in the screen. How can I get the similar eclipse functionality in IntelliJ?
Well, you are only missing one useful feature (Genereate Java code from wsdl). I would ignore it unless you need to generate such code.
If you want to run this generation you can do this with Ctrl + Shift + A (and start typing feature name)
//btw, it is better to make code generation in maven anyway

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.

How to Hide Eclipse editor while doing back ground processing

How to Hide Eclipse editor while doing back ground processing, means
How to do some working pro-grammatically on Eclipse editor without showing it to end-user.
I am working on UML diagram. Activity Diagram gets jumbled on editor when making pro-grammatically, Then I call 'Arrange Selection' action to arrange Activity, it works properly. Now I need to save the images of all UML diagrams on the fly but running as a background processing; editor should not be opened to the user but 'Arrange Selection' code requires editor to be opened & diagram elements should be selected e.g.
org.eclipse.gmf.runtime.diagram.ui.actions.internal.ArrangeAction.createArrangeSelectionAction(IWorkbenchPage workbenchPage)
How can I achieve this.
Please tell if this is possible??
Thanks in advance
Kishore
You can run background jobs in the Eclipse IDE.
In Eclipse Help, see the Platform Plug-in Developer Guide > Programmer's Guide > Runtime overview > Concurrency infrastructure for an explanation and examples on how to create Eclipse background jobs.