After I select "Convert operators to Unicode" in Comma, and enter the following code:
my #array = 1,3,5,7,9;
say #array >>+>> 3;
>>+>> should be converted to »+», but nothing happend.
This is the version of Comma:
Comma 2021.01(Community Edition)
Build #CT-202.6948.81, build on January 29, 2021
Runtime version: 1.8.0_261-bb12 x86_64
VM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation.
In the "Scheme:" combobox you see the "Default (IDE)" value, which means you are currently editing default setting scheme for the IDE. However, it is an IntelliJ thing that this scheme does not automatically equal to your current project settings (which sometimes surprises users).
If you switch it to "Project (Project)" it is highly likely the settings will differ (no Unicode editing, as it is turned off by default), so you enable it for the current project scheme and it should work out, otherwise please report, that would most likely be a bug.
Related
Problem
When I type null, and use any form of code completion such as Ctrl-Shift-Return for example, it chooses the top-most option from the auto-complete dropdown, but the top-most option is never the one I want.
Example:
Question
Is it possible to "downvote" an option to rank it lower? Or in any other way modify the priorities of options in the auto-completer?
Extra info
The null() function comes from this project, via composer installation.
https://github.com/squizlabs/PHP_CodeSniffer/blob/master/src/Standards/Squiz/Tests/Functions/FunctionDeclarationUnitTest.inc
This problem has persisted for quite a while, and has survived several version upgrades. Current version info:
PhpStorm 2019.1
Build #PS-191.6183.95, built on March 27, 2019
Licensed to [Redacted]
Subscription is active until [Redacted]
JRE: 1.8.0_202-release-1483-b39 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.9.0-8-amd64
I've manually picked the second option, plain null, many times without this affecting the priority of this list, so there's certainly no learning aspect to it.
PS: The tag PhpStorm-2019.1 does not yet exist, and I don't have the reputation required to create it. I added the 2018.1 tag because the problem has existed since that version.
platform:opensuse leap 42.2 KDE
Eclipse:Version: Oxygen Release (4.7.0) UTF-8
xxx#linux-bq5s:~> java -showversion
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
I use Java write a simple code, the code is fine since I can run it in a special way (shows in the image), so don't focus too much on the code.
I put in the word "高数" ,but as you can see, it returned something else, but it's not done yet, look at the second picture.
I copied the word "高数" in input filed at somewhere else that I typed in, and I paste in the Eclipse input filed and enter, it returned correct.
I have changed another Input Method, but nothing changed.
I run the code in terminal, and input normally, and it seems alright, so I think the problem is in the Eclipse
xzyx#linux-bq5s:~/桌面> java User
请输入指令:1-按书名选择;2-按序号选择
1
请输入书名
高数
您已选择:高数
xzyx#linux-bq5s:~/桌面> java User
请输入指令:1-按书名选择;2-按序号选择
1
请输入书名
电子
您已选择:电子
In Eclipse, when I add a table before input the charater "高数", the code could work correct, I think there is something wrong with Eclipse's input field.
For some reason my project gives the below error in eclipse:
No error in IntelliJ. Any ideas?
Using IntelliJ:
IntelliJ IDEA 2016.2.5
Build #IC-162.2228.15, built on October 14, 2016
JRE: 1.8.0_112-release-287-b2 x86
JVM: OpenJDK Server VM by JetBrains s.r.o
The reason behind different results is that Different IDEs use different inspection tools.
In your particular question Eclipse shows an error, while Intellij shows a warning. So anyhow both are suggesting that something has gone wrong here.
Besides it's a warning or an error, the point both are making is Not to use key duplication in json. The reason is when you refers the value via the key then key duplication causes problems.
Since JSON is just a markup language and creates no problems for project build, Intellij would just make a warning and not an error. Since key duplication does make no sense though, Eclipse would mark up as an error. Anyway not to worry about whether warning or error, just catch the point they are making. :))
I'm using PhpStorm 2016.2 and my code completion does not seem to work properly. When typing $this->assertCo
it suggest only function names that are up to third level ancestors of my class. But when I use Ctrl+Space it suggest correct items.
This is my class diagram:
and missing suggestions are in PHPUnit_Framework_Assert class.
How can I make it work without using Ctrl+Space every time?
PhpStorm and OpenJDK info:
PhpStorm 2016.2
Build #PS-162.1121.38, built on July 12, 2016
JRE: 1.8.0_76-release-b216 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Reason for current behaviour: it was asked by users (WI-9403) to hide static methods when completing methods using this->.
PHPUnit apparently has all assertXXX methods done as static although recommends accessing them via $this-> (same way how it's done in JUnit -- the original tool where PHPUnit devs took inspiration from).
How can I make it work without using Ctrl+Space every time?
Right at the moment -- no way.
But in 2016.2.1 it will work as before for PHPUnit methods/inside PHPUnit test files (WI-32530 -- already implemented).
You may also consider voting for https://youtrack.jetbrains.com/issue/WI-32713 -- to have such behaviour completely optional (additional setting) even outside of PHPUnit tests.
I am using Tizen IDE for wearable and after choosing new empty workspace it crashes, any ideas? I have up-to-date Internet Explorer.
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007fef5e26890, pid=7860, tid=1880
#
# JRE version: Java(TM) SE Runtime Environment (8.0_20-b26) (build 1.8.0_20-b26)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.20-b23 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [ieframe.dll+0x146890]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
I'm having the same issue with LPCXpresso (which is Eclipse-based too). The problem is also discussed here: http://forums.zend.com/viewtopic.php?f=59&p=235343. They say, it's related to a specific Windows Update (KB2977629) and uninstalling helps. To avoid tampering with Windows Update, I simply changed the Web Browser used by Eclipse from internal to external, which solved my problem. Might also work in Tizen IDE.
Window -> Preferences -> General -> Web Browser -> "Use external Web Browser"
Downgrading IE to IE10 did the job.
This seems to be the related eclipse bug report:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=444005
Note that i can also see this bug on eclipse 4.4, regardless of what the original reporter wrote.