Closed librasteve closed 1 month ago
Thanks for the report. I hope to make transitioning old projects as easy as possible, but it seems there are corner cases yet to be uncovered.
I have to wonder whether the issue is rooted in the selector menu. Is File > Open
also a successful workaround?
Just tried
rm -rf .idea && rm *.iml
Still no syntax highlighting ;-(
OK, you asked me to provide an example GH repo where I was seeing this error.
I am testing with https://github.com/librasteve/raku-Physics-Unit.git
Previously (CommaIDE) I had included .idea
etc project files in the GH commit.
I performed these steps:
rm -rf raku-Physics-Unit
git clone https://github.com/librasteve/raku-Physics-Unit.git && cd raku-Physics-Unit
NOW the IntelliJ File > Open works as desired
To inspect the changes, I then went:
git status
and got
GitWorld/raku-Physics-Unit > git status
On branch main
Your branch is up to date with 'origin/main'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: .idea/workspace.xml
Untracked files:
(use "git add <file>..." to include in what will be committed)
.idea/comma.xml
I have committed and pushed the new idea files to GH so you can diff the changes.
However, I have tried this pattern again this time re-clone eg raku-Physics-Measure and File > Open and syntax highlighting is not working.
So this issue is not fully resolved ;-(
Unfortunately I was unable to reproduce this issue. It opened with syntax highlighting each and every time.
That said, I did identify a misunderstanding I had with project setup that had been addressed in the new project wizard but not yet in the project open processor.
With any luck this fix will address the issue you are seeing.
ok my dude
I reinstalled from scratch (and deleted all my macos config) download latest 2024.2.3 from https://www.jetbrains.com/shop/download/II/2024200
all is now AOK
(I now have the habot to delete .iml and /.idea files so this was not a test of migration)
brilliant job - thanks soooo much!!
Sonoma 14.6.1, M1 Welcome to Rakudo™ v2024.08 IntelliJ IDEA 2024.2.1 (Ultimate Edition) Runtime version: 21.0.3+13-b509.11 aarch64 (JCEF 122.1.9
I have successfully performed the following:
However, this does not work:
Workarounds that do NOT fix this are:
rm -rf .idea && rm *.iml
The following workarounds DO work:
.rakumod
file and Override File Type > Raku ModuleI am OK to use the first path and expect this to be a one time thing for each project Posting here to guide further improvements and to assist others with the workarounds