SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: photometer on July 28, 2020, 07:01:13 pm

Title: Not parsing & tagging header correctly
Post by: photometer 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?
Title: Re: Not parsing & tagging header correctly
Post by: Dennis 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++.
Title: Re: Not parsing & tagging header correctly
Post by: photometer on July 28, 2020, 08:32:16 pm
Yes, that helped. Thanks.