-
-
Notifications
You must be signed in to change notification settings - Fork 343
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
[feature request] Syntax highlighting for OpenCL (*.cl) kernels #5374
Comments
Yes of-course it works as C, but the OpenCL C API have more keywords than C. Probably notepad3 uses a 3rd party library for code highlighting. |
Hello, I can add the "CL" extension and associated keywords in "C/C++ Source Code" Lexer. |
ok. Leave the ticket open because I must scan the full spec (it needs time).
|
I think you don't want predefined functions / macros. == OPENCL 3 === Data Types === Operators & Qualifiers |
The above statement is not correct because it is not possible to add OpenCL keywords to the "C/C++ Source Code" lexer. |
Did you try in ChatGPT: |
See comments in: #5372 (comment) 😢 😢 |
Hello @nickreserved , Feel free to test the "BETA PortableApps", version "Notepad3Portable_6.25.203.1_beta.paf" or newer, see 1st list in issue #1129.
Also, feel free to test the "BETA Setup", version "Notepad3_6.25.203.1_beta_Setup" or newer, see the 2nd list in issue #1129. Comments and suggestions are welcome... 😃 |
Title is self explanatory.
OpeCL files are like C with some extra keywords like '__kernel' , 'kernel', '__global', 'global' etc.
The text was updated successfully, but these errors were encountered: