I am editing a .properties file in notepad ++. I can switch the block comment using Cntrl + K, but it puts a ";" instead of "#".
I am changing the langs.model.xml file and replacing the ";" from "#". I restarted notepad but it does not work.
Does anyone know how I can change the control character in a notepad ++ file for a properties file?
My problem was with VB, NotePad ++ does not have the correct character set (REM instead of ') I do not want to change the language, because hilighting the keyword will be wrong I found this on mysysadmintips :
Fortunately, itβs pretty easy to change comment labels for different languages ββin Notepad ++Open Notepad++ language config file: C:\Users\<user name>\AppData\Roaming\Notepad++\langs.xml Scroll down to <Language name="vb" ext="vb vbs" (or other depending on what language you want to modify) Change commentLine="REM" to commentLine="'" Restart Notepad++
Fortunately, itβs pretty easy to change comment labels for different languages ββin Notepad ++
Open Notepad++ language config file: C:\Users\<user name>\AppData\Roaming\Notepad++\langs.xml Scroll down to <Language name="vb" ext="vb vbs" (or other depending on what language you want to modify) Change commentLine="REM" to commentLine="'" Restart Notepad++
You can get behavior using a different language. Perl, PowerShell, Python, Ruby, and Shell will use # for comments.
#
Then just select the block you want to comment on / off and press:
Ctrl + Q (which will switch comments)
I'm not sure what the difference is, however, I changed both langs.xml and langs.model.xml & amp; ^ + Q toggles the block.
(In particular, I wanted to replace the batch files "REM" with "::")
Source: https://habr.com/ru/post/901595/More articles:How to load all stored procedures from a specific database - sqlFirefox + jQuery on OS X doesn't show errors thrown in AJAX handlers? - jquerycommon function in python - calling a method with an unknown number of arguments - pythonNatural Language for Sparql - nlpHow to understand callgrind output using Kcachegrind - c ++https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/901596/how-to-add-images-to-uitableview-cell&usg=ALkJrhgHPkvWu-FCmqcblISwzCtDC2WeHQXcode 4: Unknown type name "NSUInteger"; Did you mean NSUInteger? - iosChanging comment line character in Notepad ++ langs.xml not working - notepad ++Use a different theme depending on whether the device is an Android tablet or a phone - androidDoes anyone use Java-config for Spring framework now? - javaAll Articles