Author Topic: Advanced file maaping doesn't work for .log file extension  (Read 708 times)

noam

  • Junior Community Member
  • Posts: 8
  • Hero Points: 0
Advanced file maaping doesn't work for .log file extension
« on: January 06, 2022, 07:54:16 am »
Hi

I'm trying to setup language file mapping for a file called foo.log
I've added file mapping in "Advanced file mapping":     **/foo.log
I also removed the rule for "log" extension from "File extension manager" by clicking "Delete"
The issue is that it doesn't work and it seems that the root cause is related to the extension log
The above works as expected if I change the file name to foo.lo  and the advanced file mapping definition to **/foo.lo for example

Any idea?

Thanks,
Noam

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6468
  • Hero Points: 504
Re: Advanced file maaping doesn't work for .log file extension
« Reply #1 on: January 06, 2022, 01:58:40 pm »
You probably have a setting in perfile.xml for the specific filename foo.log. To verify this fact, try opening a file called foo2.log instead of foo.log.  The work around is to manually set the file mode Document>Select Mode...
« Last Edit: January 09, 2022, 05:37:42 pm by Clark »

noam

  • Junior Community Member
  • Posts: 8
  • Hero Points: 0
Re: Advanced file maaping doesn't work for .log file extension
« Reply #2 on: January 09, 2022, 06:46:47 am »
You probably have a setting in perfile.log for the specific filename foo.log. To verify this fact, try opening a file called foo2.log instead of foo.log.  The work around is to manually set the file mode Document>Select Mode...
No, this is not the issue. I think it's a real Slickedit bug.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6468
  • Hero Points: 504
Re: Advanced file maaping doesn't work for .log file extension
« Reply #3 on: January 09, 2022, 03:06:12 pm »
Post your user.cfg.xml