Open rklec opened 9 months ago
Thanks for your great research and analysis! I too can observe the same behavior on RubyMine 2023.2.5, Ideolog 222.1.0.0
My approach was to color all contiguous lines of an error message in a Rails log file. I tested and tried the corresponding regex here: https://regexr.com/7n2ct
STR
I have this log (also with more entries) that is a multi-line log:
There are more entries like this (or you can just duplicate this one), so https://github.com/JetBrains/ideolog/issues/110#issuecomment-847054388 should not be the cause here.
Format
^\[(.* .*) (.*)\]\n(.*)
https://regex101.com/r/0l8fz7/1^\[(.* .*) (.*)(\])
in case it must match all on the first line, but did not work either^\[
https://regex101.com/r/vpzoZX/1Also verified the RegEx via built-in search:![grafik](https://github.com/JetBrains/ideolog/assets/71322635/2ee7a755-237d-4a01-9f29-c26af028e9ab)
What happens
When opening the![grafik](https://github.com/JetBrains/ideolog/assets/71322635/1381545f-0962-4e22-b627-ac8dba8723b8)
*.log
file it always shows the log as not recognized.What should happen
Recognize log
https://github.com/JetBrains/ideolog/wiki/Custom-Log-Formats suggests at several places that newlines are supported:
System
JetBrains Rider 2023.2.2 Build #RD-232.9921.83, built on September 24, 2023
Runtime version: 17.0.8+7-b1000.22 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 10.0 .NET Core v7.0.7 x64 (Server GC) GC: G1 Young Generation, G1 Old Generation Memory: 4070M Cores: 12 Registry: ide.experimental.ui=true vcs.empty.toolwindow.show=false database.show.search.tab=false ide.new.project.model.index.case.sensitivity=true
Non-Bundled Plugins: com.github.lppedd.idea-conventional-commit (0.22.0) testlinker2-rider (2023.2.2) de.femtopedia.diffplugin (2.1.11) fluentassertions-rider (2023.2.0) nsubstitutecomplete-rider (1.10.0) com.intellij.ideolog (222.1.0.0) cognitivecomplexity-rider (2023.2.0) com.intellij.plugin.adernov.powershell (2.2.0) me.seclerp.rider.plugins.efcore (232.1.0) com.intellij.ml.llm (232.9826) com.microsoft.vso.idea (1.162.2) zielu.gittoolbox (500.0.21+222) mobi.hsz.idea.gitignore (4.5.1) izhangzhihao.rainbow.brackets.lite (1.0.1)