Notepad++ 5.0 autocomplete
Started by
ludamo
, Jul 12 2008 12:55 AM
39 replies to this topic
#1
Posted 12 July 2008 - 12:55 AM
I am a new member, and couldn't find any post on this topic yet.
A new version of Notepad++ (5.0) has just come out and the autocomplete file format has changed from api to xml. So I have just spent a "few" hours converting from AHK Autohotkey.api to AHK Autohotkey.xml and would like to upload the new xml file for others to use.
How can I upload this file please?
A new version of Notepad++ (5.0) has just come out and the autocomplete file format has changed from api to xml. So I have just spent a "few" hours converting from AHK Autohotkey.api to AHK Autohotkey.xml and would like to upload the new xml file for others to use.
How can I upload this file please?
#3
Red Hat Dude
Posted 12 July 2008 - 01:56 AM
I think you go to AutoHotkey.net, but I'm not sure.
Yay, another Notepad++ user.
I just got through editing an xml file for syntax highlighting (it would highlight key words, but not if they were followed immediately by a comma).
Yay, another Notepad++ user.
I just got through editing an xml file for syntax highlighting (it would highlight key words, but not if they were followed immediately by a comma).
#4
Posted 12 July 2008 - 04:15 AM
nice, please share.
Red Hat Dude, that's what made me stop using comas in functions :roll: , i hate that bug.
Red Hat Dude, that's what made me stop using comas in functions :roll: , i hate that bug.
#5
Posted 12 July 2008 - 04:30 AM
thats what immediately turned me off to Notepad++....I use SciTE
#6
Posted 13 July 2008 - 03:26 AM
Have just uploaded AHK Autohotkey.zip (8.58 kb - which contains AHK Autohotkey.xml) to directory ludamo on AutoHotkey.net. Thanks.
#7
Posted 13 July 2008 - 03:43 AM
Would you mind posting a link to make it easier for everyone to get to it?
#9
Posted 13 July 2008 - 07:38 AM
Sorry, I've been busy lately.
Here's the xml file (I copied a bunch of text, added commas to the ends of commands, and pasted it back in the original file -- it works fine for me).
http://www.autohotke...ineLangfile.zip
http://www.autohotke...fineLangfile.7z
And one for those who prefer black backgrounds:
http://www.autohotke...ineLangfile.zip
http://www.autohotke...fineLangfile.7z
I prefer a black background myself. BTW, if you want to edit the colors, all you gotta do is open the xml file with a text editor. The colors are in hex format, and can be found at the bottom of the file.
Here's the xml file (I copied a bunch of text, added commas to the ends of commands, and pasted it back in the original file -- it works fine for me).
http://www.autohotke...ineLangfile.zip
http://www.autohotke...fineLangfile.7z
And one for those who prefer black backgrounds:
http://www.autohotke...ineLangfile.zip
http://www.autohotke...fineLangfile.7z
I prefer a black background myself. BTW, if you want to edit the colors, all you gotta do is open the xml file with a text editor. The colors are in hex format, and can be found at the bottom of the file.
#10
Posted 17 July 2008 - 05:48 PM
Am I the only one who gets whacky colors with a line like...
Anytime you have a line with an unmatched %, everything gets screwed up as its waiting for the "%'s" matching pair.
Its really annoying. This is a problem for me with the default autohotkey Notepad++ script, but I'd love to have it fixed. Notepad++ is pretty much unusable to me without a fix, and I'm clueless about building a language file that resets the colors back to normal on the next line.
msgbox [color=orange]% Hi [color=orange]; this text and all text after the % will appear orange because it is waiting for the matching "%"[/color] [color=orange]msgbox Uh Oh`, this whole line will appear orange in the editor now[/color]
Anytime you have a line with an unmatched %, everything gets screwed up as its waiting for the "%'s" matching pair.
Its really annoying. This is a problem for me with the default autohotkey Notepad++ script, but I'd love to have it fixed. Notepad++ is pretty much unusable to me without a fix, and I'm clueless about building a language file that resets the colors back to normal on the next line.
#11
Red Hat Dude
Posted 18 July 2008 - 02:57 AM
Lol, I didn't even know that other editors didn't have that problem. I've tried other editors before, but I've only used Notepad++ and PSPad since I've found AutoHotkey. (And I didn't think too much of PSPad at the time.)
I have no idea how to fix it, but I've grown too attached to Notepad++ to switch editors.
Maybe if I have time I'll try to figure it out next weekend (my nieces and nephews visiting, plus my new job, pretty much eat up all my time...)
I have no idea how to fix it, but I've grown too attached to Notepad++ to switch editors.
Maybe if I have time I'll try to figure it out next weekend (my nieces and nephews visiting, plus my new job, pretty much eat up all my time...)
msgbox % Hi [color=orange] ; % Quick Fix :)
#12
Posted 18 July 2008 - 05:30 AM
I use PSPad all the time and have been shopping around for something different with collapsable code, but all that orange is really annoying and a dealbreaker. Thanks for putting in the effort.
#13
Posted 18 July 2008 - 07:01 AM
quick fix, look up the line
<Keywords name="Delimiters">%00%00</Keywords>and delete the %00%00 bit so you have an empty delimiters. It stops the highlighting of %A_index% as well but I don't mind...
#14
Posted 01 August 2008 - 11:58 AM
Sorry guys Im gonna ask a real n00b question now: how do I update the file if I copy in the new XML file I see nothing different? am I missing something?
#15
Posted 01 August 2008 - 01:39 PM
i was having the same problem myself. i would try to change syntax highlighting, and nothing would happen. frustrating!!
the problem is most likely that for your user, you need to use the %AppData% dir, not the program directory itself. try:
%Root%\Documents and Settings\%UserName%\Application Data\Notepad++\
the problem is most likely that for your user, you need to use the %AppData% dir, not the program directory itself. try:
%Root%\Documents and Settings\%UserName%\Application Data\Notepad++\




