Syntax Highlighting not working with C code
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- trentwhiteley@gainco.com
- Posts: 4
- Last visit: Sun Nov 25, 2007 7:58 pm
Syntax Highlighting not working with C code
On version 4 I never had to do anything to get C syntax highlighting in PrimalSense. With the new version, I can't seem to get any C code to highlight. I've looked at the Tools->Options->TextEditor->PrimalsSense menu, but nothing has worked yet. Am I missingsomething obvious?
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Syntax Highlighting not working with C code
I just open a C file and I get syntax highlighting just fine.
You mention PrimalSense as well, so I suspect we are not quite talking about the same thing.
Can you give a more specific example?
Or send the file in question (zipped) to support at sapien.com,
along with a description what you expect to happen and a screenshot.
Please also include exactly what edition and build you are using.
Alex
You mention PrimalSense as well, so I suspect we are not quite talking about the same thing.
Can you give a more specific example?
Or send the file in question (zipped) to support at sapien.com,
along with a description what you expect to happen and a screenshot.
Please also include exactly what edition and build you are using.
Alex
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Syntax Highlighting not working with C code
Thank you for sending your file.
PrimalScript cannot recognize that this is a C file since it has the extension ".LIB"
Go to Tools - Options - Environment - Languages
Select C/C++
Add LIB to the list of recognized extensions.
Since this is not a default extension for C you must have made this change in PrimalScript 4. You should be able to look it up in the same location.
Alex
PrimalScript cannot recognize that this is a C file since it has the extension ".LIB"
Go to Tools - Options - Environment - Languages
Select C/C++
Add LIB to the list of recognized extensions.
Since this is not a default extension for C you must have made this change in PrimalScript 4. You should be able to look it up in the same location.
Alex
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.