https://github.com/python1320/gmod-wiki-npp
Autocompleter for Notepadd++ for GMod. Scrapes wiki.garrysmod.com for the information
https://github.com/python1320/gmod-wiki-npp
Last synced: 2 months ago
JSON representation
Autocompleter for Notepadd++ for GMod. Scrapes wiki.garrysmod.com for the information
- Host: GitHub
- URL: https://github.com/python1320/gmod-wiki-npp
- Owner: Python1320
- License: mit
- Created: 2014-02-02T11:12:48.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-02T12:20:59.000Z (about 11 years ago)
- Last Synced: 2024-12-31T02:13:29.211Z (4 months ago)
- Homepage: http://wiki.garrysmod.com
- Size: 293 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gmod-wiki-npp
=============Scrapes http://wiki.garrysmod.com for useful autocomplete hints and tosses them into Notepad++ autocomplete format. This does NOT generate syntax highlighting.

## Usage Instructions
Download GMod Syntax Highlight plugin (http://code.google.com/p/npp-gmod-lua/) from Notepad++ plugin manager and update the xml file with this:
http://facepunch.com/showthread.php?t=1274235&p=43718059&viewfull=1#post43718059Save latest scrape https://github.com/Python1320/gmod-wiki-npp/raw/master/GMod%20Lua.xml
to Notepad++/plugins/APIs/ and enabled auto-complete on Settings->Preferences->Auto-Completion
## Scrape instructions
Install requirements and run scrape.py#### References
- http://sourceforge.net/apps/mediawiki/notepad-plus/?title=Auto_Completion
- http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=Editing_Configuration_Files#Autocompletion.2C_aka_API.2C_files
- http://code.google.com/p/npp-gmod-lua/#### Requirements
- python 2.7
- https://github.com/lxml/lxml
- https://github.com/earwig/mwparserfromhell
- https://github.com/mwclient/mwclient#### Bugs
- autocomplete list too big for notepad++ (takes multiple seconds to process)
- Does not parse/handle incomplete data
- This means not all functions get processed (about 10 in the current wiki)
- Does not cache wiki content#### TODO
- Enums Category
- Include Examples
- Add download caching
- Notepad++: Use RapidXML instead of TinyXML for speedup