문제

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