trivia:tips:npp_r_syntax_highlight

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
trivia:tips:npp_r_syntax_highlight [2021/09/17 08:51] – created prgramtrivia:tips:npp_r_syntax_highlight [2025/07/07 14:12] (current) – external edit 127.0.0.1
Line 3: Line 3:
 다크 테마에서 R syntax highlighting이 안되는 경우 (ex. Twilight) 다크 테마에서 R syntax highlighting이 안되는 경우 (ex. Twilight)
  
-%AppData%\Roaming\Notepad++\themes 내에 있는 Twilight.xml 
  
 +1. C:\Users\<username>\AppData\Roaming\Notepad++\Stylers.xml 에 있는 (기본테마)
 <code xml> <code xml>
-<LexerType name="python" desc="Python" ext=""> +<LexerType name="r" desc="R" ext=""> 
-  ~+  ~~~~
 </LexerType> </LexerType>
 </code> </code>
-부분을 복사하여 추가, python -> R 로 수정+을 찾아서 복사하여
  
-{{tag>trivia:tips tag1 tag2}}+2. C:\Users\<username>\AppData\Roaming\Notepad++\themes 내에 있는 Twilight.xml 에 추가해 준다. 
 + 
 +3. WordsStyle 태그의 name 속성을 참고하여, 다른 언어들에 있는 fgColor, bgColor, fontName, fontStyle, fontSize 등의 속성들을 수정해 준다. 
 + 
 +4. instre1, instre2, type1 등의 목록은 langs.xml 내에 있다. 
 + 
 + 
 +{{tag>trivia:tips notepad r language}}
 ~~DISCUSSION~~ ~~DISCUSSION~~
  
  
  • trivia/tips/npp_r_syntax_highlight.1631868705.txt.gz
  • Last modified: 2025/07/07 14:12
  • (external edit)