Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why nothing happened after selecting "Convert operators to Unicode" in Comma?

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.

Convert operators to Unicode

like image 466
chenyf Avatar asked Feb 02 '21 14:02

chenyf


1 Answers

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.

like image 164
Takao Avatar answered Sep 20 '22 22:09

Takao