I use Notepad++ to edit CMake files (though since I usually generate VS2013 
solutions for developing, I sometimes get lazy and just use the VS editor to 
make small changes, which now will definately happen more often 😊), and in 
Cmake there is an extra orange color to ${VARNAME} type constructs, which 
strike out all occurences of variable references.


With the lack of Intellisense in Notepad++, one cannot detect mistyping of 
variable names, because it will highlight everything that is prefixed with a $ 
sign and followed by curly braces. Althought adding Intellisense for Cmake 
language is well beyond the scope of a simple syntax highlighting add-in, as 
much as a challange it would be, I think people would apreciate it. (At least I 
would, if colors and squigglies could remind me that I mistyped a variable name)


Anyhow, if you open any CMakeLists.txt file in Notepad++ and see how much 
variable colors help distinguish them from other code, you can decide for 
yourself whether this is only my wish that it would also color those, or other 
might find it useful as well. It’s just the cherry at the top. 😉 Generally the 
Add-In rocks and is a great idea.






Feladó: David Golub
Elküldve: ‎csütörtök‎, ‎2014‎. ‎február‎ ‎27‎. ‎4‎:‎55
Címzett: Máté Ferenc Nagy-Egri, [email protected]






I generally stuck with the same syntax highlighting color conventions used by 
Visual Studio itself.  Are there other language constructs that you feel would 
benefit from getting a color?

 

David Golub

 



From: CMake [mailto:[email protected]] On Behalf Of Nagy-Egri Máté Ferenc
Sent: Wednesday, February 26, 2014 4:07 AM
To: [email protected]
Subject: Re: [CMake] CMake Tools for Visual Studio 1.1 Released!

 



Excellent job. I have littlie knowledge of how syntax highlight additions can 
be implemented in VS, but what was the design idea behind using so few colors? 
Other than this, it is very useful and will be installed on all my machines. 😊


 


Cheers,


Máté


 



Feladó: David Golub
Elküldve: ‎kedd‎, ‎2014‎. ‎február‎ ‎25‎. ‎2‎:‎20
Címzett: [email protected]


 



I just released version 1.1 of CMake Tools for Visual Studio.  This release 
includes support for Visual Studio 2013 and CMake 2.8.12, as well as a number 
of smaller new features and bug fixes.  It is available from the project web 
site at http://cmaketools.codeplex.com.  Enjoy!

 

David Golub
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to