Advertisement
--JawZ--

Configure Notepad++

Jun 12th, 2014
1,240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. How to make the file navigation easier with Notepad++
  2.  
  3. 1. When you have a .fx file opened up with Notepad++ locate the menu named Language and choose the language C, Language/C/C
  4.  
  5. 2. To hide parts of the code inside the .fx file either hold down the key Alt and press key 0 above the letter keys and below the F1-12 keys. Or go inside the menu View and locate Fold all and press it once to fold parts of the code.
  6.  
  7. 3. Now you can view only the parts that you want to edit and have the rest hidden away, makes it a lot easier to not get "lost" in the code sort of speak.
  8.  
  9. 4. You can also hide specific sections of the file manually by selecting the text/code you want to hide and then press Right Mouse button and go down the new menu which opened up to text that says Hide Lines. That will hide the selected part of the text/code and can be viewed again by simply pressing once on the arrows formed on the left side of the Notepad window right next to the line numbers.
  10.  
  11.  
  12. Make the C language open with .fx .fxh and .hlsl files;
  13.  
  14. 1. Go to the Settings menu and open it up and then go down to Style Configurator... and open that window up.
  15.  
  16. 2. Select the language C in the Language: list on the left side of the new window. Athe bottom left corner you will se Default ext.: and Userext.: Enter fx fxh hlsl in the user ext.: with spacing between each word to make it recognize those file extensions as C language files. Now whenever you open a .fx, .fxh or hlsl file it will use the C language formatting.
  17.  
  18.  
  19. Add more variables to the C language;
  20.  
  21. 1. While having the Style configurator opened up look at the Style: list and select TYPE WORD and in the User-defined keywords enter float2 float3 float4 in there to allow it to recognize those variables as part of that coloring scheme
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement