Raised This Month: $32 Target: $400
 8% 

Notepad++ AlliedModders Edition (unsupported for now)


Post New Thread Reply   
 
Thread Tools Display Modes
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 03-09-2012 , 05:08   Re: Notepad++ AlliedModders Edition
Reply With Quote #101

Quote:
Originally Posted by Arkshine View Post
Sadly not, you have to do it manually, and it's a pain. Like said in the todo list, making an external lexer in a plugin and we could make what we want, but not going to happen soon :p. The other solution is to fix Pawn Studio or using AMXX studio :p
Ouch. I have always been hoping for a Pawn IDE that would just display natives with documentation correctly like what Netbeans or Eclipse does with Java and C++. I tried creating a Netbeans module to support Pawn, but I didn't understand it. I would like to just create my own IDE, but it would be a lot of work to make it work and look good just to add in a simple function. I would love to create or find a lexer though. I really couldn't care less about the IDE telling me about syntax errors since none of the Pawn IDEs ever had any. I'm more concerned with auto-completion and highlighting (my life would suck without it).

I just thought this up while typing. What about creating a program that runs in the background that when you type something, it tries to parse it and auto-complete and display documentation. It would be otherwise redundant outside of programming, but I think it could work nicely. It would basically just display the information either as a tooltip, in a static message box (in the corner if your screen or something), at the cursor, or underneath the carrot.

The question is, how would this program add the methods into the table. I figure they might just be automatically loaded. Like you choose the directory of your includes folder and it parses everything. So it would auto-complete, even if the include isn't within your code. Still, I think it isn't too bad of an idea, and I don't believe it would be difficult to make.
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]

Last edited by Tirant; 03-09-2012 at 05:12.
Tirant is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-09-2012 , 05:17   Re: Notepad++ AlliedModders Edition
Reply With Quote #102

You can do it in a Np++ plugin for sure. That's your job now, waiting for a release in 1 week. .
__________________
Arkshine is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 03-09-2012 , 05:24   Re: Notepad++ AlliedModders Edition
Reply With Quote #103

Quote:
Originally Posted by Arkshine View Post
You can do it in a Np++ plugin for sure. That's your job now, waiting for a release in 1 week. .
I don't know enough C to get it done. I can however probably complete that idea I mentioned tomorrow if I get an hour or so. I really need to learn C...
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]

Last edited by Tirant; 03-09-2012 at 05:25.
Tirant is offline
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
Old 03-09-2012 , 19:14   Re: Notepad++ AlliedModders Edition
Reply With Quote #104

I played around with it for a bit to see if I could parse the default files somehow (because they seem to have the worse documentation). This is how it came out, so from here I think I might be able to put something together.

What I'm thinking is to basically just use whatever the default documentation is, but if it contains tags like "@param player", then it will handle those a bit differently. Since it's Java, the final tooltip would be compatible with HTML, so this will turn out to be very similar to Javadoc display. I might even be able to make something like "{@link plugin_init}", which would then give you a link so you could maybe click and view that native from another ones doc.

Edit: I was forced to give up. The problem was that it's kind of a pain to get user input when the program itself doesn't have the focus.
Attached Files
File Type: txt output_amxmodx.txt (39.8 KB, 217 views)
__________________

PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth [66% done]
Call of Duty: MW2 [100% done]
Base Builder [100% done]

Last edited by Tirant; 03-13-2012 at 16:57.
Tirant is offline
GwynBleidD
Junior Member
Join Date: Feb 2009
Old 04-04-2012 , 13:50   Re: Notepad++ AlliedModders Edition
Reply With Quote #105

When will be new version, based on Notepad++ 6.0?
GwynBleidD is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-04-2012 , 14:15   Re: Notepad++ AlliedModders Edition
Reply With Quote #106

Good you remind me to check new version because I would have totally forgot about np++ .

Will update asap.

EDIT : I might wait a bit, just seen author has commited bug fixes few days ago after the release, all related to the new doc map feature. He's going probably to release a new release soon.

EDIT2 : Actually that's not a stable version. I will wait the final release of this version.
__________________

Last edited by Arkshine; 04-05-2012 at 13:03.
Arkshine is offline
fanta110
Member
Join Date: May 2010
Old 04-15-2012 , 10:50   Re: Notepad++ AlliedModders Edition
Reply With Quote #107

Version 6.1 released. Need to update Alliedmods Edition.

Last edited by fanta110; 04-15-2012 at 10:51.
fanta110 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-15-2012 , 13:00   Re: Notepad++ AlliedModders Edition
Reply With Quote #108

Yes, seen. I've some trouble to compile. I'm on it anyway.
__________________
Arkshine is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-15-2012 , 15:53   Re: Notepad++ AlliedModders Edition
Reply With Quote #109

Updated to 6.1.


Notepad++ changes :

- Changelog of v6.0 : http://notepad-plus-plus.org/news/no...0-release.html
- Changelog of v6.1 : http://notepad-plus-plus.org/news/no...1-release.html

Plugins updated :

- Code Aligment v2.3
- FingerText v0.5.58
- NppExec v0.4.2.1


Tested fastly, and it seems to work fine.
Sorry for the delay.
__________________
Arkshine is offline
Old 05-08-2012, 12:58
AmineKyo
This message has been deleted by AmineKyo. Reason: The link worked after 2 Min
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-15-2012 , 08:23   Re: Notepad++ AlliedModders Edition
Reply With Quote #110

Updated to 6.1.3.


Notepad++ changes :

- Changelog of v6.1.2 : http://notepad-plus-plus.org/news/no...2-release.html
- Changelog of v6.1.3 : http://notepad-plus-plus.org/news/no...3-release.html

Plugins updated :

- SourceCookifier 0.7.3
- FingerText v0.6.1 (wiki)
- Notepad# 1.5.0


Tested fastly, and it seems to work fine.
Sorry for the delay.
__________________

Last edited by Arkshine; 06-15-2012 at 08:26.
Arkshine is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode