How could I make Notepad++ have an intellisense for CodeIgniter 2.0 so that if I press Ctrl + SpaceBar on the keyboard code suggestions would be shown?

有帮助吗?

解决方案

Here are the steps:

  • Use a User Defined Language derived from the PHP language given that Code Igniter is a PHP Framework.
  • If you want more advanced features and feel comfortable at coding, External Lexer is the way to go. It's a kind of specific Plugin mimicking built-in languages features. Install it.

Autocompletion is language based and has distinct API files for each language.

Notepad++ offers two types of auto completion:

  • Function Completion (providing a hint based on a list of well known keywords)
  • Word Completion (providing hint on words retrieved from the current file)

To trigger them, you must respectively select:

  • Edit->Auto-Completion->Function Completion
  • Edit->Auto-Completion->Word Completion

Notepad++ development community is a vibrant one, hopefully you find relevant indepth materials on the web.

其他提示

Here is a link that should explain everything you need to know to make your own user defined language wiki

And Here is a list of user defined languages repository of user created languages

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top