PhpStorm 11 EAP font blurred - phpstorm

Since I tried PhpStorm 11 EAP the font on my display is all blurred. Maybe this has to do with the change on the JDK? I am using Ubuntu 14.04. This hurts my eyes, do you know how I can fix this?
See this comparison
PhpStorm 10
compared to
PhpStorm 11

My solution was to switch back to Oracles Java JDK instead of using the bundled OpenJDK.
I did this by creating the file in the global settings directory of PhpStorm: /home/MyUser/.PhpStorm2016.1/config/phpstorm.jdk including the destination of my Java installation: /usr/lib/jvm/java-8-oracle

Related

PHP Language level missing latest (version 7.3 is the highest)

I'm trying to setup Xdebug and while doing that I'm trying to ensure that all PHP-versions and setup of that is exactly right.
I've matched the PHP-version on the server (7.4), by installing and linking the right PHP-version using Brew (I'm on a Mac).
So in a terminal, if I write php --version I get: version: 7.4.14:
I've set the CLI-interpreter in PhpStorm to point to that same PHP-executable:
But in spite of this, I can only set PHP version 7.3 to be the highest language level:
Solution attempts:
All these things have been found in random cracks and articles. None of them worked.
Invalidated Cached and restarted PhpStorm ( File >> Invalidate Cache and restart ).
Uncheck 'Synchronize IDE Settings with composer.json' in Settings >> Languages & Frameworks >> PHP >> Composer. I had to first insert a path to remove it. But it didn't do anything anyway.
Tried to see if there was any upgrades to the "PHP Latest"-plugin, but I couldn't see any pending updates (v. 0.4).
Overarching question
How do I get the latest version in the PHP Language Level field (to also get better code hints)?
My version was this: 2018.2.3 - Build #PS-182.4323.68 built September 13, 2018
You need to upgrade your IDE. Latest stable version is 2020.3.1.
Partial PHP 7.4 support is present since PhpStorm 2019.2 version.
Proper PHP 7.4 support was added in PhpStorm 2019.3.
Initial/partial PHP 8 support was added in PhpStorm 2020.2.
Current 2020.3 version has more complete PHP 8 support.

After mac os sierra update facing scrolling issue with Java applications like Intellij

After the recent update, Mac os Sierra, to my Macbook pro, I'm facing scrolling issues with all Java applications like Intellij IDEA community edition.
The scrolling in the editor panes are extremely fast. The unit of
scroll increments seem to be large.
Intellij IDEA Version is 2016.2.3.
Java version is Java 8 Update 10.1.
I see the same behavior even in the "System Preference" -> "Java" -> "Advanced" tab .
This is a known bug, likely caused by the JDK:
It looks like JDK issue and is reproducible with a simple scrollable JList.
Sierra generates much more events than El Captain.
These events contain values ~0.1 instead of expected ~1.
But Java converts these small number to 1 anyway.
Edit: see also this OpenJDK bug: https://bugs.openjdk.java.net/browse/JDK-8166591
Edit2: as described in the other answer, JetBrains have fixed their custom JDK. You can download it here and follow these instructions to make IntelliJ use this JDK instead (select the option labeled ... to choose a custom location).
You need to install JDK from JetBrains as it includes fix for this issue.
Link to JDK:
Unpack it somewhere, press Command ⌘ + Shift + A, paste "Switch IDE Boot JDK" and point to unpacked directory.
Link to instructions from JetBrains.
UPD: JetBrains fixed this issue in latest build. See link.

Running the iMacros Chrome plugin from Batch file

I have the iMacros plugin for Google Chrome installed and I want to be able to run a .iim file from a Batch file.
I have seen many options online but they all seem to work only if you have the actual iMacros program (not just the plugin).
For example, some solutions look like:
C:\Program Files\Mozilla Firefox\firefox.exe imacros://run/?m=test.iim
Also an option that seemed to originally have worked for pluggins was:
C:\Program Files\Mozilla Firefox\firefox.exe http://run.imacros.net/?m=test.iim
But this apparently has not been working for some years now.
Are there any options to opening a iMacro file from a Batch file, only having the plugin?
Thank you.
Well, it depends on the version and OS of your computer. If you are using Windows then you might want to check to see if that version is compatable with what you are trying to do. If you are using Mac then make sure your iOS is compatable as well. Different versions of OS do different thing. For example, Windows XP batch filing does things differently than from Windows 8.1 or Windows 7.
Another example:
:start
Color 0a
Echo hello world.
Pause
:end
Cls
Color 0b
Echo hello again.
Pause
This will work in Windows 8 because it allows for color changes when cls clears the screen. However, this will not work in Windows 7, or when I tried it didn't work.

Trying to overlay new AIR 3.8 SDK over the Apache Flex SDK that comes with 3.4

I'm trying to overlay new AIR 3.8 SDK over the Apache Flex SDK that comes with 3.4
I'm using FB 4.7 and the apache flex sdk download you can get here: https://flex.apache.org/installer.html
So, the thing is even though I downloaded it yesterday It seems to come with Adobe AIR 3.4 but I need to have 3.8
So.... then I went and downloaded the AIR SDK for Mac WITHOUT the new compiler, you'll see the special Flex link below here: http://www.adobe.com/devnet/air/air-sdk-download.html
I then overlayed the Air SDK over the SDK the flex downloader put together for me... I copy+pasted the folder and said "keep newer" that seemed to be the best way to do it I could find online...
So now my issue is that when I set the namespace to 3.8 I get a compile error saying "error 102: Invalid namespace http://ns.adobe.com/air/application/3.8"
BUT when I set the namespace back to 3.4 now it get an error telling me that I need to set the namespace to 3.8.... but when I do that it says I get the previous error...
So what's going on here? Has anyone know what I'm doing wrong?
Open up Terminal (or your command line of choice) and run this:
ditto AIR Flex
where AIR is the path of the newly downloaded AIR SDK and Flex is the path of your Flex SDK (you can just drag+drop the folder from Finder into Terminal to get the actual path).
Basically, on Mac when you do a mass copy-paste, it will delete all folders that are being pasted and already exist, rather than merge them (or at least this is what appears happens). So you are actually deleting bits and pieces that you actually need from the Flex SDK. The ditto command will preserve these files.
Note: Make sure you backup your Flex SDK (for obvious reasons). If you go to debug Android on-device and cannot, you'll need to grab the Android related launch files from the old SDK to make it work for some devices (such as the Nexus 4). I do not know the location of the files off the top of my head (I run Windows at home, Mac at work), but I could find them out if you need them.
Above answer is correct,
After trying half a day with copying and pasting and downloading Apache Flex SDK Installer, nothing were right for me. Then I seen this post and did exactly as mentioned.
Finally I got all running now!
for me the terminal command was like this,
Nuwans-Mac-Pro:~ nuwan$ ditto /Users/nuwan/Desktop/AdobeAIRSDK /Applications/Adobe\ Flash\ Builder\ 4.7/sdks/4.6.0\ 3.9
I did something extra in my case, that I cloned the original SDK and renamed the folder "4.6.0 3.9", so in that way I have untouched original SDK in case of screwing things up.
Hope this helps.

Google chrome custom JRE/JDK/plugin

I am using JDK 1.5 on my system as a java developer. But chrome needs 1.6 or later. So, I install the latest JDK for chrome but I have the system variable path pointing to the jdk1.5. So, chrome does not work with it. I need the JDK pointing to 1.5 in the system path for my regular development so can't change it.
Is there any way I can specify the JDK or JRE to be used by chrome separately?