CMakeLists.txt is not syntax highlighted
See original GitHub issueBrief Issue Summary
CMakeLists.txt is not syntax highlighted
Expected:
When I open CMakeLists.txt
, expected syntax highlight and intellisense.
Apparent Behavior:
It is opened as a plaintext, and if I want to change the language association, there is no “Cmake” - the closest thing is makefile.
CMake Tools Log
None
Platform and Versions
[[For issues, fill out the following. Otherwise delete this section.]]
- Operating System: macOS
- CMake Version: 3.11.4
- VSCode Version: 1.26.1
- CMake Tools Extension Version: 1.1.1
- Compiler/Toolchain: Clang
Issue Analytics
- State:
- Created 5 years ago
- Reactions:162
- Comments:15 (4 by maintainers)
Top Results From Across the Web
Visual Studio Code syntax highlighting for CMakeLists.txt
I would like to have a syntax highlighting for CMakeLists.txt in visual studio code. Unfortunately, I searched on the internet but I can't...
Read more >Syntax highlighting issue with CMakeLists.txt
When viewing CMakeLists.txt, the the first character of the functions SET and SET_TARGET_PROPERTIES are not colored. ... This issue is read only, because...
Read more >Issues with Auto-generated CMakeLists.txt for syntax ...
I'm having issues to get the syntax highlighting working with the biggest repo. Usually, I just auto-generate the CMakeLists.txt and ...
Read more >CMake syntax highlighting not working as expected
The issue it turns out is a conflict with the Rainbow Parenthesis plugin: https://github.com/kien/rainbow_parentheses.vim, which is too bad ...
Read more >Bug #1018397 “Syntax not highlighted in CMakeLists.txt files”
When I open any CMakeLists.txt file, the syntax looks like a plain text. - I have x-cmake.xml in /usr/share/mime/text, automatically generated and with ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
“CMake Tools provides the native developer a full-featured, convenient, and powerful workflow for CMake-based projects in Visual Studio Code.”
https://marketplace.visualstudio.com/items?itemName=twxs.cmake