Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folding of multiple differnt patterns simultaneously does not work #299

Open
ipcoder opened this issue Feb 18, 2024 · 3 comments
Open

Folding of multiple differnt patterns simultaneously does not work #299

ipcoder opened this issue Feb 18, 2024 · 3 comments

Comments

@ipcoder
Copy link

ipcoder commented Feb 18, 2024

Describe the bug
I am trying to define two distinct folding conditions.

When I am enabling any one of them - it works.
But when when both are enabled - works only one.

I tried to define as separate groups or inside same group - no difference.

May be I am doing that incorrectly?

To Reproduce
Below are my settings:

image

Log lines to reproduce the behavior:

☎ resman       |WARNING|18:28:12|🚦Discovered 1 -> 5 configs of <DataSourceRM> in [PosixPath('/home/ilyap/code/algodev/inu/datacast/tests')]
☎ resman       |  DEBUG|18:28:12|🚦Discovering resources for 1 resource types...
☎ resman       |  DEBUG|18:28:12|🚦Discovering DataSource [PosixPath('/home/ilyap/code/algodev/inu/datacast/tests')]
☎ datacast.scan|  DEBUG|18:28:12|🚦Scanned   10: 🖿3/3 🗏7 in /home/ilyap/code/algodev/inu/datacast/tests
☎ datacast.scan|  DEBUG|18:28:12|🚦Scanned    6: 🖿4/4 🗏2 in /home/ilyap/code/algodev/inu/datacast/tests/data
☎ datacast.scan|  DEBUG|18:28:12|🚦Scanned    1: 🖿1/1 🗏0 in /home/ilyap/code/algodev/inu/datacast/tests/data/datasets
☎ datacast.scan|  DEBUG|18:28:12|🚦Scanned    5: 🖿4/4 🗏1 in /home/ilyap/code/algodev/inu/datacast/tests/data/datasets/toy
☎ datacast.scan|  DEBUG|18:28:12|🚦Scanned    1: 🖿1/1 🗏0 in /home/ilyap/code/algodev/inu/datacast/tests/data/tiny_stereo
☎ datacast.scan|  DEBUG|18:28:12|🚦Scanned    6: 🖿0/0 🗏6 in /home/ilyap/code/algodev/inu/datacast/tests/data/res
☎ resman       |  DEBUG|18:28:12|🚦Discovery is resetting <ResManager:DataSourceRM>[5] scan(FIRST:1) in Locator<EIA> [/home/ilyap/code/algodev/inu/datacast/tests]
☎ resman       |  DEBUG|18:28:12|🚦Added DataSourceRM: 【DatacastTest[🗸]<path:/home/ilyap/…/data/datasource.yml>】
☎ resman       |  DEBUG|18:28:12|🚦Added DataSourceRM: 【Toy[🗸]<path:/home/ilyap/…s/toy/datasource.yml>】
☎ resman       |  DEBUG|18:28:12|🚦Added DataSourceRM: 【source_2[🗸]<path:/home/ilyap/…res/source_2.src.yml>】
☎ resman       |  DEBUG|18:28:12|🚦Added DataSourceRM: 【FT3D[🗸]<path:/home/ilyap/…es/test_FT3D.src.yml>】
☎ resman       |  DEBUG|18:28:12|🚦Added DataSourceRM: 【source_1[🗸]<path:/home/ilyap/…res/source_1.src.yml>】
☎ resman       |WARNING|18:28:12|🚦Discovered 5 -> 5 configs of <DataSourceRM> in [PosixPath('/home/ilyap/code/algodev/inu/datacast/tests')]
☎ resman       |  DEBUG|18:28:12|🚦Discovering resources for 4 resource types...
☎ resman       |  DEBUG|18:28:12|🚦Discovering DataSource [PosixPath('/home/ilyap/code/algodev/inu/datacast/tests')]
@smartskaft2
Copy link

I've noticed this too

When two following lines match two different folding expressions, they both get folded into the same fold.

I do think this behavior would be reasonable when no placeholder value is set. But when using a placeholder value, I would expect only the lines matching that expression gets folded into it

@krasa
Copy link
Owner

krasa commented May 22, 2024

I will have to report it to Jetbrains.

@unennhexium
Copy link

unennhexium commented Jul 13, 2024

I'm have the problem with folding too and don't know how to solve it. I'm just letting know so I can be notified if it's fixed if it's bug.

Note

Not sure if this is the same and also not sure if I'm doing everything right. I would appreciate any advice or suggestions on how to achieve what I want.

I'd like to have separate folding for each element: Info, Debug and Trace. I was able to get different elements to collapse separately, but when they are placed sequentially, they fold into one group:

Folded output Inside the fold

Settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants