search
Homephp教程PHP开发Notepad++的使用方法

关于Notepad++的优秀性能请看Notepad++介绍,这里简单介绍一下其使用方法,主要解决两点问题:

1、代码高亮显示的设置

2、在Notepad++中运行php脚本。


先看第一点问题,在安装好Notepad++后,打开它,然后在菜单栏的设置打开语言格式设置

如图所示:

Notepad++的使用方法

选择主题,我个人比较喜欢Black board,语言这里选“PHP”,在style项那里是关于php脚本相关背景、变量,函数颜色设置,你可以从色彩格式设置相关的颜色,还可以在字体格式设置字体的大小等。

关注细节,设置好后,我们新建一个文档,发现字体并没有高亮显示,原因是,你新建的并不是php文档,在文件打开那里打开一个php文档,就可以看到效果了。

下面是我设置好的代码高亮显示的截图

Notepad++的使用方法


再来看第二点,如何在Notepad++运行php脚本?

在菜单栏找到“运行”,打开“运行”如图所示

Notepad++的使用方法

然后在表单框粘贴如下命令:cmd /k D:\PhpServer\wamp\bin\php\php5.3.3\php.exe "$(FULL

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment