Jump to content

OBSE syntax highlighting and autocomplete for Notepad++


movomo

Recommended Posts

There are times where you want/need to open up some script(s) on a text editor, not the construction set or extender.

This is what I've been using for some time for such purposes.

Also useful when editing .ini files.

 

Highlighting is roughly similar to the default CSE settings for consistency's sake.

comments are foldable.

autocomplete is supported for CS/OBSE functions (not plugins)

 

ini example:

post-39899-0-35509900-1408189708_thumb.jpg

 

script example:

post-39899-0-03704600-1408189710_thumb.jpg

 

limitaions:

Don't expect anything too fancy like the real IntelliSense as in CSE. Use CSE if you're into a serious thing.

Notepad++ doesn't fully support case-insensitive autocompletion yet. You must at least start with an uppercase, but some basic commands/keywards are totally lowercase - such as "eval" or "return".

 

install:

place "OBSE.xml" in your ..\plugins\APIs\ folder.

in the languages menu select "define your language.." and import the other xml file. You can delete this file afterwards.

don't forget to enable autocomplete in the preferences (both for functions and words - words autocompletion is needed for variables)

 

npp_udl21_OBSE_auto_complete_1.7z

 

This was made with UDL2.1, and should be compatible with Notepad++ 6.3 or higher.

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use