Author Topic: Not parsing & tagging header correctly  (Read 139 times)

photometer

  • Community Member
  • Posts: 40
  • Hero Points: 0
Not parsing & tagging header correctly
« on: July 28, 2020, 07:01:13 pm »
This issue is on Windows version 24.0.2. I have not tested it on Linux.

I have a project that has some .x files which are header files like .h. I modified the tool->application languages ->C/C++ -> General->Edit these extensions to add .x as an valid extension. I can see that Slickedit is able to handle all .x files correctly except for one.
I have a file called gen.x and gen.h. For some reason, Slickedit is not able to recognize the symbols from gen.x. Could it be due to the fact that both have same name but different extensions?

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3076
  • Hero Points: 449
Re: Not parsing & tagging header correctly
« Reply #1 on: July 28, 2020, 08:14:07 pm »
Most likely your file history.  SlickEdit will remember the mode a file was used in the last time you opened it.  Open gen.x, and pull down the Document > Select Mode ... and choose C/C++.

photometer

  • Community Member
  • Posts: 40
  • Hero Points: 0
Re: Not parsing & tagging header correctly
« Reply #2 on: July 28, 2020, 08:32:16 pm »
Yes, that helped. Thanks.