开发者

Autocomplete syntax for HTML or PHP in Notepad++. Not auto-close, autocompelete

How can I get autocomplet开发者_运维技巧ion of syntax for HTML or PHP in Notepad++? Not auto-close, I am looking for autocompelete.


Go to:

Settings -> Preferences You will see a dialog box. There click the Backup / Auto-completion tab where you can set the auto complete option :)


In Notepad++ v. 6.4.1 is this possibility in:Settings->Preferences->Auto-Completion and there check Enable auto-completion on each input.

For auto-complete in code press Ctrl + Enter.


Press Ctrl + Space to get a autocomplete hint.


Go to:

Settings -> Preferences You will see a dialog box. There click the Auto-completion tab where you can set the auto complete option.See image below:

Autocomplete syntax for HTML or PHP in Notepad++. Not auto-close, autocompelete

If your code not detected automatically then you choose your coding language form Language menu


Settings->Preferences->Auto-Completion and there check Enable auto-completion on each input. Press Ctrl + Space to get a autocomplete hint. For auto-complete in code type the first letter then press Ctrl + Enter. all the inputs you have given will be listed.


Its supported in notepad++ 5.0+ but not enabled by default. You can enable it from settings -> preferences


If you want extended auto-completion for PHP (not only for the code in the current window or standard classes), try out the "ACCPC" plugin: https://github.com/StanDog/npp-phpautocompletion

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜