Questions tagged [commaide]

Questions about the Comma IDE for the Raku language.

Questions about the Comma IDE for the Raku language.

29 questions
11
votes
4 answers

Raku vs. Perl5, an unexpected result

When I run this script in Raku I get the letter A with several newlines. Why do I not get the concatenated strings as expected (and as Perl5 does) ? EDIT BTW can I compile in commaIDE the file with the Perl5 compiler, where can I change this…
user2925716
  • 949
  • 1
  • 6
  • 13
9
votes
1 answer

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…
chenyf
  • 5,048
  • 1
  • 12
  • 35
8
votes
1 answer

Possible to automatically fold POD in Comma IDE?

I'm using the paid version of the Comma IDE. I'd like to be able to automatically fold the POD. I'm usig the ideavim plugin but that doesn't seem to offer a solution. I also tried to use the "surround with" feature (option-ctrl-t) per the…
StevieD
  • 6,925
  • 2
  • 25
  • 45
8
votes
1 answer

How do I get Raku Grammar Preview unstuck from "Collecting results" without restart?

I'm playing with the Raku Grammar feature in the Comma IDE. It's pretty cool. I can code by limitless trial and error which is what I do best. However, it's frequently getting stuck (maybe once every 5 to 10 minutes). It's probably a result of my…
StevieD
  • 6,925
  • 2
  • 25
  • 45
8
votes
1 answer

In CommaIDE, what is the difference between running a cro service as a regular script and running it as a cro service?

I have run some cro microservices from CommaIDE (Community version 2020.05) without a glitch, before discovering I could also sun them as a cro service itself. However, there does not seem to be any visible difference; configuration screens are the…
jjmerelo
  • 22,578
  • 8
  • 40
  • 86
7
votes
1 answer

Comma doesn't seem to find "Legacy extensions" for some modules

I’m trying to figure out how to use the feature for automatically update legacy extensions with the Comma IDE. It either behaves inconsistently or I'm not understanding something clearly. I used Comma as recently as last week to generate a patch for…
StevieD
  • 6,925
  • 2
  • 25
  • 45
7
votes
0 answers

Concurrent loops finishing on their own?

I have this loop as part of a larger program (it's open source, and it can be downloaded and run within comma, the configuration is there): my $promise = start react whenever $channel-one -> @crew { …
jjmerelo
  • 22,578
  • 8
  • 40
  • 86
6
votes
1 answer

Comma reporting "subroutine X not declared" for test function

I'm using Comma IDE features for the first time. I have a very simple test file. Comma is showing warnings for the subroutines provided by the Test module with a report Subroutine X is not declared. The tests pass fine. But I'd like to know if I…
StevieD
  • 6,925
  • 2
  • 25
  • 45
6
votes
1 answer

Raku Comma IDE on MacOS won't start

I made some progress from this previous question, No matching VM found when running Comma IDE on macOS, but have run into a new error: Internal error. Please refer to http://jb.gg/ide/critical-startup-errors java.lang.ExceptionInInitializerError …
librasteve
  • 6,832
  • 8
  • 30
6
votes
1 answer

Commaide killed by OOM when analyzing a file

Comma is always killed by oom when I try to edit a file in which I use 10 modules (mainly Cro::HTTP ) and after the start of analysis. I can see that many raku process are running (in order to analyze?) : journalctl : janv. 09 19:47:42…
S.Thiriet
  • 61
  • 1
6
votes
1 answer

Subroutine 'say' is not declared on CommaIde

I have this simple script opened with CommaIde: #!/usr/bin/env perl6 my $str = 'foobar'; say $str; The IDE is highlighting the word 'say' with the error: Subroutine say is not defined But, If I execute the script, it runs OK. The same happens…
Julio
  • 5,208
  • 1
  • 13
  • 42
6
votes
1 answer

Changing the parallel monitor size in Comma

Comma shows a nice parallel threads monitor. However there does not seem to be a way of making it show more than 16 seconds. I that something that can be changed via some editable property?
jjmerelo
  • 22,578
  • 8
  • 40
  • 86
5
votes
1 answer

How can I avoid "not in ecosystem" errors thrown by comma IDE?

I have a test file in my module's t/ directory that does a use on a TestUtils files which has some variables and routines: use Test; use TestUtils; plan 4; check_cmd_output('No arguments'); check_cmd_output('Successfully ingested',…
StevieD
  • 6,925
  • 2
  • 25
  • 45
5
votes
0 answers

No matching VM found when running Comma IDE on macOS

I installed Comma IDE from this link but when I try to run it by double clicking on the application icon in Finder in the Applications folder I get an error "No matching VM found. Java 1.8 or later is required" I am on macOS Big Sur 11.2. NOTE: I…
Håkon Hægland
  • 39,012
  • 21
  • 81
  • 174
5
votes
1 answer

Comma: "No test source roots in the project: is it properly configured?"

Comma 2020.07 (community edition) has changed the test configuration, and now you can test different things: module, project and so on. However, I can't simply get it to run the usual tests. When I use "All in project" testing, I get this error: No…
jjmerelo
  • 22,578
  • 8
  • 40
  • 86
1
2