Jump to content


Photo

using Notepad++, how to tweak the language file


  • Please log in to reply
6 replies to this topic

#1 ScriptMagistrate

ScriptMagistrate
  • Members
  • 17 posts

Posted 11 April 2012 - 03:55 PM

i am using notepad++ v5.9.8.
i have downloaded the language.xml file and placed it in the correct folder.
i launch notepad++, open new file and save as test.ahk
i change the language to AHK AutoHotKey, change the style config to zenburn.

so far all is good. now i want to tweak the colors, specifically i like color on black and not color on white. so i go to the style config and under lang, i default to global styles. and for each style on the right, i change the background to black where it was white. finally i save and close.

problem is that the text still has a white background. so now i guess that i need to "load" up the AHKAutoHotKey language but it does not appear in the style configuator. there is an AutoIT language (which again i set up as black background) and if i change to that, then the white background for text goes to black as it should. but the problem is that this is not an autoIT file but an AHK file. so i guess that somehow i am not seeing the ahk lang file. how do i do this?

im in the preferences under language menu, this is where (under available items) that i do not see AHK language.

also how to get intellisense running in notepad++. would like to have auto complete running with that.

thanks

#2 Ohnitiel

Ohnitiel
  • Members
  • 664 posts

Posted 11 April 2012 - 05:05 PM

You have to set every single style to have a black background. And N++ holds a built-in auto complete function.

#3 ScriptMagistrate

ScriptMagistrate
  • Members
  • 17 posts

Posted 12 April 2012 - 02:45 PM

hmm, i tried the change all styles to black but it still does not work. as a side note, i was able to get the portable npp working as expected.

was looking for more than auto complete, like showing hints, format of command...

#4 Ohnitiel

Ohnitiel
  • Members
  • 664 posts

Posted 12 April 2012 - 05:18 PM

Change it at global styles also. And as for Intellisense... it works fine with me. I'm using the version that came with Ahk_L.

#5 ScriptMagistrate

ScriptMagistrate
  • Members
  • 17 posts

Posted 12 April 2012 - 09:17 PM

the portable notepad++ w/ ahk works as expected, have syntax and intellisense

trying to get the latest non portable working like the portable version

yes i have changed the bg in the global styles...

note that the portable version does have the AHK language in the style configurator (see image, lower left)

#6 Ohnitiel

Ohnitiel
  • Members
  • 664 posts

Posted 12 April 2012 - 10:45 PM

I meant this global style...

Tested and it worked for me.

#7 ScriptMagistrate

ScriptMagistrate
  • Members
  • 17 posts

Posted 13 April 2012 - 02:02 PM

should have posted the image showing that i was in the global config

anyone have some suggestions on how to fix?