Notepad++ 中 HTML 或 PHP 的自动完成语法。不自动关闭,自动完成
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5049861/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Autocomplete syntax for HTML or PHP in Notepad++. Not auto-close, autocompelete
提问by Wasim A.
How can I get autocompletion of syntax for HTML or PHP in Notepad++? Not auto-close, I am looking for autocompelete.
如何在 Notepad++ 中自动完成 HTML 或 PHP 的语法?不是自动关闭,我正在寻找自动完成。
回答by Sarfraz
Go to:
去:
Settings -> PreferencesYou will see a dialog box. There click the Backup / Auto-completiontab where you can set the auto complete option :)
设置 -> 首选项您将看到一个对话框。单击备份/自动完成选项卡,您可以在其中设置自动完成选项:)
回答by prezervos
In Notepad++ v. 6.4.1 is this possibility in:Settings->Preferences->Auto-Completionand there check Enable auto-completion on each input.
在 Notepad++ v. 6.4.1 中是这种可能性:Settings->Preferences->Auto-Completion并检查Enable auto-completion on each input。
For auto-complete in code press Ctrl + Enter
.
要在代码中自动完成,请按Ctrl + Enter
。
回答by KillerFish
Press Ctrl + Space
to get a autocomplete hint.
按下Ctrl + Space
以获取自动完成提示。
回答by Sabbir
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:
设置 -> 首选项 您将看到一个对话框。单击自动完成选项卡,您可以在其中设置自动完成选项。见下图:
If your code not detected automatically then you choose your coding language form Languagemenu
如果未自动检测到您的代码,则选择您的编码语言表单语言菜单
回答by Vineesh Kalarickal
Settings->Preferences->Auto-Completionand there check Enable auto-completion on each input. Press Ctrl + Spaceto 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.
Settings->Preferences->Auto-Completion并在每个输入上勾选 Enable auto-completion。 按 Ctrl + Space以获得自动完成提示。要在代码中自动完成,请键入第一个字母,然后按Ctrl + Enter。您提供的所有输入都将被列出。
回答by shikhar
Its supported in notepad++ 5.0+ but not enabled by default. You can enable it from settings -> preferences
它在 notepad++ 5.0+ 中受支持,但默认情况下未启用。您可以从设置 -> 首选项启用它
回答by StanE
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
如果您想为 PHP 扩展自动完成功能(不仅是当前窗口或标准类中的代码),请尝试“ACCPC”插件:https: //github.com/StanDog/npp-phpautocompletion